File tree Expand file tree Collapse file tree 1 file changed +11
-2
lines changed Expand file tree Collapse file tree 1 file changed +11
-2
lines changed Original file line number Diff line number Diff line change @@ -53,7 +53,11 @@ scrape_configs:
53
53
metric_name_validation_scheme : legacy
54
54
` ` `
55
55
56
- Scrape config settings override the global setting.
56
+ Scrape config settings override the global setting. If a scrape config
57
+ validation is set but the escaping scheme is not set, the escaping scheme will
58
+ be inferred from the validation scheme. This allows users to set only
59
+ metric_name_validation_scheme in scrape configs without also having to specify a
60
+ metric_name_escaping_scheme.
57
61
58
62
### Scrape Content Negotiation for UTF-8 escaping
59
63
@@ -96,7 +100,12 @@ configuration as follows:
96
100
97
101
otlp :
98
102
# Ingest OTLP data keeping UTF-8 characters in metric/label names.
99
- translation_strategy : NoUTF8EscapingWithSuffixes
103
+ translation_strategy : NoTranslation
104
+
105
+ Note that when not appending type and unit suffixes, if there are two metrics
106
+ with the same name but differing type or unit, those metrics will collide in
107
+ Prometheus. Once Prometheus has native support for type and unit metadata this
108
+ issue will go away.
100
109
101
110
102
111
See [OpenTelemetry guide](/docs/guides/opentelemetry) for more details.
You can’t perform that action at this time.
0 commit comments