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
Update here after chatting with @epociask: seems like prometheus doesn't make it easy to Get the value of some counter/gauge (unlike VictoriaMetrics, see here). Furthermore the way they propose (using https://github.com/prometheus/client_model) is deprecated... so not sure what's the recommended way to do this in 2024.
Another way is to use some internal atomic variable, which we increment and use in code, and then wrap that and expose it to prometheus via a CounterFunc (see here).
No description provided.
The text was updated successfully, but these errors were encountered: