This is the multi-page printable view of this section. Click here to print.

Return to the regular view of this page.

v1beta1 metrics

gitops.kluctl.io/v1beta1 metrics

Prometheus Metrics

The controller exports several metrics in the OpenMetrics compatible format. They can be scraped by all sorts of monitoring solutions (e.g. Prometheus) or stored in a database. Because the controller is based on controller-runtime, all the default metrics as well as the following controller-specific custom metrics are exported:

1 - Metrics of the KluctlDeployment Controller

KluctlDeployment documentation

Exported Metrics References

Metrics nameTypeDescription
deployment_duration_secondsHistogramHow long a single deployment takes in seconds.
number_of_changed_objectsGaugeHow many objects have been changed by a single deployment.
number_of_deleted_objectsGaugeHow many objects have been deleted by a single deployment.
number_of_errorsGaugeHow many errors are related to a single deployment.
number_of_imagesGaugeNumber of images of a single deployment.
number_of_orphan_objectsGaugeHow many orphans are related to a single deployment.
number_of_warningsGaugeHow many warnings are related to a single deployment.
prune_duration_secondsHistogramHow long a single prune takes in seconds.
validate_duration_secondsHistogramHow long a single validate takes in seconds.
deployment_interval_secondsGaugeThe configured deployment interval of a single deployment.
dry_run_enabledGaugeIs dry-run enabled for a single deployment.
last_object_statusGaugeLast object status of a single deployment. Zero means failure and one means success.
prune_enabledGaugeIs pruning enabled for a single deployment.
delete_enabledGaugeIs deletion enabled for a single deployment.
source_specGaugeThe configured source spec of a single deployment exported via labels.