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
How to export an absolute counter metric using the Count method?
My Go application uses a third-party package that exposes an internal metric cache_hits that gets incremented whenever a cache hits occurs.
It behaves as an ever growing int64.
Timestamp
Value
1
4
2
15
3
101
4
107
For timestamp 2, should I Count() the metric as its absolute value or as its delta from timestamp 1 ?
Count("cache_hits", 15, tags, 1) // absolute at 2
or
Count("cache_hits", 11, tags, 1) // delta from 1 to 2
The text was updated successfully, but these errors were encountered:
How to export an absolute counter metric using the Count method?
My Go application uses a third-party package that exposes an internal metric
cache_hits
that gets incremented whenever a cache hits occurs.It behaves as an ever growing int64.
For timestamp 2, should I Count() the metric as its absolute value or as its delta from timestamp 1 ?
or
The text was updated successfully, but these errors were encountered: