Documentation ¶
Index ¶
- type PrometheusWorkqueueProvider
- func (p *PrometheusWorkqueueProvider) GetMetrics() []prom.Collector
- func (p *PrometheusWorkqueueProvider) NewAddsMetric(name string) workqueue.CounterMetric
- func (p *PrometheusWorkqueueProvider) NewDeprecatedAddsMetric(name string) workqueue.CounterMetric
- func (p *PrometheusWorkqueueProvider) NewDeprecatedDepthMetric(name string) workqueue.GaugeMetric
- func (p *PrometheusWorkqueueProvider) NewDeprecatedLatencyMetric(name string) workqueue.SummaryMetric
- func (p *PrometheusWorkqueueProvider) NewDeprecatedLongestRunningProcessorMicrosecondsMetric(name string) workqueue.SettableGaugeMetric
- func (p *PrometheusWorkqueueProvider) NewDeprecatedRetriesMetric(name string) workqueue.CounterMetric
- func (p *PrometheusWorkqueueProvider) NewDeprecatedUnfinishedWorkSecondsMetric(name string) workqueue.SettableGaugeMetric
- func (p *PrometheusWorkqueueProvider) NewDeprecatedWorkDurationMetric(name string) workqueue.SummaryMetric
- func (p *PrometheusWorkqueueProvider) NewDepthMetric(name string) workqueue.GaugeMetric
- func (p *PrometheusWorkqueueProvider) NewLatencyMetric(name string) workqueue.HistogramMetric
- func (p *PrometheusWorkqueueProvider) NewLongestRunningProcessorSecondsMetric(name string) workqueue.SettableGaugeMetric
- func (p *PrometheusWorkqueueProvider) NewRetriesMetric(name string) workqueue.CounterMetric
- func (p *PrometheusWorkqueueProvider) NewUnfinishedWorkSecondsMetric(name string) workqueue.SettableGaugeMetric
- func (p *PrometheusWorkqueueProvider) NewWorkDurationMetric(name string) workqueue.HistogramMetric
- type RESTLatencyMetric
- type RESTResultMetric
- type WebhookMetric
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type PrometheusWorkqueueProvider ¶
type PrometheusWorkqueueProvider struct {
// contains filtered or unexported fields
}
func NewProvider ¶
func NewProvider() *PrometheusWorkqueueProvider
func (*PrometheusWorkqueueProvider) GetMetrics ¶
func (p *PrometheusWorkqueueProvider) GetMetrics() []prom.Collector
func (*PrometheusWorkqueueProvider) NewAddsMetric ¶
func (p *PrometheusWorkqueueProvider) NewAddsMetric(name string) workqueue.CounterMetric
func (*PrometheusWorkqueueProvider) NewDeprecatedAddsMetric ¶ added in v0.5.0
func (p *PrometheusWorkqueueProvider) NewDeprecatedAddsMetric(name string) workqueue.CounterMetric
func (*PrometheusWorkqueueProvider) NewDeprecatedDepthMetric ¶ added in v0.5.0
func (p *PrometheusWorkqueueProvider) NewDeprecatedDepthMetric(name string) workqueue.GaugeMetric
func (*PrometheusWorkqueueProvider) NewDeprecatedLatencyMetric ¶ added in v0.5.0
func (p *PrometheusWorkqueueProvider) NewDeprecatedLatencyMetric(name string) workqueue.SummaryMetric
func (*PrometheusWorkqueueProvider) NewDeprecatedLongestRunningProcessorMicrosecondsMetric ¶ added in v0.5.0
func (p *PrometheusWorkqueueProvider) NewDeprecatedLongestRunningProcessorMicrosecondsMetric(name string) workqueue.SettableGaugeMetric
func (*PrometheusWorkqueueProvider) NewDeprecatedRetriesMetric ¶ added in v0.5.0
func (p *PrometheusWorkqueueProvider) NewDeprecatedRetriesMetric(name string) workqueue.CounterMetric
func (*PrometheusWorkqueueProvider) NewDeprecatedUnfinishedWorkSecondsMetric ¶ added in v0.5.0
func (p *PrometheusWorkqueueProvider) NewDeprecatedUnfinishedWorkSecondsMetric(name string) workqueue.SettableGaugeMetric
func (*PrometheusWorkqueueProvider) NewDeprecatedWorkDurationMetric ¶ added in v0.5.0
func (p *PrometheusWorkqueueProvider) NewDeprecatedWorkDurationMetric(name string) workqueue.SummaryMetric
func (*PrometheusWorkqueueProvider) NewDepthMetric ¶
func (p *PrometheusWorkqueueProvider) NewDepthMetric(name string) workqueue.GaugeMetric
func (*PrometheusWorkqueueProvider) NewLatencyMetric ¶
func (p *PrometheusWorkqueueProvider) NewLatencyMetric(name string) workqueue.HistogramMetric
func (*PrometheusWorkqueueProvider) NewLongestRunningProcessorSecondsMetric ¶ added in v0.5.0
func (p *PrometheusWorkqueueProvider) NewLongestRunningProcessorSecondsMetric(name string) workqueue.SettableGaugeMetric
func (*PrometheusWorkqueueProvider) NewRetriesMetric ¶
func (p *PrometheusWorkqueueProvider) NewRetriesMetric(name string) workqueue.CounterMetric
func (*PrometheusWorkqueueProvider) NewUnfinishedWorkSecondsMetric ¶ added in v0.5.0
func (p *PrometheusWorkqueueProvider) NewUnfinishedWorkSecondsMetric(name string) workqueue.SettableGaugeMetric
func (*PrometheusWorkqueueProvider) NewWorkDurationMetric ¶
func (p *PrometheusWorkqueueProvider) NewWorkDurationMetric(name string) workqueue.HistogramMetric
type RESTLatencyMetric ¶
type RESTLatencyMetric struct {
Summary *prom.SummaryVec
}
func NewRESTLatencyMetric ¶
func NewRESTLatencyMetric() *RESTLatencyMetric
type RESTResultMetric ¶
type RESTResultMetric struct {
Counter *prom.CounterVec
}
func NewRESTResultMetric ¶
func NewRESTResultMetric() *RESTResultMetric
type WebhookMetric ¶ added in v0.10.0
func NewTLSCertExpireMetric ¶ added in v0.10.0
func NewTLSCertExpireMetric() *WebhookMetric
func (*WebhookMetric) GetMetrics ¶ added in v0.10.0
func (m *WebhookMetric) GetMetrics() []prom.Collector
func (*WebhookMetric) ObserveCertificateExpiration ¶ added in v0.10.0
func (m *WebhookMetric) ObserveCertificateExpiration(host string, exp time.Time)
func (*WebhookMetric) ObserveHeartBeat ¶ added in v0.10.0
func (m *WebhookMetric) ObserveHeartBeat(host string)
Click to show internal directories.
Click to hide internal directories.