Documentation ¶
Index ¶
- Variables
- type WorkqueueMetricsProvider
- func (f *WorkqueueMetricsProvider) NewAddsMetric(name string) workqueue.CounterMetric
- func (f *WorkqueueMetricsProvider) NewDepthMetric(name string) workqueue.GaugeMetric
- func (f *WorkqueueMetricsProvider) NewLatencyMetric(name string) workqueue.HistogramMetric
- func (f *WorkqueueMetricsProvider) NewLongestRunningProcessorSecondsMetric(name string) workqueue.SettableGaugeMetric
- func (WorkqueueMetricsProvider) NewRetriesMetric(name string) workqueue.CounterMetric
- func (f *WorkqueueMetricsProvider) NewUnfinishedWorkSecondsMetric(name string) workqueue.SettableGaugeMetric
- func (f *WorkqueueMetricsProvider) NewWorkDurationMetric(name string) workqueue.HistogramMetric
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ClusterSyncFailureVec = prometheus.NewCounterVec( prometheus.CounterOpts{ Namespace: metricsNamespace, Name: "cluster_sync_failure_total", Help: "Total number of failed cluster syncs.", }, []string{"reason"}, ) StoredAccounts = prometheus.NewGauge( prometheus.GaugeOpts{ Namespace: metricsNamespace, Name: "account_total", Help: "Total number of account added to the storage.", }, ) ReceivedSamplesDuration = prometheus.NewHistogram( prometheus.HistogramOpts{ Namespace: metricsNamespace, Name: "samples_received_duration_seconds", Help: "Duration of metrics request to provider in seconds.", Buckets: prometheus.DefBuckets, }, ) ReceivedSamples = prometheus.NewCounter( prometheus.CounterOpts{ Namespace: metricsNamespace, Name: "samples_received_total", Help: "Total number of received samples.", }, ) SentSamples = prometheus.NewCounter( prometheus.CounterOpts{ Namespace: metricsNamespace, Name: "samples_sent_total", Help: "Total number of processed samples sent to edp.", }, ) FailedSamples = prometheus.NewCounter( prometheus.CounterOpts{ Namespace: metricsNamespace, Name: "samples_sent_failed_total", Help: "Total number of processed samples which failed on send to edp.", }, ) SentSamplesDuration = prometheus.NewHistogram( prometheus.HistogramOpts{ Namespace: metricsNamespace, Name: "samples_sent_duration_seconds", Help: "Duration of sample send calls to edp.", Buckets: prometheus.DefBuckets, }, ) )
Functions ¶
This section is empty.
Types ¶
type WorkqueueMetricsProvider ¶
type WorkqueueMetricsProvider struct{}
Definition of workqueue metrics provider definition
func (*WorkqueueMetricsProvider) NewAddsMetric ¶
func (f *WorkqueueMetricsProvider) NewAddsMetric(name string) workqueue.CounterMetric
func (*WorkqueueMetricsProvider) NewDepthMetric ¶
func (f *WorkqueueMetricsProvider) NewDepthMetric(name string) workqueue.GaugeMetric
func (*WorkqueueMetricsProvider) NewLatencyMetric ¶
func (f *WorkqueueMetricsProvider) NewLatencyMetric(name string) workqueue.HistogramMetric
func (*WorkqueueMetricsProvider) NewLongestRunningProcessorSecondsMetric ¶
func (f *WorkqueueMetricsProvider) NewLongestRunningProcessorSecondsMetric(name string) workqueue.SettableGaugeMetric
func (WorkqueueMetricsProvider) NewRetriesMetric ¶
func (WorkqueueMetricsProvider) NewRetriesMetric(name string) workqueue.CounterMetric
func (*WorkqueueMetricsProvider) NewUnfinishedWorkSecondsMetric ¶
func (f *WorkqueueMetricsProvider) NewUnfinishedWorkSecondsMetric(name string) workqueue.SettableGaugeMetric
func (*WorkqueueMetricsProvider) NewWorkDurationMetric ¶
func (f *WorkqueueMetricsProvider) NewWorkDurationMetric(name string) workqueue.HistogramMetric
Click to show internal directories.
Click to hide internal directories.