Documentation ¶
Index ¶
- type Metrics
- func (m *Metrics) Init(isUnitTest bool)
- func (m *Metrics) RecordEnqueueCnt(target string)
- func (m *Metrics) RecordEnqueueDur(target string, elapsed float64)
- func (m *Metrics) RecordErrorCnt(target string)
- func (m *Metrics) RecordReconciliationCnt(target string)
- func (m *Metrics) RecordReconciliationDur(target string, elapsed float64)
- func (m *Metrics) RecordRequeueCnt(target string)
- type MetricsI
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Metrics ¶
type Metrics struct { RequeueCnt *prometheus.CounterVec ReconciliationCnt *prometheus.CounterVec ReconciliationDur *prometheus.HistogramVec EnqueueCnt *prometheus.CounterVec EnqueueDur *prometheus.HistogramVec ErrCnt *prometheus.CounterVec // contains filtered or unexported fields }
func NewMetrics ¶
func NewMetrics() *Metrics
func (*Metrics) RecordEnqueueCnt ¶
func (*Metrics) RecordEnqueueDur ¶
func (*Metrics) RecordErrorCnt ¶
func (*Metrics) RecordReconciliationCnt ¶
func (*Metrics) RecordReconciliationDur ¶
func (*Metrics) RecordRequeueCnt ¶
Click to show internal directories.
Click to hide internal directories.