[ https://issues.apache.org/jira/browse/HADOOP-18263?focusedWorklogId=775485&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-775485 ]
ASF GitHub Bot logged work on HADOOP-18263: ------------------------------------------- Author: ASF GitHub Bot Created on: 27/May/22 13:42 Start Date: 27/May/22 13:42 Worklog Time Spent: 10m Work Description: zhengchenyu opened a new pull request, #4363: URL: https://github.com/apache/hadoop/pull/4363 ### Description of PR https://issues.apache.org/jira/browse/HADOOP-18263 ### How was this patch tested? unitest and test in our cluster manully ### For code changes: After apply this PR, we can filter some metric which will transform to tag. For example, totalsynctimes. Issue Time Tracking ------------------- Worklog Id: (was: 775485) Remaining Estimate: 335h 50m (was: 336h) Time Spent: 10m > 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 > > Original Estimate: 336h > Time Spent: 10m > Remaining Estimate: 335h 50m > > 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