diff --git a/exporter/signalfxexporter/internal/translation/constants.go b/exporter/signalfxexporter/internal/translation/constants.go index 87b1a7959dca..e6f43ecc89b7 100644 --- a/exporter/signalfxexporter/internal/translation/constants.go +++ b/exporter/signalfxexporter/internal/translation/constants.go @@ -8,19 +8,6 @@ package translation // import "github.com/open-telemetry/opentelemetry-collector // Keep it in YAML format to be able to easily copy and paste it in config if modifications needed. const DefaultTranslationRulesYaml = ` translation_rules: -# drops opencensus.resourcetype dimension from metrics generated by receivers written -# using OC data structures. This rule can be removed once the k8s_cluster and kubeletstats -# receivers have been refactored to use pmetric.Metrics. These dimensions are added as a -# result of the conversion here https://github.com/open-telemetry/opentelemetry-collector/blob/v0.22.0/translator/internaldata/oc_to_resource.go#L128. -# Dropping these dimensions will ensure MTSes aren't broken when the receivers are -# refactored and this resource type dimension will cease to exist. -- action: drop_dimensions - metric_name: /^(k8s\.|container\.).*/ - dimension_pairs: - opencensus.resourcetype: - k8s: true - container: true - - action: copy_metrics mapping: # kubeletstats container cpu needed for calculation below