Uploaded image for project: 'Phoenix'
  1. Phoenix
  2. PHOENIX-5717

Phoenix Global Client Metrics are only increased In QueryServer

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • None
    • None
    • None

    Description

      After PHOENIX-1819  Phoenix Client Metrics are added  After  PHOENIX-3655 PQS Metics is exported to Hadoop-Metrics as Gauge Metrics.

      However  these metrics  are increased only and never reset when export to  hadoop metirc system. 

      In our online cluster,  QueryServer is deployed as a standalone process,when exposed these metrics to ganglia, we found these metrics is  never decreased.

      We may change  org.apache.phoenix.monitoring.GlobalClientMetrics.PhoenixGlobalMetricGauge#getValue  to use average value for metrics system, but it's no enough.

      when  talk about  read/write stats,   we also need TPS, RT( including avg, max, min, 99th etc.),  batch size.

       

      So  i think we can introduce Histogram Metric to our monitor system,  See patch for Mutation Metrics  a example。

       

      has any suggestions?

       

       

       

      Attachments

        1. phoenix-histogram-metric.patch
          43 kB
          junfei liang

        Activity

          People

            Unassigned Unassigned
            fly2best junfei liang
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: