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

Unmerged PRs #10 and #11 #1

Open
wants to merge 4 commits into
base: main
Choose a base branch
from
Open

Conversation

kp-mariappan-ramasamy
Copy link
Owner

This PR is to track the fixes needed for dogstatsd from unmerged PRs:

dialtone#10
dialtone#11

If we want to use multiple fixes, cargo patch using github PR branch will not work.
Since the repo dialtone/metrics-exporter-dogstatsd looks unmaintained, we need to fork it if we want to use it.

For now, have this PR to use multiple unmerged PRs needed

ijc added 4 commits November 19, 2024 09:55
metrics-rs/metrics@metrics-v0.21.1...metrics-v0.22.0

There are some breaking changes:

- metrics-rs/metrics#414 Added a generic recorder to
`SetRecorderError` and removed `set_boxed_recorder`
- metrics-rs/metrics#380 Added metadata to the metrics
metrics-rs/metrics@metrics-v0.22.0...metrics-v0.23.0

The breaking change is an MSRVV bump to 1.70.0 (from 1.65.0)
0 is a valid value for a gauge or a counter (e.g. "number of active sessions"
can easily be zero and that state is distinct from is distinct 1) and zero
samples in a period is legit for a histogram over an interval.

For gauges we should also not reset to zero on each render, but we should
continue to do so for counters.

Suppression of idle metrics should be done using `StatsdBuilder::idle_timeout`.

Fixes dialtone#5
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