Skip to content

Commit

Permalink
add the version that deprecates instrumentation_scope_metadata_as_tags
Browse files Browse the repository at this point in the history
  • Loading branch information
keisku committed Jun 21, 2022
1 parent 7956d62 commit 44cd4f1
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion exporter/datadogexporter/config/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion exporter/datadogexporter/example/config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 44cd4f1

Please sign in to comment.