From 604f4121c9c428b4d5df408561fbff65d3dc6518 Mon Sep 17 00:00:00 2001 From: ChrsMark Date: Tue, 14 Jan 2025 17:35:39 +0200 Subject: [PATCH 1/5] Add hpa, resource_quota, replication_controller k8s attributes Signed-off-by: ChrsMark --- .chloggen/add_k8s_resources.yaml | 22 ++++++++ docs/attributes-registry/k8s.md | 6 ++ docs/non-normative/k8s-migration.md | 40 ++++++++++++++ docs/resource/k8s.md | 85 +++++++++++++++++++++++++++++ docs/system/k8s-metrics.md | 18 ++++++ model/k8s/metrics.yaml | 18 ++++++ model/k8s/registry.yaml | 36 ++++++++++++ model/k8s/resources.yaml | 30 ++++++++++ 8 files changed, 255 insertions(+) create mode 100755 .chloggen/add_k8s_resources.yaml diff --git a/.chloggen/add_k8s_resources.yaml b/.chloggen/add_k8s_resources.yaml new file mode 100755 index 0000000000..46c3dfe87f --- /dev/null +++ b/.chloggen/add_k8s_resources.yaml @@ -0,0 +1,22 @@ +# Use this changelog template to create an entry for release notes. +# +# If your change doesn't affect end users you should instead start +# your pull request title with [chore] or use the "Skip Changelog" label. + +# One of 'breaking', 'deprecation', 'new_component', 'enhancement', 'bug_fix' +change_type: enhancement + +# The name of the area of concern in the attributes-registry, (e.g. http, cloud, db) +component: k8s + +# A brief description of the change. Surround your text with quotes ("") if it needs to start with a backtick (`). +note: Add hpa, resource_quota and replication_controller resource attributes + +# Mandatory: One or more tracking issues related to the change. You can use the PR number here if no issue exists. +# The values here must be integers. +issues: [1656] + +# (Optional) One or more lines of additional information to render under the primary note. +# These lines will be padded with 2 spaces and then inserted directly into the document. +# Use pipe (|) for multiline entries. +subtext: diff --git a/docs/attributes-registry/k8s.md b/docs/attributes-registry/k8s.md index ab3c706dc8..e6f4b53379 100644 --- a/docs/attributes-registry/k8s.md +++ b/docs/attributes-registry/k8s.md @@ -26,6 +26,8 @@ Kubernetes resource attributes. | `k8s.daemonset.uid` | string | The UID of the DaemonSet. | `275ecb36-5aa8-4c2a-9c47-d8bb681b9aff` | ![Experimental](https://img.shields.io/badge/-experimental-blue) | | `k8s.deployment.name` | string | The name of the Deployment. | `opentelemetry` | ![Experimental](https://img.shields.io/badge/-experimental-blue) | | `k8s.deployment.uid` | string | The UID of the Deployment. | `275ecb36-5aa8-4c2a-9c47-d8bb681b9aff` | ![Experimental](https://img.shields.io/badge/-experimental-blue) | +| `k8s.hpa.name` | string | The name of the horizontal pod autoscaler. | `opentelemetry` | ![Experimental](https://img.shields.io/badge/-experimental-blue) | +| `k8s.hpa.uid` | string | The UID of the horizontal pod autoscaler. | `275ecb36-5aa8-4c2a-9c47-d8bb681b9aff` | ![Experimental](https://img.shields.io/badge/-experimental-blue) | | `k8s.job.name` | string | The name of the Job. | `opentelemetry` | ![Experimental](https://img.shields.io/badge/-experimental-blue) | | `k8s.job.uid` | string | The UID of the Job. | `275ecb36-5aa8-4c2a-9c47-d8bb681b9aff` | ![Experimental](https://img.shields.io/badge/-experimental-blue) | | `k8s.namespace.name` | string | The name of the namespace that the pod is running in. | `default` | ![Experimental](https://img.shields.io/badge/-experimental-blue) | @@ -38,6 +40,10 @@ Kubernetes resource attributes. | `k8s.pod.uid` | string | The UID of the Pod. | `275ecb36-5aa8-4c2a-9c47-d8bb681b9aff` | ![Experimental](https://img.shields.io/badge/-experimental-blue) | | `k8s.replicaset.name` | string | The name of the ReplicaSet. | `opentelemetry` | ![Experimental](https://img.shields.io/badge/-experimental-blue) | | `k8s.replicaset.uid` | string | The UID of the ReplicaSet. | `275ecb36-5aa8-4c2a-9c47-d8bb681b9aff` | ![Experimental](https://img.shields.io/badge/-experimental-blue) | +| `k8s.replication_controller.name` | string | The name of the replication controller. | `opentelemetry` | ![Experimental](https://img.shields.io/badge/-experimental-blue) | +| `k8s.replication_controller.uid` | string | The UID of the replication controller. | `275ecb36-5aa8-4c2a-9c47-d8bb681b9aff` | ![Experimental](https://img.shields.io/badge/-experimental-blue) | +| `k8s.resource_quota.name` | string | The name of the resource quota. | `opentelemetry` | ![Experimental](https://img.shields.io/badge/-experimental-blue) | +| `k8s.resource_quota.uid` | string | The UID of the resource quota. | `275ecb36-5aa8-4c2a-9c47-d8bb681b9aff` | ![Experimental](https://img.shields.io/badge/-experimental-blue) | | `k8s.statefulset.name` | string | The name of the StatefulSet. | `opentelemetry` | ![Experimental](https://img.shields.io/badge/-experimental-blue) | | `k8s.statefulset.uid` | string | The UID of the StatefulSet. | `275ecb36-5aa8-4c2a-9c47-d8bb681b9aff` | ![Experimental](https://img.shields.io/badge/-experimental-blue) | | `k8s.volume.name` | string | The name of the K8s volume. | `volume0` | ![Experimental](https://img.shields.io/badge/-experimental-blue) | diff --git a/docs/non-normative/k8s-migration.md b/docs/non-normative/k8s-migration.md index 022be1d594..017e86e273 100644 --- a/docs/non-normative/k8s-migration.md +++ b/docs/non-normative/k8s-migration.md @@ -52,6 +52,8 @@ and one for disabling the old schema called `semconv.k8s.disableLegacy`. Then: - [K8s Job metrics](#k8s-job-metrics) - [K8s Cronjob metrics](#k8s-cronjob-metrics) - [K8s Namespace metrics](#k8s-namespace-metrics) + - [K8s ReplicationController attributes](#k8s-replicationcontroller-attributes) + - [K8s ResourceQuota attributes](#k8s-resourcequota-attributes) @@ -253,3 +255,41 @@ The changes in their metrics are the following: | `k8s.namespace.phase` (type: `gauge`), 1 for active and 0 for terminating | `k8s.namespace.phase` (type: `updowncounter`), with the attribute `k8s.namespace.phase` indicating the phase | + +### K8s ReplicationController attributes + +The K8s ReplicationController attributes implemented by the Collector and specifically the +[k8scluster](https://github.com/open-telemetry/opentelemetry-collector-contrib/blob/v0.115.0/receiver/k8sclusterreceiver/documentation.md) +receiver were introduced as semantic conventions in +[#1649](https://github.com/open-telemetry/semantic-conventions/pull/1742) (TODO: replace with SemConv version once +available). + +The changes are the following: + + + +| Old (Collector) ![changed](https://img.shields.io/badge/changed-orange?style=flat) | New | +|------------------------------------------------------------------------------------|-----------------------------------| +| `k8s.replicationcontroller.name` | `k8s.replication_controller.name` | +| `k8s.replicationcontroller.uid` | `k8s.replication_controller.uid` | + + + +### K8s ResourceQuota attributes + +The K8s ResourceQuota attributes implemented by the Collector and specifically the +[k8scluster](https://github.com/open-telemetry/opentelemetry-collector-contrib/blob/v0.115.0/receiver/k8sclusterreceiver/documentation.md) +receiver were introduced as semantic conventions in +[#1649](https://github.com/open-telemetry/semantic-conventions/pull/1742) (TODO: replace with SemConv version once +available). + +The changes are the following: + + + +| Old (Collector) ![changed](https://img.shields.io/badge/changed-orange?style=flat) | New | +|----------------------------------------------------------------------------------|-----------------------------------| +| `k8s.resourcequota.name` | `k8s.resource_quota.name` | +| `k8s.resourcequota.uid` | `k8s.resource_quota.uid` | + + diff --git a/docs/resource/k8s.md b/docs/resource/k8s.md index c06e680657..6cd573ec6e 100644 --- a/docs/resource/k8s.md +++ b/docs/resource/k8s.md @@ -353,4 +353,89 @@ A CronJob creates Jobs on a repeating schedule. +## ReplicationController + +A ReplicationController ensures that a specified number of pod replicas are running at any one time. + + + + + + + + + +**Status:** ![Experimental](https://img.shields.io/badge/-experimental-blue) + +**type:** `k8s.replication_controller` + +**Description:** A Kubernetes ReplicationController object. + +| Attribute | Type | Description | Examples | [Requirement Level](https://opentelemetry.io/docs/specs/semconv/general/attribute-requirement-level/) | Stability | +|---|---|---|---|---|---| +| [`k8s.replication_controller.name`](/docs/attributes-registry/k8s.md) | string | The name of the replication controller. | `opentelemetry` | `Recommended` | ![Experimental](https://img.shields.io/badge/-experimental-blue) | +| [`k8s.replication_controller.uid`](/docs/attributes-registry/k8s.md) | string | The UID of the replication controller. | `275ecb36-5aa8-4c2a-9c47-d8bb681b9aff` | `Recommended` | ![Experimental](https://img.shields.io/badge/-experimental-blue) | + + + + + + +## HorizontalPodAutoscaler + +A HorizontalPodAutoscaler (HPA for short) automatically updates a workload resource +(such as a Deployment or StatefulSet), with the aim of automatically scaling the workload to match demand. + + + + + + + + + +**Status:** ![Experimental](https://img.shields.io/badge/-experimental-blue) + +**type:** `k8s.hpa` + +**Description:** A Kubernetes HorizontalPodAutoscaler object. + +| Attribute | Type | Description | Examples | [Requirement Level](https://opentelemetry.io/docs/specs/semconv/general/attribute-requirement-level/) | Stability | +|---|---|---|---|---|---| +| [`k8s.hpa.name`](/docs/attributes-registry/k8s.md) | string | The name of the horizontal pod autoscaler. | `opentelemetry` | `Recommended` | ![Experimental](https://img.shields.io/badge/-experimental-blue) | +| [`k8s.hpa.uid`](/docs/attributes-registry/k8s.md) | string | The UID of the horizontal pod autoscaler. | `275ecb36-5aa8-4c2a-9c47-d8bb681b9aff` | `Recommended` | ![Experimental](https://img.shields.io/badge/-experimental-blue) | + + + + + + +## ResourceQuota + +A ResourceQuota provides constraints that limit aggregate resource consumption per namespace. + + + + + + + + + +**Status:** ![Experimental](https://img.shields.io/badge/-experimental-blue) + +**type:** `k8s.resource_quota` + +**Description:** A Kubernetes ResourceQuota object. + +| Attribute | Type | Description | Examples | [Requirement Level](https://opentelemetry.io/docs/specs/semconv/general/attribute-requirement-level/) | Stability | +|---|---|---|---|---|---| +| [`k8s.resource_quota.name`](/docs/attributes-registry/k8s.md) | string | The name of the resource quota. | `opentelemetry` | `Recommended` | ![Experimental](https://img.shields.io/badge/-experimental-blue) | +| [`k8s.resource_quota.uid`](/docs/attributes-registry/k8s.md) | string | The UID of the resource quota. | `275ecb36-5aa8-4c2a-9c47-d8bb681b9aff` | `Recommended` | ![Experimental](https://img.shields.io/badge/-experimental-blue) | + + + + + + [DocumentStatus]: https://opentelemetry.io/docs/specs/otel/document-status diff --git a/docs/system/k8s-metrics.md b/docs/system/k8s-metrics.md index 6211d31c6e..d225123927 100644 --- a/docs/system/k8s-metrics.md +++ b/docs/system/k8s-metrics.md @@ -526,6 +526,9 @@ This metric is [recommended][MetricRecommended]. **[1]:** This metric aligns with the `replicas` field of the [K8s ReplicationControllerSpec](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.30/#replicationcontrollerspec-v1-core) +This metric SHOULD, at a minimum, be reported against a +[`k8s.replication_controller`](../resource/k8s.md#replicationcontroller) resource. + @@ -549,6 +552,9 @@ This metric is [recommended][MetricRecommended]. **[1]:** This metric aligns with the `availableReplicas` field of the [K8s ReplicationControllerStatus](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.30/#replicationcontrollerstatus-v1-core) +This metric SHOULD, at a minimum, be reported against a +[`k8s.replication_controller`](../resource/k8s.md#replicationcontroller) resource. + @@ -684,6 +690,9 @@ This metric is [recommended][MetricRecommended]. **[1]:** This metric aligns with the `desiredReplicas` field of the [K8s HorizontalPodAutoscalerStatus](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.30/#horizontalpodautoscalerstatus-v2-autoscaling) +This metric SHOULD, at a minimum, be reported against a +[`k8s.hpa`](../resource/k8s.md#horizontalpodautoscaler) resource. + @@ -707,6 +716,9 @@ This metric is [recommended][MetricRecommended]. **[1]:** This metric aligns with the `currentReplicas` field of the [K8s HorizontalPodAutoscalerStatus](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.30/#horizontalpodautoscalerstatus-v2-autoscaling) +This metric SHOULD, at a minimum, be reported against a +[`k8s.hpa`](../resource/k8s.md#horizontalpodautoscaler) resource. + @@ -730,6 +742,9 @@ This metric is [recommended][MetricRecommended]. **[1]:** This metric aligns with the `maxReplicas` field of the [K8s HorizontalPodAutoscalerSpec](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.30/#horizontalpodautoscalerspec-v2-autoscaling) +This metric SHOULD, at a minimum, be reported against a +[`k8s.hpa`](../resource/k8s.md#horizontalpodautoscaler) resource. + @@ -753,6 +768,9 @@ This metric is [recommended][MetricRecommended]. **[1]:** This metric aligns with the `minReplicas` field of the [K8s HorizontalPodAutoscalerSpec](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.30/#horizontalpodautoscalerspec-v2-autoscaling) +This metric SHOULD, at a minimum, be reported against a +[`k8s.hpa`](../resource/k8s.md#horizontalpodautoscaler) resource. + diff --git a/model/k8s/metrics.yaml b/model/k8s/metrics.yaml index c091a5e4a0..d7720be1bf 100644 --- a/model/k8s/metrics.yaml +++ b/model/k8s/metrics.yaml @@ -193,6 +193,9 @@ groups: note: | This metric aligns with the `replicas` field of the [K8s ReplicationControllerSpec](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.30/#replicationcontrollerspec-v1-core) + + This metric SHOULD, at a minimum, be reported against a + [`k8s.replication_controller`](../resource/k8s.md#replicationcontroller) resource. instrument: updowncounter unit: "{pod}" - id: metric.k8s.replication_controller.available_pods @@ -204,6 +207,9 @@ groups: note: | This metric aligns with the `availableReplicas` field of the [K8s ReplicationControllerStatus](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.30/#replicationcontrollerstatus-v1-core) + + This metric SHOULD, at a minimum, be reported against a + [`k8s.replication_controller`](../resource/k8s.md#replicationcontroller) resource. instrument: updowncounter unit: "{pod}" @@ -271,6 +277,9 @@ groups: note: | This metric aligns with the `desiredReplicas` field of the [K8s HorizontalPodAutoscalerStatus](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.30/#horizontalpodautoscalerstatus-v2-autoscaling) + + This metric SHOULD, at a minimum, be reported against a + [`k8s.hpa`](../resource/k8s.md#horizontalpodautoscaler) resource. instrument: updowncounter unit: "{pod}" - id: metric.k8s.hpa.current_pods @@ -282,6 +291,9 @@ groups: note: | This metric aligns with the `currentReplicas` field of the [K8s HorizontalPodAutoscalerStatus](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.30/#horizontalpodautoscalerstatus-v2-autoscaling) + + This metric SHOULD, at a minimum, be reported against a + [`k8s.hpa`](../resource/k8s.md#horizontalpodautoscaler) resource. instrument: updowncounter unit: "{pod}" - id: metric.k8s.hpa.max_pods @@ -293,6 +305,9 @@ groups: note: | This metric aligns with the `maxReplicas` field of the [K8s HorizontalPodAutoscalerSpec](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.30/#horizontalpodautoscalerspec-v2-autoscaling) + + This metric SHOULD, at a minimum, be reported against a + [`k8s.hpa`](../resource/k8s.md#horizontalpodautoscaler) resource. instrument: updowncounter unit: "{pod}" - id: metric.k8s.hpa.min_pods @@ -304,6 +319,9 @@ groups: note: | This metric aligns with the `minReplicas` field of the [K8s HorizontalPodAutoscalerSpec](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.30/#horizontalpodautoscalerspec-v2-autoscaling) + + This metric SHOULD, at a minimum, be reported against a + [`k8s.hpa`](../resource/k8s.md#horizontalpodautoscaler) resource. instrument: updowncounter unit: "{pod}" diff --git a/model/k8s/registry.yaml b/model/k8s/registry.yaml index c9b639b697..d976e121d6 100644 --- a/model/k8s/registry.yaml +++ b/model/k8s/registry.yaml @@ -117,6 +117,30 @@ groups: brief: > The name of the ReplicaSet. examples: ['opentelemetry'] + - id: k8s.replication_controller.uid + type: string + stability: experimental + brief: > + The UID of the replication controller. + examples: [ '275ecb36-5aa8-4c2a-9c47-d8bb681b9aff' ] + - id: k8s.replication_controller.name + type: string + stability: experimental + brief: > + The name of the replication controller. + examples: [ 'opentelemetry' ] + - id: k8s.resource_quota.uid + type: string + stability: experimental + brief: > + The UID of the resource quota. + examples: [ '275ecb36-5aa8-4c2a-9c47-d8bb681b9aff' ] + - id: k8s.resource_quota.name + type: string + stability: experimental + brief: > + The name of the resource quota. + examples: [ 'opentelemetry' ] - id: k8s.deployment.uid type: string stability: experimental @@ -153,6 +177,18 @@ groups: brief: > The name of the DaemonSet. examples: ['opentelemetry'] + - id: k8s.hpa.uid + type: string + stability: experimental + brief: > + The UID of the horizontal pod autoscaler. + examples: ['275ecb36-5aa8-4c2a-9c47-d8bb681b9aff'] + - id: k8s.hpa.name + type: string + stability: experimental + brief: > + The name of the horizontal pod autoscaler. + examples: ['opentelemetry'] - id: k8s.job.uid type: string stability: experimental diff --git a/model/k8s/resources.yaml b/model/k8s/resources.yaml index 5448985baa..562adca093 100644 --- a/model/k8s/resources.yaml +++ b/model/k8s/resources.yaml @@ -111,3 +111,33 @@ groups: attributes: - ref: k8s.cronjob.uid - ref: k8s.cronjob.name + + - id: resource.k8s.replication_controller + type: resource + stability: experimental + name: k8s.replication_controller + brief: > + A Kubernetes ReplicationController object. + attributes: + - ref: k8s.replication_controller.uid + - ref: k8s.replication_controller.name + + - id: resource.k8s.hpa + type: resource + stability: experimental + name: k8s.hpa + brief: > + A Kubernetes HorizontalPodAutoscaler object. + attributes: + - ref: k8s.hpa.uid + - ref: k8s.hpa.name + + - id: resource.k8s.resource_quota + type: resource + stability: experimental + name: k8s.resource_quota + brief: > + A Kubernetes ResourceQuota object. + attributes: + - ref: k8s.resource_quota.uid + - ref: k8s.resource_quota.name From f6209e1192fcfec5bb49d5599f1d395567a68707 Mon Sep 17 00:00:00 2001 From: ChrsMark Date: Fri, 24 Jan 2025 12:01:28 +0200 Subject: [PATCH 2/5] follow k8s api naming Signed-off-by: ChrsMark --- docs/attributes-registry/k8s.md | 12 +++++----- docs/non-normative/k8s-migration.md | 34 ++++++----------------------- docs/resource/k8s.md | 24 ++++++++++---------- model/k8s/registry.yaml | 12 +++++----- model/k8s/resources.yaml | 24 ++++++++++---------- 5 files changed, 43 insertions(+), 63 deletions(-) diff --git a/docs/attributes-registry/k8s.md b/docs/attributes-registry/k8s.md index e6f4b53379..b8b4d0d9b9 100644 --- a/docs/attributes-registry/k8s.md +++ b/docs/attributes-registry/k8s.md @@ -26,8 +26,8 @@ Kubernetes resource attributes. | `k8s.daemonset.uid` | string | The UID of the DaemonSet. | `275ecb36-5aa8-4c2a-9c47-d8bb681b9aff` | ![Experimental](https://img.shields.io/badge/-experimental-blue) | | `k8s.deployment.name` | string | The name of the Deployment. | `opentelemetry` | ![Experimental](https://img.shields.io/badge/-experimental-blue) | | `k8s.deployment.uid` | string | The UID of the Deployment. | `275ecb36-5aa8-4c2a-9c47-d8bb681b9aff` | ![Experimental](https://img.shields.io/badge/-experimental-blue) | -| `k8s.hpa.name` | string | The name of the horizontal pod autoscaler. | `opentelemetry` | ![Experimental](https://img.shields.io/badge/-experimental-blue) | -| `k8s.hpa.uid` | string | The UID of the horizontal pod autoscaler. | `275ecb36-5aa8-4c2a-9c47-d8bb681b9aff` | ![Experimental](https://img.shields.io/badge/-experimental-blue) | +| `k8s.horizontalpodautoscaler.name` | string | The name of the horizontal pod autoscaler. | `opentelemetry` | ![Experimental](https://img.shields.io/badge/-experimental-blue) | +| `k8s.horizontalpodautoscaler.uid` | string | The UID of the horizontal pod autoscaler. | `275ecb36-5aa8-4c2a-9c47-d8bb681b9aff` | ![Experimental](https://img.shields.io/badge/-experimental-blue) | | `k8s.job.name` | string | The name of the Job. | `opentelemetry` | ![Experimental](https://img.shields.io/badge/-experimental-blue) | | `k8s.job.uid` | string | The UID of the Job. | `275ecb36-5aa8-4c2a-9c47-d8bb681b9aff` | ![Experimental](https://img.shields.io/badge/-experimental-blue) | | `k8s.namespace.name` | string | The name of the namespace that the pod is running in. | `default` | ![Experimental](https://img.shields.io/badge/-experimental-blue) | @@ -40,10 +40,10 @@ Kubernetes resource attributes. | `k8s.pod.uid` | string | The UID of the Pod. | `275ecb36-5aa8-4c2a-9c47-d8bb681b9aff` | ![Experimental](https://img.shields.io/badge/-experimental-blue) | | `k8s.replicaset.name` | string | The name of the ReplicaSet. | `opentelemetry` | ![Experimental](https://img.shields.io/badge/-experimental-blue) | | `k8s.replicaset.uid` | string | The UID of the ReplicaSet. | `275ecb36-5aa8-4c2a-9c47-d8bb681b9aff` | ![Experimental](https://img.shields.io/badge/-experimental-blue) | -| `k8s.replication_controller.name` | string | The name of the replication controller. | `opentelemetry` | ![Experimental](https://img.shields.io/badge/-experimental-blue) | -| `k8s.replication_controller.uid` | string | The UID of the replication controller. | `275ecb36-5aa8-4c2a-9c47-d8bb681b9aff` | ![Experimental](https://img.shields.io/badge/-experimental-blue) | -| `k8s.resource_quota.name` | string | The name of the resource quota. | `opentelemetry` | ![Experimental](https://img.shields.io/badge/-experimental-blue) | -| `k8s.resource_quota.uid` | string | The UID of the resource quota. | `275ecb36-5aa8-4c2a-9c47-d8bb681b9aff` | ![Experimental](https://img.shields.io/badge/-experimental-blue) | +| `k8s.replicationcontroller.name` | string | The name of the replication controller. | `opentelemetry` | ![Experimental](https://img.shields.io/badge/-experimental-blue) | +| `k8s.replicationcontroller.uid` | string | The UID of the replication controller. | `275ecb36-5aa8-4c2a-9c47-d8bb681b9aff` | ![Experimental](https://img.shields.io/badge/-experimental-blue) | +| `k8s.resourcequota.name` | string | The name of the resource quota. | `opentelemetry` | ![Experimental](https://img.shields.io/badge/-experimental-blue) | +| `k8s.resourcequota.uid` | string | The UID of the resource quota. | `275ecb36-5aa8-4c2a-9c47-d8bb681b9aff` | ![Experimental](https://img.shields.io/badge/-experimental-blue) | | `k8s.statefulset.name` | string | The name of the StatefulSet. | `opentelemetry` | ![Experimental](https://img.shields.io/badge/-experimental-blue) | | `k8s.statefulset.uid` | string | The UID of the StatefulSet. | `275ecb36-5aa8-4c2a-9c47-d8bb681b9aff` | ![Experimental](https://img.shields.io/badge/-experimental-blue) | | `k8s.volume.name` | string | The name of the K8s volume. | `volume0` | ![Experimental](https://img.shields.io/badge/-experimental-blue) | diff --git a/docs/non-normative/k8s-migration.md b/docs/non-normative/k8s-migration.md index 017e86e273..7b8da1a8ad 100644 --- a/docs/non-normative/k8s-migration.md +++ b/docs/non-normative/k8s-migration.md @@ -52,8 +52,7 @@ and one for disabling the old schema called `semconv.k8s.disableLegacy`. Then: - [K8s Job metrics](#k8s-job-metrics) - [K8s Cronjob metrics](#k8s-cronjob-metrics) - [K8s Namespace metrics](#k8s-namespace-metrics) - - [K8s ReplicationController attributes](#k8s-replicationcontroller-attributes) - - [K8s ResourceQuota attributes](#k8s-resourcequota-attributes) + - [K8s HorizontalPodAutoscaler attributes](#k8s-horizontalpodautoscaler-attributes) @@ -256,9 +255,9 @@ The changes in their metrics are the following: -### K8s ReplicationController attributes +### K8s HorizontalPodAutoscaler attributes -The K8s ReplicationController attributes implemented by the Collector and specifically the +The K8s HorizontalPodAutoscaler attributes implemented by the Collector and specifically the [k8scluster](https://github.com/open-telemetry/opentelemetry-collector-contrib/blob/v0.115.0/receiver/k8sclusterreceiver/documentation.md) receiver were introduced as semantic conventions in [#1649](https://github.com/open-telemetry/semantic-conventions/pull/1742) (TODO: replace with SemConv version once @@ -268,28 +267,9 @@ The changes are the following: -| Old (Collector) ![changed](https://img.shields.io/badge/changed-orange?style=flat) | New | -|------------------------------------------------------------------------------------|-----------------------------------| -| `k8s.replicationcontroller.name` | `k8s.replication_controller.name` | -| `k8s.replicationcontroller.uid` | `k8s.replication_controller.uid` | - - - -### K8s ResourceQuota attributes - -The K8s ResourceQuota attributes implemented by the Collector and specifically the -[k8scluster](https://github.com/open-telemetry/opentelemetry-collector-contrib/blob/v0.115.0/receiver/k8sclusterreceiver/documentation.md) -receiver were introduced as semantic conventions in -[#1649](https://github.com/open-telemetry/semantic-conventions/pull/1742) (TODO: replace with SemConv version once -available). - -The changes are the following: - - - -| Old (Collector) ![changed](https://img.shields.io/badge/changed-orange?style=flat) | New | -|----------------------------------------------------------------------------------|-----------------------------------| -| `k8s.resourcequota.name` | `k8s.resource_quota.name` | -| `k8s.resourcequota.uid` | `k8s.resource_quota.uid` | +| Old (Collector) ![changed](https://img.shields.io/badge/changed-orange?style=flat) | New | +|------------------------------------------------------------------------------------|------------------------------------| +| `k8s.horizontalpodautoscaler.name` | `k8s.horizontalpodautoscaler.name` | +| `k8s.horizontalpodautoscaler.uid` | `k8s.horizontalpodautoscaler.uid` | diff --git a/docs/resource/k8s.md b/docs/resource/k8s.md index 6cd573ec6e..cd41a5a379 100644 --- a/docs/resource/k8s.md +++ b/docs/resource/k8s.md @@ -357,7 +357,7 @@ A CronJob creates Jobs on a repeating schedule. A ReplicationController ensures that a specified number of pod replicas are running at any one time. - + @@ -367,14 +367,14 @@ A ReplicationController ensures that a specified number of pod replicas are runn **Status:** ![Experimental](https://img.shields.io/badge/-experimental-blue) -**type:** `k8s.replication_controller` +**type:** `k8s.replicationcontroller` **Description:** A Kubernetes ReplicationController object. | Attribute | Type | Description | Examples | [Requirement Level](https://opentelemetry.io/docs/specs/semconv/general/attribute-requirement-level/) | Stability | |---|---|---|---|---|---| -| [`k8s.replication_controller.name`](/docs/attributes-registry/k8s.md) | string | The name of the replication controller. | `opentelemetry` | `Recommended` | ![Experimental](https://img.shields.io/badge/-experimental-blue) | -| [`k8s.replication_controller.uid`](/docs/attributes-registry/k8s.md) | string | The UID of the replication controller. | `275ecb36-5aa8-4c2a-9c47-d8bb681b9aff` | `Recommended` | ![Experimental](https://img.shields.io/badge/-experimental-blue) | +| [`k8s.replicationcontroller.name`](/docs/attributes-registry/k8s.md) | string | The name of the replication controller. | `opentelemetry` | `Recommended` | ![Experimental](https://img.shields.io/badge/-experimental-blue) | +| [`k8s.replicationcontroller.uid`](/docs/attributes-registry/k8s.md) | string | The UID of the replication controller. | `275ecb36-5aa8-4c2a-9c47-d8bb681b9aff` | `Recommended` | ![Experimental](https://img.shields.io/badge/-experimental-blue) | @@ -386,7 +386,7 @@ A ReplicationController ensures that a specified number of pod replicas are runn A HorizontalPodAutoscaler (HPA for short) automatically updates a workload resource (such as a Deployment or StatefulSet), with the aim of automatically scaling the workload to match demand. - + @@ -396,14 +396,14 @@ A HorizontalPodAutoscaler (HPA for short) automatically updates a workload resou **Status:** ![Experimental](https://img.shields.io/badge/-experimental-blue) -**type:** `k8s.hpa` +**type:** `k8s.horizontalpodautoscaler` **Description:** A Kubernetes HorizontalPodAutoscaler object. | Attribute | Type | Description | Examples | [Requirement Level](https://opentelemetry.io/docs/specs/semconv/general/attribute-requirement-level/) | Stability | |---|---|---|---|---|---| -| [`k8s.hpa.name`](/docs/attributes-registry/k8s.md) | string | The name of the horizontal pod autoscaler. | `opentelemetry` | `Recommended` | ![Experimental](https://img.shields.io/badge/-experimental-blue) | -| [`k8s.hpa.uid`](/docs/attributes-registry/k8s.md) | string | The UID of the horizontal pod autoscaler. | `275ecb36-5aa8-4c2a-9c47-d8bb681b9aff` | `Recommended` | ![Experimental](https://img.shields.io/badge/-experimental-blue) | +| [`k8s.horizontalpodautoscaler.name`](/docs/attributes-registry/k8s.md) | string | The name of the horizontal pod autoscaler. | `opentelemetry` | `Recommended` | ![Experimental](https://img.shields.io/badge/-experimental-blue) | +| [`k8s.horizontalpodautoscaler.uid`](/docs/attributes-registry/k8s.md) | string | The UID of the horizontal pod autoscaler. | `275ecb36-5aa8-4c2a-9c47-d8bb681b9aff` | `Recommended` | ![Experimental](https://img.shields.io/badge/-experimental-blue) | @@ -414,7 +414,7 @@ A HorizontalPodAutoscaler (HPA for short) automatically updates a workload resou A ResourceQuota provides constraints that limit aggregate resource consumption per namespace. - + @@ -424,14 +424,14 @@ A ResourceQuota provides constraints that limit aggregate resource consumption p **Status:** ![Experimental](https://img.shields.io/badge/-experimental-blue) -**type:** `k8s.resource_quota` +**type:** `k8s.resourcequota` **Description:** A Kubernetes ResourceQuota object. | Attribute | Type | Description | Examples | [Requirement Level](https://opentelemetry.io/docs/specs/semconv/general/attribute-requirement-level/) | Stability | |---|---|---|---|---|---| -| [`k8s.resource_quota.name`](/docs/attributes-registry/k8s.md) | string | The name of the resource quota. | `opentelemetry` | `Recommended` | ![Experimental](https://img.shields.io/badge/-experimental-blue) | -| [`k8s.resource_quota.uid`](/docs/attributes-registry/k8s.md) | string | The UID of the resource quota. | `275ecb36-5aa8-4c2a-9c47-d8bb681b9aff` | `Recommended` | ![Experimental](https://img.shields.io/badge/-experimental-blue) | +| [`k8s.resourcequota.name`](/docs/attributes-registry/k8s.md) | string | The name of the resource quota. | `opentelemetry` | `Recommended` | ![Experimental](https://img.shields.io/badge/-experimental-blue) | +| [`k8s.resourcequota.uid`](/docs/attributes-registry/k8s.md) | string | The UID of the resource quota. | `275ecb36-5aa8-4c2a-9c47-d8bb681b9aff` | `Recommended` | ![Experimental](https://img.shields.io/badge/-experimental-blue) | diff --git a/model/k8s/registry.yaml b/model/k8s/registry.yaml index d976e121d6..4b75dceb5b 100644 --- a/model/k8s/registry.yaml +++ b/model/k8s/registry.yaml @@ -117,25 +117,25 @@ groups: brief: > The name of the ReplicaSet. examples: ['opentelemetry'] - - id: k8s.replication_controller.uid + - id: k8s.replicationcontroller.uid type: string stability: experimental brief: > The UID of the replication controller. examples: [ '275ecb36-5aa8-4c2a-9c47-d8bb681b9aff' ] - - id: k8s.replication_controller.name + - id: k8s.replicationcontroller.name type: string stability: experimental brief: > The name of the replication controller. examples: [ 'opentelemetry' ] - - id: k8s.resource_quota.uid + - id: k8s.resourcequota.uid type: string stability: experimental brief: > The UID of the resource quota. examples: [ '275ecb36-5aa8-4c2a-9c47-d8bb681b9aff' ] - - id: k8s.resource_quota.name + - id: k8s.resourcequota.name type: string stability: experimental brief: > @@ -177,13 +177,13 @@ groups: brief: > The name of the DaemonSet. examples: ['opentelemetry'] - - id: k8s.hpa.uid + - id: k8s.horizontalpodautoscaler.uid type: string stability: experimental brief: > The UID of the horizontal pod autoscaler. examples: ['275ecb36-5aa8-4c2a-9c47-d8bb681b9aff'] - - id: k8s.hpa.name + - id: k8s.horizontalpodautoscaler.name type: string stability: experimental brief: > diff --git a/model/k8s/resources.yaml b/model/k8s/resources.yaml index 562adca093..e6c6517a9e 100644 --- a/model/k8s/resources.yaml +++ b/model/k8s/resources.yaml @@ -112,32 +112,32 @@ groups: - ref: k8s.cronjob.uid - ref: k8s.cronjob.name - - id: resource.k8s.replication_controller + - id: resource.k8s.replicationcontroller type: resource stability: experimental - name: k8s.replication_controller + name: k8s.replicationcontroller brief: > A Kubernetes ReplicationController object. attributes: - - ref: k8s.replication_controller.uid - - ref: k8s.replication_controller.name + - ref: k8s.replicationcontroller.uid + - ref: k8s.replicationcontroller.name - - id: resource.k8s.hpa + - id: resource.k8s.horizontalpodautoscaler type: resource stability: experimental - name: k8s.hpa + name: k8s.horizontalpodautoscaler brief: > A Kubernetes HorizontalPodAutoscaler object. attributes: - - ref: k8s.hpa.uid - - ref: k8s.hpa.name + - ref: k8s.horizontalpodautoscaler.uid + - ref: k8s.horizontalpodautoscaler.name - - id: resource.k8s.resource_quota + - id: resource.k8s.resourcequota type: resource stability: experimental - name: k8s.resource_quota + name: k8s.resourcequota brief: > A Kubernetes ResourceQuota object. attributes: - - ref: k8s.resource_quota.uid - - ref: k8s.resource_quota.name + - ref: k8s.resourcequota.uid + - ref: k8s.resourcequota.name From 6b470cae7ab44f1389840cf8e6b607aa3e0e8d6b Mon Sep 17 00:00:00 2001 From: ChrsMark Date: Mon, 27 Jan 2025 10:31:15 +0200 Subject: [PATCH 3/5] move back to hpa Signed-off-by: ChrsMark --- .chloggen/add_k8s_resources.yaml | 2 +- docs/attributes-registry/k8s.md | 4 ++-- docs/non-normative/k8s-migration.md | 20 -------------------- docs/resource/k8s.md | 8 ++++---- model/k8s/registry.yaml | 4 ++-- model/k8s/resources.yaml | 8 ++++---- 6 files changed, 13 insertions(+), 33 deletions(-) diff --git a/.chloggen/add_k8s_resources.yaml b/.chloggen/add_k8s_resources.yaml index 46c3dfe87f..754e98301a 100755 --- a/.chloggen/add_k8s_resources.yaml +++ b/.chloggen/add_k8s_resources.yaml @@ -10,7 +10,7 @@ change_type: enhancement component: k8s # A brief description of the change. Surround your text with quotes ("") if it needs to start with a backtick (`). -note: Add hpa, resource_quota and replication_controller resource attributes +note: Add hpa, resourcequota and replicationcontroller resource attributes # Mandatory: One or more tracking issues related to the change. You can use the PR number here if no issue exists. # The values here must be integers. diff --git a/docs/attributes-registry/k8s.md b/docs/attributes-registry/k8s.md index b8b4d0d9b9..4f0ad55325 100644 --- a/docs/attributes-registry/k8s.md +++ b/docs/attributes-registry/k8s.md @@ -26,8 +26,8 @@ Kubernetes resource attributes. | `k8s.daemonset.uid` | string | The UID of the DaemonSet. | `275ecb36-5aa8-4c2a-9c47-d8bb681b9aff` | ![Experimental](https://img.shields.io/badge/-experimental-blue) | | `k8s.deployment.name` | string | The name of the Deployment. | `opentelemetry` | ![Experimental](https://img.shields.io/badge/-experimental-blue) | | `k8s.deployment.uid` | string | The UID of the Deployment. | `275ecb36-5aa8-4c2a-9c47-d8bb681b9aff` | ![Experimental](https://img.shields.io/badge/-experimental-blue) | -| `k8s.horizontalpodautoscaler.name` | string | The name of the horizontal pod autoscaler. | `opentelemetry` | ![Experimental](https://img.shields.io/badge/-experimental-blue) | -| `k8s.horizontalpodautoscaler.uid` | string | The UID of the horizontal pod autoscaler. | `275ecb36-5aa8-4c2a-9c47-d8bb681b9aff` | ![Experimental](https://img.shields.io/badge/-experimental-blue) | +| `k8s.hpa.name` | string | The name of the horizontal pod autoscaler. | `opentelemetry` | ![Experimental](https://img.shields.io/badge/-experimental-blue) | +| `k8s.hpa.uid` | string | The UID of the horizontal pod autoscaler. | `275ecb36-5aa8-4c2a-9c47-d8bb681b9aff` | ![Experimental](https://img.shields.io/badge/-experimental-blue) | | `k8s.job.name` | string | The name of the Job. | `opentelemetry` | ![Experimental](https://img.shields.io/badge/-experimental-blue) | | `k8s.job.uid` | string | The UID of the Job. | `275ecb36-5aa8-4c2a-9c47-d8bb681b9aff` | ![Experimental](https://img.shields.io/badge/-experimental-blue) | | `k8s.namespace.name` | string | The name of the namespace that the pod is running in. | `default` | ![Experimental](https://img.shields.io/badge/-experimental-blue) | diff --git a/docs/non-normative/k8s-migration.md b/docs/non-normative/k8s-migration.md index 7b8da1a8ad..022be1d594 100644 --- a/docs/non-normative/k8s-migration.md +++ b/docs/non-normative/k8s-migration.md @@ -52,7 +52,6 @@ and one for disabling the old schema called `semconv.k8s.disableLegacy`. Then: - [K8s Job metrics](#k8s-job-metrics) - [K8s Cronjob metrics](#k8s-cronjob-metrics) - [K8s Namespace metrics](#k8s-namespace-metrics) - - [K8s HorizontalPodAutoscaler attributes](#k8s-horizontalpodautoscaler-attributes) @@ -254,22 +253,3 @@ The changes in their metrics are the following: | `k8s.namespace.phase` (type: `gauge`), 1 for active and 0 for terminating | `k8s.namespace.phase` (type: `updowncounter`), with the attribute `k8s.namespace.phase` indicating the phase | - -### K8s HorizontalPodAutoscaler attributes - -The K8s HorizontalPodAutoscaler attributes implemented by the Collector and specifically the -[k8scluster](https://github.com/open-telemetry/opentelemetry-collector-contrib/blob/v0.115.0/receiver/k8sclusterreceiver/documentation.md) -receiver were introduced as semantic conventions in -[#1649](https://github.com/open-telemetry/semantic-conventions/pull/1742) (TODO: replace with SemConv version once -available). - -The changes are the following: - - - -| Old (Collector) ![changed](https://img.shields.io/badge/changed-orange?style=flat) | New | -|------------------------------------------------------------------------------------|------------------------------------| -| `k8s.horizontalpodautoscaler.name` | `k8s.horizontalpodautoscaler.name` | -| `k8s.horizontalpodautoscaler.uid` | `k8s.horizontalpodautoscaler.uid` | - - diff --git a/docs/resource/k8s.md b/docs/resource/k8s.md index cd41a5a379..9cf66d0ed4 100644 --- a/docs/resource/k8s.md +++ b/docs/resource/k8s.md @@ -386,7 +386,7 @@ A ReplicationController ensures that a specified number of pod replicas are runn A HorizontalPodAutoscaler (HPA for short) automatically updates a workload resource (such as a Deployment or StatefulSet), with the aim of automatically scaling the workload to match demand. - + @@ -396,14 +396,14 @@ A HorizontalPodAutoscaler (HPA for short) automatically updates a workload resou **Status:** ![Experimental](https://img.shields.io/badge/-experimental-blue) -**type:** `k8s.horizontalpodautoscaler` +**type:** `k8s.hpa` **Description:** A Kubernetes HorizontalPodAutoscaler object. | Attribute | Type | Description | Examples | [Requirement Level](https://opentelemetry.io/docs/specs/semconv/general/attribute-requirement-level/) | Stability | |---|---|---|---|---|---| -| [`k8s.horizontalpodautoscaler.name`](/docs/attributes-registry/k8s.md) | string | The name of the horizontal pod autoscaler. | `opentelemetry` | `Recommended` | ![Experimental](https://img.shields.io/badge/-experimental-blue) | -| [`k8s.horizontalpodautoscaler.uid`](/docs/attributes-registry/k8s.md) | string | The UID of the horizontal pod autoscaler. | `275ecb36-5aa8-4c2a-9c47-d8bb681b9aff` | `Recommended` | ![Experimental](https://img.shields.io/badge/-experimental-blue) | +| [`k8s.hpa.name`](/docs/attributes-registry/k8s.md) | string | The name of the horizontal pod autoscaler. | `opentelemetry` | `Recommended` | ![Experimental](https://img.shields.io/badge/-experimental-blue) | +| [`k8s.hpa.uid`](/docs/attributes-registry/k8s.md) | string | The UID of the horizontal pod autoscaler. | `275ecb36-5aa8-4c2a-9c47-d8bb681b9aff` | `Recommended` | ![Experimental](https://img.shields.io/badge/-experimental-blue) | diff --git a/model/k8s/registry.yaml b/model/k8s/registry.yaml index 4b75dceb5b..4ec017fdc3 100644 --- a/model/k8s/registry.yaml +++ b/model/k8s/registry.yaml @@ -177,13 +177,13 @@ groups: brief: > The name of the DaemonSet. examples: ['opentelemetry'] - - id: k8s.horizontalpodautoscaler.uid + - id: k8s.hpa.uid type: string stability: experimental brief: > The UID of the horizontal pod autoscaler. examples: ['275ecb36-5aa8-4c2a-9c47-d8bb681b9aff'] - - id: k8s.horizontalpodautoscaler.name + - id: k8s.hpa.name type: string stability: experimental brief: > diff --git a/model/k8s/resources.yaml b/model/k8s/resources.yaml index e6c6517a9e..fe71451088 100644 --- a/model/k8s/resources.yaml +++ b/model/k8s/resources.yaml @@ -122,15 +122,15 @@ groups: - ref: k8s.replicationcontroller.uid - ref: k8s.replicationcontroller.name - - id: resource.k8s.horizontalpodautoscaler + - id: resource.k8s.hpa type: resource stability: experimental - name: k8s.horizontalpodautoscaler + name: k8s.hpa brief: > A Kubernetes HorizontalPodAutoscaler object. attributes: - - ref: k8s.horizontalpodautoscaler.uid - - ref: k8s.horizontalpodautoscaler.name + - ref: k8s.hpa.uid + - ref: k8s.hpa.name - id: resource.k8s.resourcequota type: resource From 6f02b777ca75cc926e211ad423a31f2552493ebc Mon Sep 17 00:00:00 2001 From: ChrsMark Date: Mon, 27 Jan 2025 10:35:33 +0200 Subject: [PATCH 4/5] fix ref Signed-off-by: ChrsMark --- docs/system/k8s-metrics.md | 4 ++-- model/k8s/metrics.yaml | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/docs/system/k8s-metrics.md b/docs/system/k8s-metrics.md index d225123927..90ae0b3b26 100644 --- a/docs/system/k8s-metrics.md +++ b/docs/system/k8s-metrics.md @@ -527,7 +527,7 @@ This metric is [recommended][MetricRecommended]. [K8s ReplicationControllerSpec](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.30/#replicationcontrollerspec-v1-core) This metric SHOULD, at a minimum, be reported against a -[`k8s.replication_controller`](../resource/k8s.md#replicationcontroller) resource. +[`k8s.replicationcontroller`](../resource/k8s.md#replicationcontroller) resource. @@ -553,7 +553,7 @@ This metric is [recommended][MetricRecommended]. [K8s ReplicationControllerStatus](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.30/#replicationcontrollerstatus-v1-core) This metric SHOULD, at a minimum, be reported against a -[`k8s.replication_controller`](../resource/k8s.md#replicationcontroller) resource. +[`k8s.replicationcontroller`](../resource/k8s.md#replicationcontroller) resource. diff --git a/model/k8s/metrics.yaml b/model/k8s/metrics.yaml index d7720be1bf..008e5bd277 100644 --- a/model/k8s/metrics.yaml +++ b/model/k8s/metrics.yaml @@ -195,7 +195,7 @@ groups: [K8s ReplicationControllerSpec](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.30/#replicationcontrollerspec-v1-core) This metric SHOULD, at a minimum, be reported against a - [`k8s.replication_controller`](../resource/k8s.md#replicationcontroller) resource. + [`k8s.replicationcontroller`](../resource/k8s.md#replicationcontroller) resource. instrument: updowncounter unit: "{pod}" - id: metric.k8s.replication_controller.available_pods @@ -209,7 +209,7 @@ groups: [K8s ReplicationControllerStatus](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.30/#replicationcontrollerstatus-v1-core) This metric SHOULD, at a minimum, be reported against a - [`k8s.replication_controller`](../resource/k8s.md#replicationcontroller) resource. + [`k8s.replicationcontroller`](../resource/k8s.md#replicationcontroller) resource. instrument: updowncounter unit: "{pod}" From 41a2967c62cfcf3306f5ed4a3ab0a6bb3509432b Mon Sep 17 00:00:00 2001 From: Christos Markou Date: Tue, 28 Jan 2025 08:12:11 +0200 Subject: [PATCH 5/5] Update .chloggen/add_k8s_resources.yaml Co-authored-by: Liudmila Molkova --- .chloggen/add_k8s_resources.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.chloggen/add_k8s_resources.yaml b/.chloggen/add_k8s_resources.yaml index 754e98301a..298d568bd5 100755 --- a/.chloggen/add_k8s_resources.yaml +++ b/.chloggen/add_k8s_resources.yaml @@ -10,7 +10,7 @@ change_type: enhancement component: k8s # A brief description of the change. Surround your text with quotes ("") if it needs to start with a backtick (`). -note: Add hpa, resourcequota and replicationcontroller resource attributes +note: Add `k8s.hpa`, `k8s.resourcequota` and `k8s.replicationcontroller` attributes and resources # Mandatory: One or more tracking issues related to the change. You can use the PR number here if no issue exists. # The values here must be integers.