Skip to content

Commit

Permalink
Uses suspendGuage
Browse files Browse the repository at this point in the history
Signed-off-by: Somtochi Onyekwere <[email protected]>
  • Loading branch information
somtochiama committed Mar 17, 2021
1 parent ec8435e commit 4efd97c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion runtime/metrics/recorder.go
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ func (r *Recorder) RecordSuspend(ref corev1.ObjectReference, suspend bool) {
value = 1
}

r.conditionGauge.WithLabelValues(ref.Kind, ref.Name, ref.Namespace).Set(value)
r.suspendGauge.WithLabelValues(ref.Kind, ref.Name, ref.Namespace).Set(value)
}

func (r *Recorder) RecordDuration(ref corev1.ObjectReference, start time.Time) {
Expand Down

0 comments on commit 4efd97c

Please sign in to comment.