client_python
client_python copied to clipboard
Prometheus instrumentation library for Python applications
This change makes it so that the RestrictedRegistry will always attempt to collect metrics from a collector for which it couldn’t find any metrics name. This is meant to be...
Pushgateway (version >= 1.5.0) supports gzip and snappy compression (v > 1.6.0). This helps optimizing in network constrained environments - Add a single `compression` argument (gzip/snappy) to `push_to_gateway` and `pushadd_to_gateway`...
Fixes #1088 Finally got the time to propose what I had in mind :) I added a utility view for easy inclusion of a metrics endpoint inside a Django project....
Hello! I was working with the prometheus_client python library and I noticed that there isn't a method for removing all collectors on a CollectorRegistry instance. Yet there is a method...
Hello! I hit an issue with a metric which has no labels invoking `clear()`. We fail on self._lock no existing. Turns out it was not created because there are no...
Addresses a problem from [issue 1127](https://github.com/prometheus/client_python/issues/1126) for Windows/WSL users concerning `PROMETHEUS_MULTIPROC_DIR` path. (Also fixed some grammar issues in multiprocess documentation)
I ran into relatively esoteric issue when using `MultiProcessCollector` on a Windows Subsystem for Linux installation. I don't know that I would consider it a bug or anything that necessarily...
Hello, I noticed (see https://github.com/prometheus/client_python/issues/902#issuecomment-3013566209 for example ) that when - having a metric defined without a label - multiprocess mode is enabled (i.e. `PROMETHEUS_MULTIPROC_DIR` is set ) - an...
Native histograms should be emitted only when OM 2.0 is requested