You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-issues@hadoop.apache.org by "zhengchenyu (Jira)" <ji...@apache.org> on 2022/05/26 12:25:00 UTC

[jira] [Created] (HADOOP-18263) Prometheus metrics tag changed unexpectedly.

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: common-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: common-issues-help@hadoop.apache.org