Skip to content

Latest commit

 

History

History
11 lines (10 loc) · 4.31 KB

service-metrics.md

File metadata and controls

11 lines (10 loc) · 4.31 KB

Service Metrics

Metric name Metric type Description Unit (where applicable) Labels/tags Status
kube_service_annotations Gauge Kubernetes annotations converted to Prometheus labels controlled via --metric-annotations-allowlist service=<service-name>
namespace=<service-namespace>
uid=<service-uid>
annotation_SERVICE_ANNOTATION=<SERVICE_ANNOTATION>
EXPERIMENTAL
kube_service_info Gauge Information about service service=<service-name>
namespace=<service-namespace>
uid=<service-uid>
cluster_ip=<service cluster ip>
external_name=<service external name>
load_balancer_ip=<service load balancer ip>
STABLE
kube_service_labels Gauge Kubernetes labels converted to Prometheus labels controlled via --metric-labels-allowlist service=<service-name>
namespace=<service-namespace>
uid=<service-uid>
label_SERVICE_LABEL=<SERVICE_LABEL>
STABLE
kube_service_created Gauge Unix creation timestamp seconds service=<service-name>
namespace=<service-namespace>
uid=<service-uid>
STABLE
kube_service_spec_type Gauge Type about service service=<service-name>
namespace=<service-namespace>
uid=<service-uid>
type=<ClusterIP|NodePort|LoadBalancer|ExternalName>
STABLE
kube_service_spec_external_ip Gauge Service external ips. One series for each ip service=<service-name>
namespace=<service-namespace>
uid=<service-uid>
external_ip=<external-ip>
STABLE
kube_service_status_load_balancer_ingress Gauge Service load balancer ingress status service=<service-name>
namespace=<service-namespace>
uid=<service-uid>
ip=<load-balancer-ingress-ip>
hostname=<load-balancer-ingress-hostname>
STABLE