Versions in this module Expand all Collapse all v0 v0.12.1 Dec 11, 2024 v0.12.0 Oct 31, 2024 Changes in this version + const ConditionDeleted + type Metrics struct + func MustMakeMetrics(scheme *runtime.Scheme, registrar prometheus.Registerer) *Metrics + func (m *Metrics) DeleteCondition(obj conditionedObject, conditionType api.ConditionType) + func (m *Metrics) DeleteReadiness(obj conditionedObject) + func (m *Metrics) DeleteTrigger(requestObjKey client.ObjectKey, controllerName string) + func (m *Metrics) RecordCondition(obj conditionedObject, conditionType api.ConditionType) + func (m *Metrics) RecordReadiness(obj conditionedObject) + func (m *Metrics) RecordStateDuration(gvk schema.GroupVersionKind, state string, duration time.Duration) + func (m *Metrics) RecordSuspend(obj client.Object, suspend bool) + func (m *Metrics) RecordTrigger(triggerGVK schema.GroupVersionKind, requestObjKey client.ObjectKey, ...) + func (m *Metrics) Reset() + type Sink struct + func NewSink() *Sink + func (r *Sink) Collectors() []prometheus.Collector + func (r *Sink) DeleteCondition(ref client.ObjectKey, gvk schema.GroupVersionKind, condition api.Condition) int + func (r *Sink) DeleteTrigger(requestObjKey client.ObjectKey, controllerName string) int + func (r *Sink) RecordCondition(ref client.ObjectKey, gvk schema.GroupVersionKind, condition api.Condition, ...) + func (r *Sink) RecordStateDuration(gvk schema.GroupVersionKind, state string, duration time.Duration) + func (r *Sink) RecordSuspend(ref client.ObjectKey, gvk schema.GroupVersionKind, suspended bool) + func (r *Sink) RecordTrigger(triggerGVK schema.GroupVersionKind, requestObjKey client.ObjectKey, ...) + func (r *Sink) Reset()