Skip to content
This repository was archived by the owner on Jul 16, 2024. It is now read-only.

Commit 1474e5c

Browse files
authored
chore(internal/observability): removed gcp detector which is not compatible (#24)
1 parent 5d1c688 commit 1474e5c

File tree

3 files changed

+0
-8
lines changed

3 files changed

+0
-8
lines changed

go.mod

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,6 @@ require (
4242
github.com/valyala/bytebufferpool v1.0.0
4343
go.etcd.io/etcd/api/v3 v3.5.9
4444
go.etcd.io/etcd/client/v3 v3.5.9
45-
go.opentelemetry.io/contrib/detectors/gcp v1.18.0
4645
go.opentelemetry.io/otel v1.17.0
4746
go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc v1.17.0
4847
go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracehttp v1.17.0
@@ -65,7 +64,6 @@ require (
6564
cloud.google.com/go/compute v1.23.0 // indirect
6665
cloud.google.com/go/compute/metadata v0.2.3 // indirect
6766
cloud.google.com/go/trace v1.10.1 // indirect
68-
github.com/GoogleCloudPlatform/opentelemetry-operations-go/detectors/gcp v1.18.0 // indirect
6967
github.com/GoogleCloudPlatform/opentelemetry-operations-go/internal/resourcemapping v0.43.1 // indirect
7068
github.com/andeya/ameda v1.5.3 // indirect
7169
github.com/andeya/goutil v1.0.1 // indirect

go.sum

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -46,8 +46,6 @@ git.sr.ht/~sbinet/gg v0.3.1/go.mod h1:KGYtlADtqsqANL9ueOFkWymvzUvLMQllU5Ixo+8v3p
4646
github.com/BurntSushi/toml v0.3.1/go.mod h1:xHWCNGjB5oqiDr8zfno3MHue2Ht5sIBksp03qcyfWMU=
4747
github.com/BurntSushi/xgb v0.0.0-20160522181843-27f122750802/go.mod h1:IVnqGOEym/WlBOVXweHU+Q+/VP0lqqI8lqeDx9IjBqo=
4848
github.com/DataDog/datadog-go v3.2.0+incompatible/go.mod h1:LButxg5PwREeZtORoXG3tL4fMGNddJ+vMq1mwgfaqoQ=
49-
github.com/GoogleCloudPlatform/opentelemetry-operations-go/detectors/gcp v1.18.0 h1:ugYJK/neZQtQeh2jc5xNoDFiMQojlAkoqJMRb7vTu1U=
50-
github.com/GoogleCloudPlatform/opentelemetry-operations-go/detectors/gcp v1.18.0/go.mod h1:Xx0VKh7GJ4si3rmElbh19Mejxz68ibWg/J30ZOMrqzU=
5149
github.com/GoogleCloudPlatform/opentelemetry-operations-go/exporter/trace v1.19.1 h1:lP8YpTi26Bei2OrXpQEUnNFPqKT6bTn3P8DvJC4i8WQ=
5250
github.com/GoogleCloudPlatform/opentelemetry-operations-go/exporter/trace v1.19.1/go.mod h1:g9zEQ45EhrGGA6HyCtxi8yL0BZ0vD+pVaqSkiLjVIzY=
5351
github.com/GoogleCloudPlatform/opentelemetry-operations-go/internal/cloudmock v0.43.1 h1:EA/FmSYRyeL2ZogHD8ZCPAt96UZh/U76wQjGhzRFEHE=
@@ -718,8 +716,6 @@ go.opencensus.io v0.22.3/go.mod h1:yxeiOL68Rb0Xd1ddK5vPZ/oVn4vY4Ynel7k9FzqtOIw=
718716
go.opencensus.io v0.22.4/go.mod h1:yxeiOL68Rb0Xd1ddK5vPZ/oVn4vY4Ynel7k9FzqtOIw=
719717
go.opencensus.io v0.24.0 h1:y73uSU6J157QMP2kn2r30vwW1A2W2WFwSCGnAVxeaD0=
720718
go.opencensus.io v0.24.0/go.mod h1:vNK8G9p7aAivkbmorf4v+7Hgx+Zs0yY+0fOtgBfjQKo=
721-
go.opentelemetry.io/contrib/detectors/gcp v1.18.0 h1:+JSl0FwhnhwDi+7bURY+79LuYI0HuI6nfeuhvMCKG2w=
722-
go.opentelemetry.io/contrib/detectors/gcp v1.18.0/go.mod h1:5klTFB1mPY1ar2ta/sHuOQvJhx2ODUvuIvXoXblFQPY=
723719
go.opentelemetry.io/contrib/propagators/b3 v1.17.0 h1:ImOVvHnku8jijXqkwCSyYKRDt2YrnGXD4BbhcpfbfJo=
724720
go.opentelemetry.io/contrib/propagators/ot v1.17.0 h1:ufo2Vsz8l76eI47jFjuVyjyB3Ae2DmfiCV/o6Vc8ii0=
725721
go.opentelemetry.io/otel v1.17.0 h1:MW+phZ6WZ5/uk2nd93ANk/6yJ+dVrvNWUjGhnnFU5jM=

internal/observability/resource.go

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@ import (
44
"context"
55

66
"github.com/sirupsen/logrus"
7-
"go.opentelemetry.io/contrib/detectors/gcp"
87
"go.opentelemetry.io/otel/sdk/resource"
98
semconv "go.opentelemetry.io/otel/semconv/v1.21.0"
109

@@ -24,7 +23,6 @@ func NewResource(ctx context.Context, serviceName string, systemConfig *conf.Sys
2423
}
2524

2625
return resource.New(ctx,
27-
resource.WithDetectors(gcp.NewDetector()),
2826
resource.WithFromEnv(),
2927
resource.WithTelemetrySDK(),
3028
resource.WithContainer(),

0 commit comments

Comments
 (0)