Observability
Obervability
Introduction
The synchronization process exports many metrics in Prometheus format over HTTP.
Exported metrics
The following metrics are available:
| Metric | Description |
|---|---|
astronetes_synchronization_status | The status of each synchronization object. |
astronetes_synchronization_status_total | The count of synchronization objects for each state. |
Requirements
- The
ServiceMonitorCRD from prometheus (servicemonitors.monitoring.coreos.com) must be enabled in the cluster where the operator is running.
Processes
Enable observability
Update the synchronization configuration, setting the paramente .spec.config.observability.enabled to true.
Once enabled the observability, a ServiceMonitor will be created in the same Namespace of the related synchronization.
Disable observability
Update the synchronization configuration, setting the paramente .spec.config.observability.enabled to false.