Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( MetricError = prometheus.NewGauge(prometheus.GaugeOpts{ Namespace: metricsNamespace, Name: "error", Help: "Indicates an error was encountered", }) MetricErrorsTotal = prometheus.NewCounterVec(prometheus.CounterOpts{ Namespace: metricsNamespace, Name: "errors_total", Help: "Total number of errors", }, []string{"mapper"}) MetricDuration = prometheus.NewGauge(prometheus.GaugeOpts{ Namespace: metricsNamespace, Name: "run_duration_seconds", Help: "Last runtime duration in seconds", }) MetricLastRun = prometheus.NewGauge(prometheus.GaugeOpts{ Namespace: metricsNamespace, Name: "last_run_timestamp_seconds", Help: "Last timestamp of execution", }) MetricConfigMapSize = prometheus.NewGaugeVec(prometheus.GaugeOpts{ Namespace: metricsNamespace, Name: "size_bytes", Help: "Size of ConfigMap in bytes", }, []string{"configmap"}) MetricConfigMapKeys = prometheus.NewGaugeVec(prometheus.GaugeOpts{ Namespace: metricsNamespace, Name: "keys_count", Help: "Number of data keys in ConfigMap", }, []string{"configmap"}) )
Functions ¶
func MetricGathers ¶
func MetricGathers(processMetrics bool) prometheus.Gatherers
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.