Re: prometheus variable value is "normalized"

2020-11-26 Thread Alexey Trenikhun
Thank you! From: Chesnay Schepler Sent: Wednesday, November 25, 2020 2:59:54 PM To: Alexey Trenikhun ; Flink User Mail List Subject: Re: prometheus variable value is "normalized" Essentially, we started with this behavior, and kept it to not brea

Re: prometheus variable value is "normalized"

2020-11-25 Thread Chesnay Schepler
Essentially, we started with this behavior, and kept it to not break existing Flink setups. You can disable the filtering of label values with the filterLabelValueCharacters setting. https://ci.apache.org/projects/flink/flink-docs-release-1.11/monitoring/metrics.html#prometheus-orgapacheflinkm

prometheus variable value is "normalized"

2020-11-25 Thread Alexey Trenikhun
Hello, I'm trying to expose version string as Prometheus user variable: runtimeContext.getMetricGroup() .addGroup("version", "0.0.3-beta.399+gf5b79ac") .gauge("buildInfo", () -> 0); the problem that for some reason label value 0.0.3-beta.399+gf5b79ac is converted into 0_0_3_beta_