client_python icon indicating copy to clipboard operation
client_python copied to clipboard

Prometheus instrumentation library for Python applications

Results 179 client_python issues
Sort by recently updated
recently updated
newest added

The [prometheus docs](https://prometheus.io/docs/instrumenting/writing_exporters/#scheduling) on exporters say: > Metrics should only be pulled from the application when Prometheus scrapes them, exporters should not perform scrapes based on their own timers. That...

I've been trying to use multiprocessing mode but I'm struggling to make it work properly. Even though I set the multiprocess directory, no metric writes any files. I've checked for...

Hello I spent days searching for CPU issue in my Dynatrace Python extension (which is basicaly a prometheus scraper for a Solace prometheus exporter). I finally noticed a big performance...

For the sake of separation of concerns, this PR focuses only on the OM exposition format for native histograms and it does so by mocking native histograms in tests i.e....

Hey folks, I have a similar setup to what is described [here](https://prometheus.github.io/client_python/exporting/http/fastapi-gunicorn/). The only difference is that I have nginx in front talking to gunicorn over sockets, but I don't...

Hello, I was thinking it would be great to add explicit support for Django. Besides updating the documentation, it would be useful to provide a view so it can be...

So I need to obtain some metrics from a database and I'm planning to create a custom collector as described here: http://prometheus.github.io/client_python/collector/custom/ I use asyncpg to connect to PostgreSQL. My...

Hi, In #91 years ago, it was decided to add the `decorator` to fix a problem. Back then choices was made to not add a new dependency, but really bundle...

I am studying how to use Prometheus in multiprocessing python code (without Gunicorn). For now i came to following simple example with two child processes: ```python from multiprocessing import Process...

Initial support for allowing users to create native histograms. The initial implementation directly exposes the initial schema version rather than a factor, and we can provide guidance for choosing a...