Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for callback metrics #170

Open
knyar opened this issue Apr 11, 2024 · 0 comments
Open

Add support for callback metrics #170

knyar opened this issue Apr 11, 2024 · 0 comments

Comments

@knyar
Copy link
Owner

knyar commented Apr 11, 2024

When gauge metric values can be set at collection time, we don't really need to store them in the shared dict or even in per-worker local state. For cases like this, it might be helpful to support metrics that call a function at collection time, similar to callback metrics in Java or custom collectors in Python.

More context: #168 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant