Skip to content

Coralogix Operator Metrics

NameTypeDescriptionLabels
cx_operator_infoGaugeCoralogix Operator informationgo_version, operator_version, coralogix_url
cx_operator_resource_infoGaugeCoralogix Operator custom resource informationkind, name, namespace, status

Sending Metrics to Coralogix

The Coralogix Operator's metrics can be sent to Coralogix using Prometheus. This requires configuring Prometheus to both scrape the operator's metrics and send them to Coralogix.

Scraping the Metrics

By default, the Coralogix Operator is deployed with:

  • A ServiceMonitor that instructs Prometheus to scrape the operator's metrics endpoint.
  • A ClusterRole that grants Prometheus access to the metrics.

To ensure proper scraping:

  • Verify that Prometheus is configured to select the provided ServiceMonitor.
  • Ensure that the ClusterRole is bound to Prometheus's ServiceAccount so it has the necessary permissions.

Sending the Metrics

To forward the collected metrics to Coralogix, follow this guide to configure Prometheus accordingly.