client_python icon indicating copy to clipboard operation
client_python copied to clipboard

Prometheus instrumentation library for Python applications

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

Hi, I use this method in combination with fastAPI in order to expose metrics over the API. The data come from a JSON file saved on Linux system (where the...

Prometheus now supports a new "Native Histograms" datatype. We should implement this here.

The remove function failed if the label aren't order in the alphabetical order. If they aren't, we have a KeyError. For exemple that failed : observ_thresholds = Gauge('thresholds', 'Seuil', ['host',...

Issue #588 describes a way to set a timestamp for a whole metric using a custom collector. However, this solution does not work if different timestamps for different labels are...

Was working on project where the value of my gauge was to be a datetime. No built in features. This is simple update and has been tested in production to...

We are occasionally getting an `ssl.SSLEOFError` when using the prometheus client with HTTPS (as of the new version 0.19.0). That error is raised in the server thread and because it...

The `tls_auth_handler` supports setting up a mTLS connection with the Prometheus push gateway, but I want only to verify the certificate of the server. In other words, I wish to...

I find metrics in my celery task will lead to memory leak. And I reproduced this problem issue locally. ``` import tracemalloc from prometheus_client import Counter counter_a = Counter('request_count_a', 'request...

bug

Currently `prometheus_client.exposition.write_to_textfile` doesn't support the OpenMetrics text format, which I'm addressing with this (private) hack: ```python from prometheus_client.openmetrics.exposition import ( generate_latest as generate_latest_openmetrics, ) from prometheus_client.registry import CollectorRegistry def write_openmetrics_to_textfile(path:...

As the title, why cant use quantile in summary? And why even support summary if cannot use quantile in it?