From 99284a12efaf01658e77635b024e7bd28e704c1c Mon Sep 17 00:00:00 2001 From: Povilas Versockas Date: Tue, 4 Jun 2024 07:23:59 +0300 Subject: [PATCH] remove k8s.container.status.current_waiting_reason resource attribute --- .chloggen/k8s-waiting-status.yaml | 22 ---------------------- docs/resource/k8s.md | 1 - model/registry/k8s.yaml | 6 ------ model/resource/k8s.yaml | 1 - 4 files changed, 30 deletions(-) delete mode 100755 .chloggen/k8s-waiting-status.yaml diff --git a/.chloggen/k8s-waiting-status.yaml b/.chloggen/k8s-waiting-status.yaml deleted file mode 100755 index 850b089300..0000000000 --- a/.chloggen/k8s-waiting-status.yaml +++ /dev/null @@ -1,22 +0,0 @@ -# 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 k8s.container.status.current_waiting_reason resource attribute" - -# 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: [996] - -# (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/resource/k8s.md b/docs/resource/k8s.md index 61792dc54c..dbff0c9cbf 100644 --- a/docs/resource/k8s.md +++ b/docs/resource/k8s.md @@ -167,7 +167,6 @@ to a running container. |---|---|---|---|---|---| | [`k8s.container.name`](/docs/attributes-registry/k8s.md) | string | The name of the Container from Pod specification, must be unique within a Pod. Container runtime usually uses different globally unique name (`container.name`). | `redis` | `Recommended` | ![Experimental](https://img.shields.io/badge/-experimental-blue) | | [`k8s.container.restart_count`](/docs/attributes-registry/k8s.md) | int | Number of times the container was restarted. This attribute can be used to identify a particular container (running or stopped) within a container spec. | | `Recommended` | ![Experimental](https://img.shields.io/badge/-experimental-blue) | -| [`k8s.container.status.current_waiting_reason`](/docs/attributes-registry/k8s.md) | string | Current waiting reason of the Container. | `CrashLoopBackOff` | `Recommended` | ![Experimental](https://img.shields.io/badge/-experimental-blue) | | [`k8s.container.status.last_terminated_reason`](/docs/attributes-registry/k8s.md) | string | Last terminated reason of the Container. | `Evicted`; `Error` | `Recommended` | ![Experimental](https://img.shields.io/badge/-experimental-blue) | diff --git a/model/registry/k8s.yaml b/model/registry/k8s.yaml index e38a1dadff..8b7de837f2 100644 --- a/model/registry/k8s.yaml +++ b/model/registry/k8s.yaml @@ -104,12 +104,6 @@ groups: brief: > Last terminated reason of the Container. examples: ["Evicted", "Error"] - - id: container.status.current_waiting_reason - type: string - stability: experimental - brief: > - Current waiting reason of the Container. - examples: ["CrashLoopBackOff"] - id: replicaset.uid type: string diff --git a/model/resource/k8s.yaml b/model/resource/k8s.yaml index 8a874b152a..d94425e007 100644 --- a/model/resource/k8s.yaml +++ b/model/resource/k8s.yaml @@ -46,7 +46,6 @@ groups: - ref: k8s.container.name - ref: k8s.container.restart_count - ref: k8s.container.status.last_terminated_reason - - ref: k8s.container.status.current_waiting_reason - id: k8s.replicaset prefix: k8s.replicaset