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 dedicated endpoints for each collector #98

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

MaJaHa95
Copy link

@MaJaHa95 MaJaHa95 commented Aug 8, 2024

Fixes #97

Consistent with my feature request, I added endpoints for each collector:

  • /metrics/client
  • /metrics/controller
  • /metrics/device
  • /metrics/port

While maintaining backwards compatibility with /metrics as before.

I appreciate your review--I'm not very familiar with the Prometheus library, and there might be nuances or a better way to achieve this. I've deployed it in my own environment and it seems to work, but I'm certainly open to better alternatives.

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.

[Feature Request] Option to filter collectors for multiple requests
1 participant