Skip to content

Latest commit

 

History

History
15 lines (14 loc) · 2.52 KB

horizontalpodautoscaler-metrics.md

File metadata and controls

15 lines (14 loc) · 2.52 KB

Horizontal Pod Autoscaler Metrics

Metric name Metric type 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 horizontalpodautoscaler=<hpa-name>
namespace=<hpa-namespace>
EXPERIMENTAL
kube_horizontalpodautoscaler_labels Gauge 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>
EXPERIMENTAL
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