Installation and RequirementsΒΆ
If you just want to instrument an asyncio-based application:
$ python -Im pip install prometheus-async
If you want to expose metrics using aiohttp, you also have to install it along with it.
$ python -Im pip install prometheus-async aiohttp
prometheus-async does not require anything extra to instrument Twisted applications.