[
https://issues.apache.org/jira/browse/HADOOP-18263?focusedWorklogId=777487&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-777487
]
ASF GitHub Bot logged work on HADOOP-18263:
-------------------------------------------
Author: ASF GitHub Bot
Created on: 02/Jun/22 12:36
Start Date: 02/Jun/22 12:36
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: 777487)
Remaining Estimate: 335h 10m (was: 335h 20m)
Time Spent: 50m (was: 40m)
> 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
> Labels: pull-request-available
> Attachments: 截屏2022-05-26 下午8.15.50.png
>
> Original Estimate: 336h
> Time Spent: 50m
> Remaining Estimate: 335h 10m
>
> 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: [email protected]
For additional commands, e-mail: [email protected]