# Functions
Enable begins serving prometheus metrics on the address passed in.
GetCounterValue returns the current value stored for the counter.
MustRegister adds the collector to the registry, exposing this metric to prometheus scrapes.
SetTSValue sets the gauge to the time value provided.
# Variables
DropCount is the total drop requests, tagged by drop reason and direction(ingress/egress).
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 docker events.
EventTSContainerd is the timestamp of docker events.
EventTSK8s is the timestamp of k8s events.
ForwardCount is the total forward requests, tagged by ingress/egress direction.
LabelEventSourceAPI marks event-related metrics that come from the API.
LabelEventSourceContainerd marks event-related metrics that come from docker.
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.
ProxyDenied is a count of all denied requests by policy by the proxy.
ProxyForwarded is a count of all forwarded requests by proxy.
ProxyParseErrors is a count of failed parse errors on proxy.
ProxyReceived is a count of all received requests by the proxy.
# Structs
APIEventTSHelper is intended to be a global middleware to track metrics around API calls.