A2 Monitoring: Prometheus Exporter Integration

Drill down into the status of A2 by prometheus.

A2 Monitoring Overview: Prometheus Exporter Integration

The A2 platform provides real-time monitoring metrics through the Prometheus Exporter feature. By using Prometheus, you can easily view and manage key performance metrics via dashboards or alert settings, enabling continuous monitoring of the platform’s health. A2’s Prometheus Exporter operates on port 29100 by default.

Metrics by Namespace

The monitoring metrics provided by A2 are categorized by namespace, with each namespace offering different types of log and status information.

Ad and Service Event Logs

Metrics related to ad and service events can be found under the following two namespaces:

  • ad_log: This namespace records data related to ad activities such as ad delivery, impressions, clicks, and conversions. It is useful for monitoring the performance of ad campaigns.
  • event_log: This namespace tracks service event logs and includes user activities such as page views, purchases, likes, and cart additions. It can be used to analyze user behavior on the platform.

Monitoring Internal Modules (ADM, DSP, SSP)

The status and performance metrics of internal modules like ADM, DSP, and SSP are provided under the following namespaces:

  • a2_stats: This namespace contains performance data for A2’s internal modules, such as SSP’s average response time, ad delivery volume, and ad request counts. Metric names follow the a2_stats_* format and are useful for assessing system performance and efficiency.
  • a2_error: This namespace provides information on system errors, including HTTP errors and internal processing errors. It helps in identifying the status of errors and assists in troubleshooting.

Using Prometheus Metrics

The data collected through Prometheus can be queried and viewed in real-time, allowing you to explore metrics under each namespace. For instance, a2_stats_ssp:req_total represents the total number of requests for the SSP module, while a2_error_ssp:http_total shows the total count of HTTP errors that occurred within the SSP module.


A2’s monitoring features can be used as needed, offering flexible data insights to help you manage your system effectively.