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

New metric for relay lines total #427

Closed
pedro-stanaka opened this issue Apr 5, 2022 · 2 comments
Closed

New metric for relay lines total #427

pedro-stanaka opened this issue Apr 5, 2022 · 2 comments

Comments

@pedro-stanaka
Copy link
Contributor

pedro-stanaka commented Apr 5, 2022

I wanted to compare how many lines are being ingested by statsd_exporter and how many lines are being forwarded (except for long lines), but it seems like currently we do not have a metric for how many lines we are relaying. I would expect an increment here: https://github.com/prometheus/statsd_exporter/blob/master/pkg/relay/relay.go#L138-L155.

I was wondering if I am missing something, and if not, can we add this new metric. I would be inclined to contribute, but wanted to hear from the maintainers first.

@matthiasr
Copy link
Contributor

Yes, that's a good idea! I would be happy to have this 😃

@matthiasr
Copy link
Contributor

Done in #434

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

No branches or pull requests

2 participants