package
0.13.28
Repository: https://github.com/wenjunzhang/cilium.git
Documentation: pkg.go.dev

# Functions

Enable begins serving prometheus metrics on the address passed in.
MustRegister adds the collector to the registry, exposing this metric to prometheus scrapes.
SetTSValue sets the gauge to the time value provided.

# Variables

EndpointCount is a function used to collect this metric.
EndpointCountRegenerating is the number of endpoints currently regenerating.
EndpointRegenerationCount is a count of the number of times any endpoint has been regenerated and success/fail outcome.
EventTSAPI is the timestamp of containerd events.
EventTSContainerd is the timestamp of containerd events.
EventTSK8s is the timestamp of k8s events.
LabelEventSourceAPI marks event-related metrics that come from the API.
LabelEventSourceContainerd marks event-related metrics that come from containerd.
LabelEventSourceK8s marks event-related metrics that come from k8s.
LabelValueOutcomeFail is used as an unsuccessful outcome of an operation.
LabelValueOutcomeSuccess is used as a successful outcome of an operation.
Namespace is used to scope metrics from cilium.
PolicyCount is the number of policies loaded into the agent.
PolicyImportErrors is a count of failed policy imports.
PolicyRevision is the current policy revision number for this agent.

# Structs

APIEventTSHelper is intended to be a global middleware to track metrics around API calls.