Documentation ¶
Index ¶
Constants ¶
View Source
const Namespace = "gardener_admission_controller"
Namespace is the metric namespace for the gardener-admission-controller.
Variables ¶
View Source
var ( // Factory is used for registering metrics in the controller-runtime metrics registry. Factory = promauto.With(runtimemetrics.Registry) // RejectedResources defines the counter rejected_resources_total. RejectedResources = Factory.NewCounterVec( prometheus.CounterOpts{ Namespace: Namespace, Name: "rejected_resources_total", Help: "Total number of resources rejected.", }, []string{ "operation", "kind", "namespace", "reason", }, ) )
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.