Documentation ¶
Index ¶
Constants ¶
View Source
const ( // LabelStatus marks the status of a resource or completed task LabelStatus = "status" // LabelOutcome indicates whether the outcome of the operation was successful or not LabelOutcome = "outcome" // LabelValueOutcomeSuccess is used as a successful outcome of an operation LabelValueOutcomeSuccess = "success" // LabelValueOutcomeFail is used as an unsuccessful outcome of an operation LabelValueOutcomeFail = "fail" )
View Source
const Namespace = "cilium_operator"
Namespace is the namespace key to use for cilium operator metrics.
Variables ¶
View Source
var ( // IdentityGCSize records the identity GC results IdentityGCSize *prometheus.GaugeVec // IdentityGCRuns records how many times identity GC has run IdentityGCRuns *prometheus.GaugeVec // EndpointGCObjects records the number of times endpoint objects have been // garbage-collected. EndpointGCObjects *prometheus.CounterVec )
View Source
var ( // Registry is the global prometheus registry for cilium-operator metrics. Registry *prometheus.Registry )
Functions ¶
func DumpMetrics ¶
DumpMetrics gets the current Cilium operator metrics and dumps all into a Metrics structure. If metrics cannot be retrieved, returns an error.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.