semvec/pypi-packages huggingface dataset:
aiohttp-prometheus-client 0.1.2
HTTP metrics for a aiohttp application
License: MIT
Keywords: prometheus

AIOHTTP prometheus
==================

.. image:: https://travis-ci.org/globocom/aiohttp-prometheus.svg?branch=master
    :target: https://travis-ci.org/globocom/aiohttp-prometheus

HTTP metrics for a AIOHTTP application

Installing
----------

.. code-block:: bash

   pip install aiohttp-prometheus-client


Usage
-----

.. code-block:: python

    from aiohttp import web
    from aiohttp_prometheus import metrics_middleware, MetricsView

    app = web.Application()
    app.middlewares.append(metrics_middleware)

    app.router.add_route('GET', '/metrics', MetricsView),

    web.run_app(app)


Example output for metric route
-------------------------------

.. code-block::

   # HELP aiohttp_http_requests_total Asyncio total Request Count
   # TYPE aiohttp_http_requests_total counter
   aiohttp_http_requests_total{handler="MetricsView",method="GET",status="2xx"} 7.0

   # HELP aiohttp_http_request_duration_seconds Request latency
   # TYPE aiohttp_http_request_duration_seconds histogram
   aiohttp_http_request_duration_seconds_bucket{handler="MetricsView",le="0.01",method="GET"} 7.0
   aiohttp_http_request_duration_seconds_bucket{handler="MetricsView",le="0.05",method="GET"} 7.0
   aiohttp_http_request_duration_seconds_bucket{handler="MetricsView",le="0.1",method="GET"} 7.0
   aiohttp_http_request_duration_seconds_bucket{handler="MetricsView",le="0.5",method="GET"} 7.0
   aiohttp_http_request_duration_seconds_bucket{handler="MetricsView",le="0.75",method="GET"} 7.0
   aiohttp_http_request_duration_seconds_bucket{handler="MetricsView",le="1.0",method="GET"} 7.0
   aiohttp_http_request_duration_seconds_bucket{handler="MetricsView",le="2.5",method="GET"} 7.0
   aiohttp_http_request_duration_seconds_bucket{handler="MetricsView",le="5.0",method="GET"} 7.0
   aiohttp_http_request_duration_seconds_bucket{handler="MetricsView",le="7.5",method="GET"} 7.0
   aiohttp_http_request_duration_seconds_bucket{handler="MetricsView",le="10.0",method="GET"} 7.0
   aiohttp_http_request_duration_seconds_bucket{handler="MetricsView",le="15.0",method="GET"} 7.0
   aiohttp_http_request_duration_seconds_bucket{handler="MetricsView",le="20.0",method="GET"} 7.0
   aiohttp_http_request_duration_seconds_bucket{handler="MetricsView",le="30.0",method="GET"} 7.0
   aiohttp_http_request_duration_seconds_bucket{handler="MetricsView",le="+Inf",method="GET"} 7.0
tpDcc-tools-renamer 0.0.8
Renamer Tool to easily rename DCC objects in a visual way
License: MIT

tpDcc-tools-renamer
============================================================

Renamer Tool to easily rename DCC objects in a visual way

.. image:: https://travis-ci.com/tpDcc/tpDcc-tools-renamer.svg?branch=master&kill_cache=1
    :target: https://travis-ci.com/tpDcc/tpDcc-tools-renamer

.. image:: https://coveralls.io/repos/github/tpDcc/tpDcc-tools-renamer/badge.svg?branch=master&kill_cache=1
    :target: https://coveralls.io/github/tpDcc/tpDcc-tools-renamer?branch=master

.. image:: https://img.shields.io/badge/docs-sphinx-orange
    :target: https://tpDcc.github.io/tpDcc-tools-renamer

.. image:: https://img.shields.io/github/license/tpDcc/tpDcc-tools-renamer
    :target: https://github.com/tpDcc/tpDcc-tools-renamer/blob/master/LICENSE

.. image:: https://img.shields.io/pypi/v/tpDcc-tools-renamer?branch=master&kill_cache=1
    :target: https://pypi.org/project/tpDcc-tools-renamer

.. image:: https://img.shields.io/badge/code_style-pep8-blue
    :target: https://www.python.org/dev/peps/pep-0008/