Documentation
¶
Index ¶
Constants ¶
View Source
const (
// Namespace(s).
Namespace = "karpenter"
)
Variables ¶
View Source
var ( VMCreateStartMetric = &metric{ name: "VMCreateStart", } VMCreateSyncFailureMetric = &metric{ name: "VMCreateSyncFailure", } VMCreateAsyncFailureMetric = &metric{ name: "VMCreateAsyncFailure", } VMCreateResponseError = &metric{ name: "ResponseError", } )
View Source
var ( ImageSelectionErrorCount = prometheus.NewCounterVec( prometheus.CounterOpts{ Namespace: Namespace, Subsystem: imageFamilySubsystem, Name: "selection_error_count", Help: "The number of errors encountered while selecting an image.", }, []string{"family"}, ) )
Functions ¶
func ValuesToKeyValuePairs ¶ added in v1.6.2
Helper function to convert a slice of Values to their key-value pairs
Types ¶
type Value ¶ added in v1.6.2
type Value struct {
// contains filtered or unexported fields
}
Value represents a key-value pair for logging with a known key
func ResponseError ¶ added in v1.6.3
Click to show internal directories.
Click to hide internal directories.