Skip to content

Latest commit

 

History

History
25 lines (18 loc) · 947 Bytes

metrics.md

File metadata and controls

25 lines (18 loc) · 947 Bytes

Metrics

The Local-pvc-releaser controller is publishing the base metrics that are provided by KubeBuilder + additional custom metric indicating about successful PVC deletion. Those metrics are exposed by prometheus exporter.

The default metrics that are instrumented by default are:

  • Total number of reconciliation errors per controller
  • Length of reconcile queue per controller
  • Reconciliation latency
  • Usual resource metrics such as CPU, memory usage, file descriptor usage
  • Go runtime metrics such as number of Go routines, GC duration

Prometheus is a standard way to represent metrics in a modern cross-platform manner. The exporter can expose metrics both on HTTP (8080) and on HTTPS (8443) using Kubernetes auth-proxy.



Custom metrics

deleted_pvc

Labels: namespace, controller_name, dryrun
Description: The number of successful PVC objects that got deleted by the controller