junfei liang created PHOENIX-5717: ------------------------------------- Summary: Phoenix Global Client Metrics are only increased In QueryServer Key: PHOENIX-5717 URL: https://issues.apache.org/jira/browse/PHOENIX-5717 Project: Phoenix Issue Type: Improvement Reporter: junfei liang Attachments: phoenix-histogram-metric.patch
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? -- This message was sent by Atlassian Jira (v8.3.4#803005)