Skip to content

Metricsยค

Metrics document the state of the application in a timescale manner. For further analysis, connect your ASAB application to a time-series database. Influx and Prometheus are supported.

Learn how to monitor built-in metrics or create your own. There is a list of metric types enabling you to monitor various situations. Be sure you are familiar with the interpretation of metrics in ASAB when analyzing the data. Tags will help you to filter and group time-series datasets.

To enable metrics functionality in ASAB, add metrics module to your application.

Example

class MyApplication(asab.Application):
    async def initialize(self):
        from asab.metrics import Module
        self.add_module(Module)