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

RESTfulPrometheusMetrics with gunicorn #120

Open
hustxx opened this issue Feb 7, 2022 · 5 comments
Open

RESTfulPrometheusMetrics with gunicorn #120

hustxx opened this issue Feb 7, 2022 · 5 comments

Comments

@hustxx
Copy link

hustxx commented Feb 7, 2022

Do we support RESTfulPrometheusMetrics with gunicorn? Is there an example how to set the metrics?

@rycus86
Copy link
Owner

rycus86 commented Feb 8, 2022

I don't think there's an example at the moment, tried looking through the https://github.com/rycus86/prometheus_flask_exporter/tree/master/examples
Maybe it should be composable, I think we should be able to make it work potentially with some small changes.

Do you have an example app or a minimal example with restful and gunicorn we could test against?

@Pad0y
Copy link

Pad0y commented Sep 14, 2023

I also encountered the same problem, the main program is flask-restful extension written and deployed using gunicron, I want to collect some API metrics, then should use RESTfulPrometheusMetrics or GunicornInternalPrometheusMetrics? Looking forward to your reply.

@rycus86
Copy link
Owner

rycus86 commented Sep 15, 2023

Hey @Pad0y
Same as above, a minimal example app would be great, so we can figure things out from there for your setup.

@Kolovatoff
Copy link

Yes, I am also interested in this question!

@rycus86
Copy link
Owner

rycus86 commented Jan 29, 2024

Hey @Kolovatoff
Same as above, a minimal example app would be great, so we can figure things out from there for your setup.

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

4 participants