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 prometheus end-point #85

Closed
proffalken opened this issue Jul 19, 2021 · 0 comments · Fixed by #101
Closed

Add prometheus end-point #85

proffalken opened this issue Jul 19, 2021 · 0 comments · Fixed by #101
Labels
feature-request Request for new features to be added

Comments

@proffalken
Copy link
Contributor

Many of us use Prometheus to monitor the rest of our infrastructure, it would be great to include a /metrics endpoint so we can scrape the various results for each site monitored

I'm a python guy, not a Node developer, and I'm struggling to understand how Vue hangs together, but in essence you'd want to add https://github.com/siimon/prom-client to the project and then setup custom metrics

I'd recommend converting the Friendly Name to lower-case and replacing any special characters with underscores, then add that as a custom label so we can either pull just the individual metrics out or sum the whole lot very easily.

If this does get added, then #84 could add the remote executor name as a custom label as well, providing the ability to split the metrics based on target name, remote executor, or anything else that gets added in future.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature-request Request for new features to be added
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants