Skip to content

Latest commit

 

History

History
11 lines (10 loc) · 6.27 KB

endpointslice-metrics.md

File metadata and controls

11 lines (10 loc) · 6.27 KB

Endpoint Metrics

Metric name Metric type Description Labels/tags Status
kube_endpointslice_annotations Gauge Kubernetes annotations converted to Prometheus labels controlled via --metric-annotations-allowlist endpointslice=<endpointslice-name>
namespace=<endpointslice-namespace>
annotation_ENDPOINTSLICE_ANNOTATION=<ENDPOINTSLICE_ANNOTATION>
EXPERIMENTAL
kube_endpointslice_info Gauge endpointslice=<endpointslice-name>
namespace=<endpointslice-namespace>
EXPERIMENTAL
kube_endpointslice_ports Gauge endpointslice=<endpointslice-name>
namespace=<endpointslice-namespace>
port_name=<endpointslice-port-name>
port_protocol=<endpointslice-port-protocol>
port_number=<endpointslice-port-number>
EXPERIMENTAL
kube_endpointslice_endpoints Gauge endpointslice=<endpointslice-name>
namespace=<endpointslice-namespace>
ready=<endpointslice-ready>
serving=<endpointslice-serving>
terminating=<endpointslice-terminating>
hostname=<endpointslice-hostname>
targetref_kind=<endpointslice-targetref-kind>
targetref_name=<endpointslice-targetref-name>
targetref_namespace=<endpointslice-targetref-namespace>
nodename=<endpointslice-nodename>
endpoint_zone=<endpointslice-zone>
EXPERIMENTAL
kube_endpointslice_endpoints_hints Gauge Each line is a hint applied to an endpoint-slice endpointslice=<endpointslice-name>
namespace=<endpointslice-namespace>
address=<endpointslice-address[0]>
for_zone=<endpointslice-hint>
EXPERIMENTAL
kube_endpointslice_labels Gauge Kubernetes labels converted to Prometheus labels controlled via --metric-labels-allowlist endpointslice=<endpointslice-name>
namespace=<endpointslice-namespace>
label_ENDPOINTSLICE_LABEL=<ENDPOINTSLICE_LABEL>
EXPERIMENTAL
kube_endpointslice_created Gauge endpointslice=<endpointslice-name>
namespace=<endpointslice-namespace>
EXPERIMENTAL