diff --git a/exporter/datadogexporter/config/config.go b/exporter/datadogexporter/config/config.go index 4a91c56f40c36..cee1463ed0c02 100644 --- a/exporter/datadogexporter/config/config.go +++ b/exporter/datadogexporter/config/config.go @@ -222,7 +222,7 @@ type MetricsExporterConfig struct { // resource attributes into metric labels, which are then converted into tags ResourceAttributesAsTags bool `mapstructure:"resource_attributes_as_tags"` - // Deprecated: Use InstrumentationScopeMetadataAsTags instead in favor of https://github.com/open-telemetry/opentelemetry-proto/releases/tag/v0.15.0 + // Deprecated: [0.54.0] Use InstrumentationScopeMetadataAsTags instead in favor of https://github.com/open-telemetry/opentelemetry-proto/releases/tag/v0.15.0 // Both must not be enabled at the same time. // InstrumentationLibraryMetadataAsTags, if set to true, adds the name and version of the // instrumentation library that created a metric to the metric tags diff --git a/exporter/datadogexporter/example/config.yaml b/exporter/datadogexporter/example/config.yaml index 8e38d65f889ab..565d687c42a8d 100644 --- a/exporter/datadogexporter/example/config.yaml +++ b/exporter/datadogexporter/example/config.yaml @@ -132,7 +132,7 @@ exporters: # # resource_attributes_as_tags: false - ## Deprecated: use instrumentation_scope_metadata_as_tags instead in favor of + ## Deprecated: [0.54.0] use instrumentation_scope_metadata_as_tags instead in favor of ## https://github.com/open-telemetry/opentelemetry-proto/releases/tag/v0.15.0 ## Both must not be enabled at the same time. ## @param instrumentation_library_metadata_as_tags - string - optional - default: false diff --git a/exporter/datadogexporter/internal/model/translator/config.go b/exporter/datadogexporter/internal/model/translator/config.go index 5246f28034085..d20a95c45223d 100644 --- a/exporter/datadogexporter/internal/model/translator/config.go +++ b/exporter/datadogexporter/internal/model/translator/config.go @@ -23,7 +23,7 @@ type translatorConfig struct { Quantiles bool SendMonotonic bool ResourceAttributesAsTags bool - // Deprecated: Use InstrumentationScopeMetadataAsTags instead in favor of + // Deprecated: [0.54.0] Use InstrumentationScopeMetadataAsTags instead in favor of // https://github.com/open-telemetry/opentelemetry-proto/releases/tag/v0.15.0 // Both must not be enabled at the same time. InstrumentationLibraryMetadataAsTags bool