Skip to main content

Utilize Performance Metrics Monitoring

SecureAuth exposes metrics in a Prometheus format that allow to measure the overall performance of the SecureAuth platform.

About Performance Metrics Monitoring

SecureAuth exposes metrics in Prometheus format under a dedicated endpoint. Those metrics can be used to measure overall performance of your deployment (i.e requests per seconds or number of 5XX responses). One of the ways to collect those metrics is ServiceMonitor. It describes how metrics should be collected and from which endpoint.

To learn more, visit Prometheus operator documentation.

Prerequisites

Configure Monitoring

By default, ServiceMonitor integration is disabled. You can enable if for base SecureAuth pods as well as worker pods.

See the following example for enabling ServiceMonitor with custom scrape interval and worker pods:

serviceMonitor:
  enabled: true
  endpointConfig:
    interval: 15s

workers:
  serviceMonitor:
    enabled: true            

Grafana Dashboard

Grafana dashboard can be used to visualise above metrics. You can download sample dashboard here and import it into your Grafana deployment.

To learn more, visit export and import Grafana documentation.