Viktor Adam

Results 126 comments of Viktor Adam

Hi, Does your app use Flask at all? This library is for easy integration with Flask, otherwise you might want to check out the underlying Prometheus client library at https://github.com/prometheus/client_python

Excellent, thanks! I wasn't aware of that integration. You should be able to use this library then, which should give you the Prometheus client integration and basic HTTP metrics. For...

Sure, we can look at supporting that once https://github.com/prometheus/client_python does. I haven't checked whether it does already.

Hi @whatnick Have a look at a relevant test in `test_group_by.GroupByTest.test_group_by_func`. You can provide your own grouping function that groups requests by allowed query parameters for example (though I'd be...

See https://www.robustperception.io/cardinality-is-key about the cardinality problem. The tl;dr is that if you don't control the values you put in the metrics labels, your users can generate as many different values...

Yeah, that's a good idea! I can upload it later and put it in the README, or I'm happy to accept a PR from you if you'd like to do...

OK, thanks! I'll try to get to it this week and figure out how to do it. 🙂 Thanks a lot for the help!

I think it's in the repo at https://github.com/rycus86/prometheus_flask_exporter/blob/master/dashboards/flask_webapp.json - does this work?

Hi Mahesh, I'm not familiar with the AWS Prometheus workspace, not sure if that perhaps has some configuration that needs tweaking. The duplicate series error is a good lead of...

Hello! You could add decorators to non-Flask managed functions using the Prometheus client library that this project also depends on, then those metrics will also be available on the same...