zhengchenyu created HADOOP-18263:
------------------------------------
Summary: Prometheus metrics tag changed unexpectedly.
Key: HADOOP-18263
URL: https://issues.apache.org/jira/browse/HADOOP-18263
Project: Hadoop Common
Issue Type: Improvement
Components: metrics
Affects Versions: 3.3.3, 3.2.1
Reporter: zhengchenyu
Attachments: 截屏2022-05-26 下午8.15.50.png
Prom web print metrics like below
{code:java}
fs_namesystem_blocks_total{context="dfs",enabledecpolicies="RS-6-3-1024k",hastate="active",totalsynctimes="10
43 ",hostname="xxx"} 3674006 {code}
getTotalSyncTimes return String, so totalsynctimes will change to tag.
It is difficult to show in grafana. We may get wrong panel, though only one
metric is set.
!截屏2022-05-26 下午8.15.50.png!
--
This message was sent by Atlassian Jira
(v8.20.7#820007)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]