Prometheus output replaces "/" to "_" #2937
Labels
bug
unexpected problem or unintended behavior
regression
something that used to work, but is now broken
Milestone
Bug report
Starting from release
1.3.2
there is functionsanitize
in packageprometheus_client
which replaces anything but^a-zA-Z0-9_
to_
./
is not included ininvalidNameCharRE
, so all filesystem mounts looks like_var_lib_postgresql
which is confusing.Relevant telegraf.conf:
System info:
Steps to reproduce:
Expected behavior:
To return
/
as/
Actual behavior:
All slashes replaced with underscores
The text was updated successfully, but these errors were encountered: