io.gearpump.util
Metrics service to serve history metrics data
For simplicity, HistoryMetricsService will maintain 72 hours coarse-grained data for last 72 hours, and fine-grained data for past 5 min.
For the coarse-grained data of past 72 hours, one or two sample point will be stored for each hour.
For fine-grained data in last 5 min, there will be 1 sample point per 15 seconds.
Metrics service to serve history metrics data
For simplicity, HistoryMetricsService will maintain 72 hours coarse-grained data for last 72 hours, and fine-grained data for past 5 min.
For the coarse-grained data of past 72 hours, one or two sample point will be stored for each hour.
For fine-grained data in last 5 min, there will be 1 sample point per 15 seconds.