Installation and Requirements#
If you just want to instrument an asyncio-based application:
$ python -m pip install -U pip
$ python -m pip install prometheus-async
If you want to expose metrics using aiohttp:
$ python -m pip install -U pip
$ python -m pip install prometheus-async[aiohttp]
If you want to instrument a Twisted application:
$ python -m pip install -U pip
$ python -m pip install prometheus-async[twisted]
Warning
Please do not skip the update of pip, because prometheus-async uses modern packaging features and the installation will most likely fail otherwise.