Skip to content

Latest commit

 

History

History
11 lines (10 loc) · 6.2 KB

ingress-metrics.md

File metadata and controls

11 lines (10 loc) · 6.2 KB

Ingress Metrics

Metric name Metric type Description Labels/tags Status
kube_ingress_annotations Gauge Kubernetes annotations converted to Prometheus labels controlled via --metric-annotations-allowlist ingress=<ingress-name>
namespace=<ingress-namespace>
annotation_INGRESS_ANNOTATION=<ANNOTATION_LABEL>
EXPERIMENTAL
kube_ingress_info Gauge ingress=<ingress-name>
namespace=<ingress-namespace>
ingressclass=<ingress-class> or _default if not set
STABLE
kube_ingress_labels Gauge Kubernetes labels converted to Prometheus labels controlled via --metric-labels-allowlist ingress=<ingress-name>
namespace=<ingress-namespace>
label_INGRESS_LABEL=<INGRESS_LABEL>
STABLE
kube_ingress_created Gauge ingress=<ingress-name>
namespace=<ingress-namespace>
STABLE
kube_ingress_metadata_resource_version Gauge ingress=<ingress-name>
namespace=<ingress-namespace>
EXPERIMENTAL
kube_ingress_path Gauge ingress=<ingress-name>
namespace=<ingress-namespace>
host=<ingress-host>
path=<ingress-path>
If path served by Service Backend
service_name=<service name for the path>
service_port=<service port for the path>
If path served by Resource Backend
resource_api_group=<resource backend api group>
resource_kind=<resource backend kind>
resource_name=<resource backend name>
STABLE
kube_ingress_tls Gauge ingress=<ingress-name>
namespace=<ingress-namespace>
tls_host=<tls hostname>
secret=<tls secret name>
STABLE