Installation and RequirementsΒΆ

If you just want to instrument an asyncio-based application:

$ python -Im pip install -U pip
$ python -Im pip install prometheus-async

If you want to expose metrics using aiohttp:

$ python -Im pip install -U pip
$ python -Im pip install prometheus-async[aiohttp]

If you want to instrument a Twisted application:

$ python -Im pip install -U pip
$ python -Im 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.