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

Puma metrics middleware #67

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

Conversation

mhoofman
Copy link

@mhoofman mhoofman commented Aug 9, 2024

As described in the added README.md documentation:

This allows for an alternative method to collect metrics. The middleware fetches stats from the Puma control app and parses them into Prometheus metrics. This is useful when your application already provides a metrics endpoint.

For our use case, we wanted a way to integrate the Puma metrics into an already existing /metrics endpoint that was already set up and being scraped by Prometheus.

This middleware should work for any rack-based applications. This was tested with a Rails application.

I look forward to any feedback. Thanks for your consideration.

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