Deployment and Operations

Utilize Performance Metrics Monitoring

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

About Performance Metrics Monitoring

Cloudentity 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.

Learn more

To learn more, visit ServiceMonitor prometheus operator documentation.

Prerequisites

Configure Monitoring

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

Example

Enable 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.

Learn more

To learn more, visit Expoer and import Grafana documentation.