aboutsummaryrefslogtreecommitdiff
path: root/battering
diff options
context:
space:
mode:
Diffstat (limited to 'battering')
-rw-r--r--battering/packages/golang-xyz.scm34
1 files changed, 34 insertions, 0 deletions
diff --git a/battering/packages/golang-xyz.scm b/battering/packages/golang-xyz.scm
index 246a4a8..fc76c3f 100644
--- a/battering/packages/golang-xyz.scm
+++ b/battering/packages/golang-xyz.scm
@@ -311,3 +311,37 @@ implements the discovery service APIs defined in
(description "This is a utility library for communicating with the Google
Compute Engine metadata service on Google Cloud.")
(license license:asl2.0)))
+
+(define-public go-github-com-googlecloudplatform-opentelemetry-operations-go-detectors-gcp
+ (package
+ (name
+ "go-github-com-googlecloudplatform-opentelemetry-operations-go-detectors-gcp")
+ (version "1.25.0")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url
+ "https://github.com/GoogleCloudPlatform/opentelemetry-operations-go")
+ (commit (go-version->git-ref version
+ #:subdir "detectors/gcp"))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "1j026l2whpr9fz5y89wnqhik2p8dkbkhymp7f7bnrjw2syga3bh9"))))
+ (build-system go-build-system)
+ (arguments
+ (list
+ #:import-path
+ "github.com/GoogleCloudPlatform/opentelemetry-operations-go/detectors/gcp"
+ #:unpack-path
+ "github.com/GoogleCloudPlatform/opentelemetry-operations-go"))
+ (propagated-inputs (list go-github-com-stretchr-testify
+ go-cloud-google-com-go-compute-metadata))
+ (home-page
+ "https://github.com/GoogleCloudPlatform/opentelemetry-operations-go")
+ (synopsis "GCP Resource detection library")
+ (description
+ "This is a library intended to be used by Upstream @code{OpenTelemetry} resource
+detectors. It exists within this repository to allow for integration testing of
+the detection functions in real GCP environments.")
+ (license license:asl2.0)))