Documentation ¶
Index ¶
Constants ¶
View Source
const ( // ReasonSizeExceeded is the value for reason when a resource exceeded the maximum allowed size. ReasonSizeExceeded = "Size Exceeded" // ReasonRejectedKubeconfig is the value for reason when a kubeconfig was rejected. ReasonRejectedKubeconfig = "Rejected Kubeconfig" )
Variables ¶
View Source
var ( // RejectedResources defines the counter rejected_resources_total. RejectedResources = promauto.NewCounterVec( prometheus.CounterOpts{ Namespace: namespace, Name: "rejected_resources_total", Help: "Total number of resources rejected.", }, []string{ "operation", "kind", "namespace", "reason", }, ) // InvalidWebhookRequest defines the counter invalid_webhook_requests_total. InvalidWebhookRequest = promauto.NewCounterVec( prometheus.CounterOpts{ Namespace: namespace, Name: "invalid_webhook_requests_total", Help: "Total number of invalid webhook requests.", }, []string{}, ) )
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.