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

Browsing through the code I've found a function called `write_to_textfile` in the `exposition` module. This function signature looks like this: ```python def write_to_textfile(path, registry): """Write metrics to the given path....

I have a FastApi application with a middleware to have a small level of security: ``` @app.middleware("http") async def machine_key_validation(request: Request, call_next): valid = False //always false for the sake...

This makes the `_child_samples()` callback that `Gauge.set_function` genereates stash the callback's value in the `_value`, so that you can make a callback-based Gauge in a subprocess and expect it to...

I have a use case where I need to remove certain sub-metrics from a labeled metric. Ideally I could remove a bunch of them with a wildcard filter. The idea...

Referring back to this thread: https://github.com/prometheus/client_python/issues/157 I wanted to know if there's a way to use the function decorator syntax with labels that will be instantiated at a later point?...

Hi, I am currently working on Prometheus metrics for Celery workers in Flower project and we use this wonderful library :) - thx for your work on it! One issue...

AFAIU currently there's no handler in the library to handle `push_to_gateway()` calls to an AWS-based pushgateway which needs the access key, secret key and all that good stuff. I saw...

I'm using the library (v 0.9.0) with multiprocess and I'm getting duplicated metric types. Getting the prometheus metrics I got this: # HELP custom_metric_1 Multiprocess metric # TYPE custom_metric_1 gauge...

twisted 21.2.0 and just normal build, install and test cycle used on building package from non-root account: - "setup.py build" - "setup.py install --root " - "pytest with PYTHONPATH pointing...

help wanted

Hi all, First of all sorry if the question is kinda stupid, I would not ask if the answer was evident somewhere to me, but I'm interested to find out...