You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[exporter/datadog] Deprecate service and version settings (open-telemetry#8784)
* [exporter/datadog] Deprecate `service` and `version` settings
* Add changelog entry
* [exporter/datadog] Remove Service and Version from tests
* Address review comment
* Fix lint
* Bump to v0.49.0
This won't make it into v0.48.0, so I updated the deprecation and removal versions
* Update CHANGELOG
Copy file name to clipboardExpand all lines: exporter/datadogexporter/config/config.go
+12Lines changed: 12 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -221,10 +221,14 @@ type TagsConfig struct {
221
221
Envstring`mapstructure:"env"`
222
222
223
223
// Service is the service for unified service tagging.
224
+
// Deprecated: [v0.49.0] Set `service.name` semconv instead, see https://github.com/open-telemetry/opentelemetry-collector-contrib/issues/8781 for details.
225
+
// This option will be removed in v0.52.0.
224
226
// It can also be set through the `DD_SERVICE` environment variable (Deprecated: [v0.47.0] set environment variable explicitly on configuration instead).
225
227
Servicestring`mapstructure:"service"`
226
228
227
229
// Version is the version for unified service tagging.
230
+
// Deprecated: [v0.49.0] Set `service.version` semconv instead, see https://github.com/open-telemetry/opentelemetry-collector-contrib/issues/8783 for details.
231
+
// This option will be removed in v0.52.0.
228
232
// It can also be set through the `DD_VERSION` environment variable (Deprecated: [v0.47.0] set environment variable explicitly on configuration instead).
deprecationTemplate:="%q has been deprecated and will be removed in %s. See https://github.com/open-telemetry/opentelemetry-collector-contrib/issues/%d"
Copy file name to clipboardExpand all lines: exporter/datadogexporter/example/config.yaml
+4Lines changed: 4 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -21,12 +21,16 @@ exporters:
21
21
22
22
## @param service - string - optional
23
23
## The service for unified service tagging.
24
+
## Deprecated: [v0.48.0] Set `service.name` semconv instead, see https://github.com/open-telemetry/opentelemetry-collector-contrib/issues/8781 for details.
25
+
## This option will be removed in v0.51.0.
24
26
## If unset it will be determined from the `DD_SERVICE` environment variable (Deprecated: [v0.47.0] set environment variable explicitly on configuration instead).
25
27
#
26
28
# service: myservice
27
29
28
30
## @param version - string - optional
29
31
## The version for unified service tagging.
32
+
## Deprecated: [v0.48.0] Set `service.version` semconv instead, see https://github.com/open-telemetry/opentelemetry-collector-contrib/issues/8783 for details.
33
+
## This option will be removed in v0.51.0.
30
34
## If unset it will be determined from the `DD_VERSION` environment variable (Deprecated: [v0.47.0] set environment variable explicitly on configuration instead).
0 commit comments