mirror of
https://github.com/prometheus/prometheus.git
synced 2025-08-06 06:07:11 +02:00
Add documentation for 'NoTranslation' mode (#16470)
* Add documentation for 'NoTranslation' mode Signed-off-by: Arthur Silva Sens <arthursens2005@gmail.com> * Update docs/configuration/configuration.md Co-authored-by: Bartlomiej Plotka <bwplotka@gmail.com> Signed-off-by: Arthur Silva Sens <arthursens2005@gmail.com> --------- Signed-off-by: Arthur Silva Sens <arthursens2005@gmail.com> Co-authored-by: Bartlomiej Plotka <bwplotka@gmail.com>
This commit is contained in:
parent
7ec63b1fa1
commit
9659e30dec
@ -186,6 +186,16 @@ otlp:
|
||||
# - "NoUTF8EscapingWithSuffixes" is a mode that relies on UTF-8 support in Prometheus.
|
||||
# It preserves all special characters like dots, but still adds required metric name suffixes
|
||||
# for units and _total, as UnderscoreEscapingWithSuffixes does.
|
||||
# - (EXPERIMENTAL) "NoTranslation" is a mode that relies on UTF-8 support in Prometheus.
|
||||
# It preserves all special character like dots and won't append special suffixes for metric
|
||||
# unit and type.
|
||||
#
|
||||
# WARNING: The "NoTranslation" setting has significant known risks and limitations (see https://prometheus.io/docs/practices/naming/
|
||||
# for details):
|
||||
# * Impaired UX when using PromQL in plain YAML (e.g. alerts, rules, dashboard, autoscaling configuration).
|
||||
# * Series collisions which in the best case may result in OOO errors, in the worst case a silently malformed
|
||||
# time series. For instance, you may end up in situation of ingesting `foo.bar` series with unit
|
||||
# `seconds` and a separate series `foo.bar` with unit `milliseconds`.
|
||||
[ translation_strategy: <string> | default = "UnderscoreEscapingWithSuffixes" ]
|
||||
# Enables adding "service.name", "service.namespace" and "service.instance.id"
|
||||
# resource attributes to the "target_info" metric, on top of converting
|
||||
|
Loading…
Reference in New Issue
Block a user