Skip to content

Commit e29c804

Browse files
committed
update docs
1 parent ea15faf commit e29c804

File tree

2 files changed

+17
-0
lines changed

2 files changed

+17
-0
lines changed

docs/registry/attributes/k8s.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -175,6 +175,7 @@ conflict.
175175

176176
**[24] `k8s.statefulset.annotation.<key>`:** The `<key>` being the annotation name, the value being the annotation value, even if the value is empty.
177177

178+
**[24] `k8s.statefulset.label.<key>`:** The `<key>` being the label name, the value being the label value, even if the value is empty.
178179
**[25] `k8s.statefulset.label.<key>`:** The `<key>` being the label name, the value being the label value, even if the value is empty.
179180

180181
---

docs/system/k8s-metrics.md

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,9 @@ and therefore inherit its attributes, like `k8s.pod.name` and `k8s.pod.uid`.
5757
- [Metric: `k8s.hpa.current_pods`](#metric-k8shpacurrent_pods)
5858
- [Metric: `k8s.hpa.max_pods`](#metric-k8shpamax_pods)
5959
- [Metric: `k8s.hpa.min_pods`](#metric-k8shpamin_pods)
60+
- [Metric: `k8s.hpa.metric.target.cpu.value`](#metric-k8shpametrictargetcpuvalue)
61+
- [Metric: `k8s.hpa.metric.target.cpu.average_value`](#metric-k8shpametrictargetcpuaverage_value)
62+
- [Metric: `k8s.hpa.metric.target.cpu.average_utilization`](#metric-k8shpametrictargetcpuaverage_utilization)
6063
- [DaemonSet metrics](#daemonset-metrics)
6164
- [Metric: `k8s.daemonset.current_scheduled_nodes`](#metric-k8sdaemonsetcurrent_scheduled_nodes)
6265
- [Metric: `k8s.daemonset.desired_scheduled_nodes`](#metric-k8sdaemonsetdesired_scheduled_nodes)
@@ -935,6 +938,10 @@ This metric is [recommended][MetricRecommended].
935938
<!-- END AUTOGENERATED TEXT -->
936939
<!-- endsemconv -->
937940

941+
### Metric: `k8s.hpa.metric.target.cpu.value`
942+
943+
This metric is [opt-in][MetricOptIn].
944+
938945
<!-- semconv metric.k8s.hpa.metric.target.cpu.value -->
939946
<!-- NOTE: THIS TEXT IS AUTOGENERATED. DO NOT EDIT BY HAND. -->
940947
<!-- see templates/registry/markdown/snippet.md.j2 -->
@@ -965,6 +972,10 @@ the `k8s.container.name` attribute MUST be set to identify the specific containe
965972
<!-- END AUTOGENERATED TEXT -->
966973
<!-- endsemconv -->
967974

975+
### Metric: `k8s.hpa.metric.target.cpu.average_value`
976+
977+
This metric is [opt-in][MetricOptIn].
978+
968979
<!-- semconv metric.k8s.hpa.metric.target.cpu.average_value -->
969980
<!-- NOTE: THIS TEXT IS AUTOGENERATED. DO NOT EDIT BY HAND. -->
970981
<!-- see templates/registry/markdown/snippet.md.j2 -->
@@ -995,6 +1006,10 @@ the `k8s.container.name` attribute MUST be set to identify the specific containe
9951006
<!-- END AUTOGENERATED TEXT -->
9961007
<!-- endsemconv -->
9971008

1009+
### Metric: `k8s.hpa.metric.target.cpu.average_utilization`
1010+
1011+
This metric is [opt-in][MetricOptIn].
1012+
9981013
<!-- semconv metric.k8s.hpa.metric.target.cpu.average_utilization -->
9991014
<!-- NOTE: THIS TEXT IS AUTOGENERATED. DO NOT EDIT BY HAND. -->
10001015
<!-- see templates/registry/markdown/snippet.md.j2 -->
@@ -2082,3 +2097,4 @@ The value represents the current observed total usage of the resource in the nam
20822097

20832098
[DocumentStatus]: https://opentelemetry.io/docs/specs/otel/document-status
20842099
[MetricRecommended]: /docs/general/metric-requirement-level.md#recommended
2100+
[MetricOptIn]: /docs/general/metric-requirement-level.md#optin

0 commit comments

Comments
 (0)