romange / gaia

C++ framework for rapid server development
https://romange.github.io/gaia/
BSD 2-Clause "Simplified" License
76 stars 14 forks source link

merge MapperExecutor::GetStats and metric_map_ logic #36

Open romange opened 4 years ago

romange commented 4 years ago

Currently GetStats is monitoring only and is not dumped into logs.

On the other hand metricmap is customizable, accessible by users but not exposed in varz.

  1. We should move all the metrics provided in GetStats to metricmap.
  2. GetStats should expose metricmap.
romange commented 4 years ago

Pipeline should allow saving all the metrics exposed in metric map via SaveMetricMap() method after the pipeline run.