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.
To learn more, visit ServiceMonitor prometheus operator documentation.
By default, ServiceMonitor integration is disabled, you can enable if for base Cloudentity pods as well as worker pods.
Enable ServiceMonitor with custom scrape interval and worker pods.
serviceMonitor: enabled: true endpointConfig: interval: 15s workers: serviceMonitor: enabled: true
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 Expoer and import Grafana documentation.