aioprometheus icon indicating copy to clipboard operation
aioprometheus copied to clipboard

A Prometheus Python client library for asyncio-based applications

Results 18 aioprometheus issues
Sort by recently updated
recently updated
newest added

prints python information ``` $ curl http://localhost:8000/metrics # HELP python_info Python platform information # TYPE python_info gauge python_info{implementation="cpython",major="3",minor="10",patchlevel="5",system="linux",version="3.10.5 (main, Jun 9 2022, 00:00:00) [GCC 12.1.1 20220507 (Red Hat 12.1.1-1)]"} 1...

Hi, I'm using aioprometheus with a fastapi and uvicorn. I'm attempting to add request time metrics by using the `@timer` decorator, as [provided](https://github.com/claws/aioprometheus/blob/master/examples/decorators/decorator_timer.py) in the examples. This works, but if...

Prometheus stopped supporting the binary metric format a while ago. To simplify maintaining this library it is recommended that the support for binary format metrics be deprecated and eventually removed.

Hi. It would be nice to have something like `ProcessCollector`. Using `ProcessCollector` from [prometheus_client](https://github.com/prometheus/client_python) raises an error: ``` Traceback (most recent call last): File "prom.py", line 5, in prometheus_service.register(ProcessCollector(namespace='mydaemon')) File...

enhancement

HI, I\`ve just launched example from readme and after some time I saw: ``` # HELP request_processing_seconds Time spent processing request # TYPE request_processing_seconds summary request_processing_seconds_count 142 request_processing_seconds_sum 74.18954712400955 request_processing_seconds{quantile="0.5"}...

Greetings, I copied and ran the `@inprogress` decorator example, and when viewing the metrics endpoint, I observed the metric did not increment. It stayed at 1 ``` # HELP request_in_progress...

I would like to start my quart application with several workers, but this is not so easy in connection with aioprometheus, because each worker has its own state. In the...

Hi. I'm trying to use aioprometheus and get this ```python Traceback (most recent call last): File "/usr/local/lib/python3.11/multiprocessing/process.py", line 314, in _bootstrap self.run() File "/usr/local/lib/python3.11/multiprocessing/process.py", line 108, in run self._target(*self._args, **self._kwargs)...

Hello, I'm using aioprometheus in my FastAPI like this: ``` @app.get("/metrics") async def handle_metrics( accept: List[str] = Header(None), ) -> Response: content, http_headers = render(REGISTRY, accept) return Response(content=content, media_type=http_headers["Content-Type"]) ```...