Integrate with Prometheus Click here for latest

Overview of all Prometheus metrics that KEDA provides

Availability: v2.0+

Warning

You are currently viewing v"2.13" of the documentation and it is not the latest. For the most recent documentation, kindly click here.

Prometheus Exporter Metrics

Operator

The KEDA Operator exposes Prometheus metrics which can be scraped on port 8080 at /metrics. The following metrics are being gathered:

  • keda_build_info - Info metric, with static information about KEDA build like: version, git commit and Golang runtime info.
  • keda_scaler_active - This metric marks whether the particular scaler is active (value == 1) or in-active (value == 0).
  • keda_scaled_object_paused - This metric indicates whether a ScaledObject is paused (value == 1) or un-paused (value == 0).
  • keda_scaler_metrics_value - The current value for each scaler’s metric that would be used by the HPA in computing the target average.
  • keda_scaler_metrics_latency - The latency of retrieving current metric from each scaler.
  • keda_scaler_errors - The number of errors that have occurred for each scaler.
  • keda_scaler_errors_total - The total number of errors encountered for all scalers.
  • keda_scaled_object_errors - The number of errors that have occurred for each ScaledObject.
  • keda_scaled_job_errors - The number of errors that have occurred for each ScaledJob.
  • keda_resource_totals - Total number of KEDA custom resources per namespace for each custom resource type (CRD).
  • keda_trigger_totals - Total number of triggers per trigger type.
  • keda_internal_scale_loop_latency - Total deviation (in milliseconds) between the expected execution time and the actual execution time for the scaling loop. This latency could be produced due to accumulated scalers latencies or high load. This is an internal metric.
  • keda_cloudeventsource_events_emitted_total - Measured emitted cloudevents with destination of this emitted event (eventsink) and emitted state.
  • keda_cloudeventsource_events_queued - The number of events that are in the emitting queue.
  • Metrics exposed by the Operator SDK framework as explained here.

Admission Webhooks

The KEDA Webhooks expose Prometheus metrics which can be scraped on port 8080 at /metrics. The following metrics are being gathered:

  • keda_webhook_scaled_object_validation_total- The current value for scaled object validations.
  • keda_webhook_scaled_object_validation_errors - The number of validation errors.

Metrics Server

The KEDA Metrics Adapter exposes Prometheus metrics which can be scraped on port 8080 at /metrics. The following metrics are being gathered:

  • Metrics exposed by the Operator SDK framework as explained here.
  • Metrics exposed (prepended with apiserver_) by Kubernetes API Server

Premade Grafana dashboard

A premade Grafana dashboard is available to visualize metrics exposed by the KEDA Metrics Adapter.

KEDA Grafana dashboard

The dashboard has two sections:

  • Visualization of KEDA’s metric server
  • Visualization of the scale target and its changes in replicas scaled by KEDA

On top, the dashboard supports the following variables:

  • datasource
  • namespace
  • scaledObject
  • scaledJob
  • scaler
  • metric