You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[native] Fix recording of SUM type in PrometheusStatsReporter
For SUM type worker metrics, the corresponding type in
`PrometheusStatsReporter` is `prometheus::Gauge`.
For these metrics, each time they are recorded (via
`RECORD_METRIC_VALUE`), a "delta" is passed in, so `Gauge::Increment()`
should be used in `PrometheusStatsReporter` instead of `Gauge::Set()`
(which overwrites the old value).
0 commit comments