kube-state-metrics/docs/metrics/workload/horizontalpodautoscaler-met...

7.0 KiB

Horizontal Pod Autoscaler Metrics

Metric name Metric type Description Labels/tags Status
kube_horizontalpodautoscaler_info Gauge horizontalpodautoscaler=<hpa-name>
namespace=<hpa-namespace>
scaletargetref_api_version=<hpa-target-api-version>
scaletargetref_kind=<hpa-target-kind>
scaletargetref_name=<hpa-target-name>
EXPERIMENTAL
kube_horizontalpodautoscaler_annotations Gauge Kubernetes annotations converted to Prometheus labels controlled via --metric-annotations-allowlist horizontalpodautoscaler=<hpa-name>
namespace=<hpa-namespace>
EXPERIMENTAL
kube_horizontalpodautoscaler_labels Gauge Kubernetes labels converted to Prometheus labels controlled via --metric-labels-allowlist horizontalpodautoscaler=<hpa-name>
namespace=<hpa-namespace>
STABLE
kube_horizontalpodautoscaler_metadata_generation Gauge horizontalpodautoscaler=<hpa-name>
namespace=<hpa-namespace>
STABLE
kube_horizontalpodautoscaler_spec_max_replicas Gauge horizontalpodautoscaler=<hpa-name>
namespace=<hpa-namespace>
STABLE
kube_horizontalpodautoscaler_spec_min_replicas Gauge horizontalpodautoscaler=<hpa-name>
namespace=<hpa-namespace>
STABLE
kube_horizontalpodautoscaler_spec_target_metric Gauge horizontalpodautoscaler=<hpa-name>
namespace=<hpa-namespace>
metric_name=<metric-name>
metric_target_type=<value|utilization|average>
EXPERIMENTAL
kube_horizontalpodautoscaler_status_target_metric Gauge horizontalpodautoscaler=<hpa-name>
namespace=<hpa-namespace>
metric_name=<metric-name>
metric_target_type=<value|utilization|average>
BETA
kube_horizontalpodautoscaler_status_condition Gauge horizontalpodautoscaler=<hpa-name>
namespace=<hpa-namespace>
condition=<hpa-condition>
status=<true|false|unknown>
STABLE
kube_horizontalpodautoscaler_status_current_replicas Gauge horizontalpodautoscaler=<hpa-name>
namespace=<hpa-namespace>
STABLE
kube_horizontalpodautoscaler_status_desired_replicas Gauge horizontalpodautoscaler=<hpa-name>
namespace=<hpa-namespace>
STABLE
kube_horizontalpodautoscaler_created Gauge horizontalpodautoscaler=<hpa-name>
namespace=<hpa-namespace>
EXPERIMENTAL
kube_horizontalpodautoscaler_deletion_timestamp Gauge horizontalpodautoscaler=<hpa-name>
namespace=<hpa-namespace>
EXPERIMENTAL