Skip to content

ObservableGauge hardcoded to sample once per minute? #3422

Answered by cijothomas
rurounijones asked this question in Q&A
Discussion options

You must be logged in to vote

Observable instrument callbacks are performed along with collection. If the collection (or exporter) interval is 30 secs, then Observable instrument callbacks are performed every 30 secs. So depending on the exporter you use, you can control the export internal, and hence call back frequency.

For pullbased (Prometheus), callbacks occur only when the scrape request comes.

(There is no ability to have different frequencies for Observable instrument callback invocation and Exporting. This was discussed in the spec, but was decided to be not included in initial version.)

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@rurounijones
Comment options

Answer selected by rurounijones
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants