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
Basically, there should be a way to create a gauge that doesn't require a callback to be set. Perhaps there is some magic that one can do currently which allows this with ObservableGauge but I have not seen how. There are two main reasons I can think of for this feature.
compatibility with the metrics facade. Their implementation uses synchronous gauges so theoretically it would be possible to make a metrics-exporter-opentelemety. This is my current use case, and as far as I can tell this is unsolvable without this feature.
You have have a value that you keep track of that only changes during events, think the balance in a wallet. The observable gauge isn't great here since it doesn't update during the event. A counter would also be problematic in this situation for obvious reasons.
The text was updated successfully, but these errors were encountered:
@lalitb I swear I did a search for this and somehow didn't find anything. Thanks so much for the link that is exactly what I need to make this work! I'll close with this comment!
Basically, there should be a way to create a gauge that doesn't require a callback to be set. Perhaps there is some magic that one can do currently which allows this with
ObservableGauge
but I have not seen how. There are two main reasons I can think of for this feature.metrics
facade. Their implementation uses synchronous gauges so theoretically it would be possible to make ametrics-exporter-opentelemety
. This is my current use case, and as far as I can tell this is unsolvable without this feature.The text was updated successfully, but these errors were encountered: