Skip to content

Commit f1194fd

Browse files
committed
fix prometheus readme: bld phase/reason conversion to all lower case was reverted
1 parent 2f933b0 commit f1194fd

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

examples/prometheus/README.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -119,26 +119,26 @@ Returns PLEG (pod lifecycle event generator) latency metrics. This represents t
119119

120120
### OpenShift build related queries
121121

122-
> count(openshift_build_active_time_seconds{phase="running"} < time() - 600)
122+
> count(openshift_build_active_time_seconds{phase="Running"} < time() - 600)
123123
124124
Returns the number of builds that have been running for more than 10 minutes (600 seconds).
125125

126-
> count(openshift_build_active_time_seconds{phase="pending"} < time() - 600)
126+
> count(openshift_build_active_time_seconds{phase="Pending"} < time() - 600)
127127
128128
Returns the number of build that have been waiting at least 10 minutes (600 seconds) to start.
129129

130-
> sum(openshift_build_total{phase="failed"})
130+
> sum(openshift_build_total{phase="Failed"})
131131
132132
Returns the number of failed builds, regardless of the failure reason.
133133

134-
> openshift_build_total{phase="failed",reason="fetchsourcefailed"}
134+
> openshift_build_total{phase="failed",reason="FetchSourceFailed"}
135135
136136
Returns the number of failed builds because of problems retrieving source from the associated Git repository.
137137

138-
> sum(openshift_build_total{phase="complete"})
138+
> sum(openshift_build_total{phase="Complete"})
139139
140140
Returns the number of successfully completed builds.
141141

142-
> openshift_build_total{phase="failed"} offset 5m
142+
> openshift_build_total{phase="Failed"} offset 5m
143143
144144
Returns the failed builds totals, per failure reason, from 5 minutes ago.

0 commit comments

Comments
 (0)