Open agile6v opened 1 year ago
We encountered the following case, Exporter caused confusion in the label format. So the replacement should only contain metric name, not label name.
Input: zk_write_per_namespace{key="solrcloud7",quantile="0.5"} 141.0 Output: zk_write_per_namespace{key="solrcloud7"_quantile="0_5",zk_host="localhost:2181"} 141.0
zk_write_per_namespace{key="solrcloud7",quantile="0.5"} 141.0
zk_write_per_namespace{key="solrcloud7"_quantile="0_5",zk_host="localhost:2181"} 141.0
We encountered the following case, Exporter caused confusion in the label format. So the replacement should only contain metric name, not label name.
Input:
zk_write_per_namespace{key="solrcloud7",quantile="0.5"} 141.0
Output:zk_write_per_namespace{key="solrcloud7"_quantile="0_5",zk_host="localhost:2181"} 141.0