Documentation ¶
Index ¶
Constants ¶
View Source
const ( // CRIOOperationsKey is the key for CRI-O operation metrics. CRIOOperationsKey = "crio_operations" // CRIOOperationsLatencyKey is the key for the operation latency metrics. CRIOOperationsLatencyKey = "crio_operations_latency_microseconds" // CRIOOperationsErrorsKey is the key for the operation error metrics. CRIOOperationsErrorsKey = "crio_operations_errors" )
Variables ¶
View Source
var ( // CRIOOperations collects operation counts by operation type. CRIOOperations = prometheus.NewCounterVec( prometheus.CounterOpts{ Subsystem: subsystem, Name: CRIOOperationsKey, Help: "Cumulative number of CRI-O operations by operation type.", }, []string{"operation_type"}, ) // CRIOOperationsLatency collects operation latency numbers by operation // type. CRIOOperationsLatency = prometheus.NewSummaryVec( prometheus.SummaryOpts{ Subsystem: subsystem, Name: CRIOOperationsLatencyKey, Help: "Latency in microseconds of CRI-O operations. Broken down by operation type.", }, []string{"operation_type"}, ) // CRIOOperationsErrors collects operation errors by operation // type. CRIOOperationsErrors = prometheus.NewCounterVec( prometheus.CounterOpts{ Subsystem: subsystem, Name: CRIOOperationsErrorsKey, Help: "Cumulative number of CRI-O operation errors by operation type.", }, []string{"operation_type"}, ) )
Functions ¶
func SinceInMicroseconds ¶
SinceInMicroseconds gets the time since the specified start in microseconds.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.