Uploaded image for project: 'Hadoop Common'
  1. Hadoop Common
  2. HADOOP-15657

Registering MutableQuantiles via Metric annotation

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.10.0, 3.2.0, 3.3.0
    • Component/s: metrics
    • Labels:
      None
    • Hadoop Flags:
      Reviewed

      Description

      Currently when creating new metrics we use @Metric annotation for registering the MutableMetric i.e

      @Metric
      private MutableInt foobarMetricCount
      

      However,  there's no support for registering MutableQuantiles via Metric annotation, hence creating this Jira to register MutableQuantiles via Metric annotation. 

      Example:

       

      @Metric(about = "async PUT entities latency", valueName = "latency", interval = 10)
      private MutableQuantiles foobarAsyncLatency;
       
      

       

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Sushil-K-S Sushil Ks
                Reporter:
                Sushil-K-S Sushil Ks
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: