[ https://issues.apache.org/jira/browse/HADOOP-18263?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
zhengchenyu updated HADOOP-18263: --------------------------------- Description: 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|width=562,height=236! was: 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! > 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.2.1, 3.3.3 > Reporter: zhengchenyu > Priority: Major > 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|width=562,height=236! -- This message was sent by Atlassian Jira (v8.20.7#820007) --------------------------------------------------------------------- To unsubscribe, e-mail: common-issues-unsubscr...@hadoop.apache.org For additional commands, e-mail: common-issues-h...@hadoop.apache.org