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

Serve Prometheus metrics in non-"db serve" process #5551

Open
philrz opened this issue Dec 27, 2024 · 0 comments
Open

Serve Prometheus metrics in non-"db serve" process #5551

philrz opened this issue Dec 27, 2024 · 0 comments

Comments

@philrz
Copy link
Contributor

philrz commented Dec 27, 2024

tl;dr

Right now Prometheus metrics are only made available on http://localhost:9867/metrics if running super db serve. It would be helpful if we had an option to open this up even when running super in regular, non-db serve mode, as this would allow for things like getting per-second memory/heap usage stats when studying vector runtime performance.

Details

At the time this issue is being opened, super is at commit 4084e01.

When I asked the team about this, @mattnibs offered tips the code to add this as a one-off hack, and I've done this successfully on the prometheus-hack branch. I'll keep that branch around in case I or a user should want to apply the commit on a one-off basis. However, if someone could add this as an official flag so it could easily be enabled whenever needed that would be great.

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

No branches or pull requests

1 participant