prometheus_flask_exporter
prometheus_flask_exporter copied to clipboard
Prometheus exporter for Flask applications
Hello, It seems [Enum ](https://github.com/prometheus/client_python#enum) is not supported, or I'm using it the wrong way ?
Hi there, I recently started using prometheus for monitoring my flask applications, specifically using prometheus_flask_exporter. I found out that the current version of the exporter did not have a multiprocess...
I started multiple processes in the production environment over time 'PROMETHEUS_ MULTIPROC_ ‘ There will be more and more files under dir. How can I establish cleaning rules and the...
I have a flask app running and I am attempting to utilize this exporter. Below is part of the code with addition of the exporter. I am able to curl...
## How do I save only the information I need? I only need info about path count: `flask_http_request_duration_seconds_count{method="GET",path="/sanhe/products",status="200"} 2.0` how can I hidden following information in route /metrics: can I...
I'm wondering if it's possible to use the app factory pattern with the gunicorn multiprocess version of the exporter? My knowledge around the internals of the factory pattern are admittedly...
Hello. I am unsure if this is the right place to ask this question but I was wondering about how we can utilize the GunicornInternalPrometheusMetrics class while also being able...
Hi I have multiprocess enabled application, sometimes it is throwing below error File "usr/local/lib/python3.8/site-packages/prometheus_client/mmap_dict.py", line 44, in _read_all_values yield encoded_key.decode('utf-8'), value, pos UnicodeDecodeError: 'utf-8' codec can't decode byte 0xf0 in...
What's the best way to measure duration for streaming endpoints? If I'm not mistaken, the current latency measurements don't work for streaming responses. prometheus_flask_exporter measures the time to return the...
Took some time and testing to got this and one only after some testing found that is needed export the variable DEBUG_METRICS, this is a update suggestion on the README...