Documentation ¶
Index ¶
Constants ¶
View Source
const ( Namespace = "karpenter" Subsystem = "disruption_controller" KindLabel = "kind" NameLabel = "name" AnnotationType = "type" SucceededLabel = "succeeded" )
Variables ¶
View Source
var ( PatchCounter = prometheus.NewCounterVec( prometheus.CounterOpts{ Namespace: Namespace, Subsystem: Subsystem, Name: "patch_operations_total", Help: "Number of patch events in total by Karpenter Disruption Controller. Labeled by resource kind, resource name, and success status.", }, []string{ KindLabel, NameLabel, SucceededLabel, }, ) FailedAnnotationParseCounter = prometheus.NewCounterVec( prometheus.CounterOpts{ Namespace: Namespace, Subsystem: Subsystem, Name: "annotation_parse_failed", Help: "Number of annotation parsing failures in total by Karpenter Disruption Controller. Labeled by annotation type and pod name.", }, []string{ AnnotationType, NameLabel, }, ) )
Functions ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.