diff --git a/examples/prometheus/README.md b/examples/prometheus/README.md index 35b6d1f45809..345f802c1b54 100644 --- a/examples/prometheus/README.md +++ b/examples/prometheus/README.md @@ -119,26 +119,26 @@ Returns PLEG (pod lifecycle event generator) latency metrics. This represents t ### OpenShift build related queries -> count(openshift_build_active_time_seconds{phase="running"} < time() - 600) +> count(openshift_build_active_time_seconds{phase="Running"} < time() - 600) Returns the number of builds that have been running for more than 10 minutes (600 seconds). -> count(openshift_build_active_time_seconds{phase="pending"} < time() - 600) +> count(openshift_build_active_time_seconds{phase="Pending"} < time() - 600) Returns the number of build that have been waiting at least 10 minutes (600 seconds) to start. -> sum(openshift_build_total{phase="failed"}) +> sum(openshift_build_total{phase="Failed"}) Returns the number of failed builds, regardless of the failure reason. -> openshift_build_total{phase="failed",reason="fetchsourcefailed"} +> openshift_build_total{phase="failed",reason="FetchSourceFailed"} Returns the number of failed builds because of problems retrieving source from the associated Git repository. -> sum(openshift_build_total{phase="complete"}) +> sum(openshift_build_total{phase="Complete"}) Returns the number of successfully completed builds. -> openshift_build_total{phase="failed"} offset 5m +> openshift_build_total{phase="Failed"} offset 5m Returns the failed builds totals, per failure reason, from 5 minutes ago. \ No newline at end of file