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 "Fengnan Li (Jira)" <ji...@apache.org> on 2021/03/26 21:53:00 UTC

[jira] [Created] (HADOOP-17604) Separate string metric from tag in hadoop metrics2

Fengnan Li created HADOOP-17604:
-----------------------------------

             Summary: Separate string metric from tag in hadoop metrics2
                 Key: HADOOP-17604
                 URL: https://issues.apache.org/jira/browse/HADOOP-17604
             Project: Hadoop Common
          Issue Type: Improvement
          Components: common
            Reporter: Fengnan Li
            Assignee: Fengnan Li
         Attachments: Screen Shot 2021-03-26 at 2.50.08 PM.png

Right now in hadoop metrics2, String metrics from method are categorized as tag (v.s. metrics as other number types), this caused later when reporting beans, it will add a prefix "tag." before the metric name.

It will be cleaner if we have another child inherit MutableMetric for string (maybe MutableText?) thus the String metrics from method can get rid of the tag.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: common-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: common-issues-help@hadoop.apache.org