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

Observer of gauge values. #45

Closed
wants to merge 6 commits into from

Conversation

mixalturek
Copy link
Contributor

Work in progress, nothing that can be merged...

- Use `MetricValue` instead of `isize`.
- Cancel handle in example.
- Configurable thread name.
src/bucket/atomic.rs Outdated Show resolved Hide resolved
- If multiple callbacks are registered under the same conflicting key, only the last one will survive.
- It would be especially bad if the callback was re-registered periodically. The memory would increase and even all historical callbacks would be executed during each iteration.
@fralalonde
Copy link
Owner

Superseded by #50

@fralalonde fralalonde closed this Apr 9, 2019
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

Successfully merging this pull request may close these issues.

2 participants