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?