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 the kvictoria plug-in to provide metrics #881

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

vrischmann
Copy link

This adds a plug-in to provide metrics using the VictoriaMetrics/metrics library as discussed in #875

It's based on the kprom plug-in although I decided to not provide any option other than the possibility to set the subsystem: in my experience, every metrics available in the hooks are useful and I see no point in not including them (and if a user doesn't want some metrics they can drop them during scraping).

There's no change needed in kgo but like I mentioned in #875, the PR #820 will be useful for this plug-in too because I'll be able to use the client id in more metrics; right now I can only use the client id in the various gauges tracking what's buffered.

I tested this locally with a small test program, a VictoriaMetrics instance that scrape it and a grafana dashboard to see if the metrics make sense. I can provide that if needed; as far as I can tell everything looks good.

Let me know if you have any question.

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.

1 participant