You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/registry/entities/k8s.md
+6-14Lines changed: 6 additions & 14 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -51,17 +51,13 @@ conflict.
51
51
52
52
**Description:** A container in a [PodTemplate](https://kubernetes.io/docs/concepts/workloads/pods/#pod-templates).
53
53
54
-
> [!warning]
55
-
> This entity definition contains attributes without a role.
56
-
> Stable Entities MUST NOT have attributes without a defined role.
57
-
58
54
**Attributes:**
59
55
60
56
| Role | Key | Stability |[Requirement Level](https://opentelemetry.io/docs/specs/semconv/general/attribute-requirement-level/)| Value Type | Description | Example Values |
61
57
| --- | --- | --- | --- | --- | --- | --- |
62
-
|Other|[`k8s.container.name`](/docs/registry/attributes/k8s.md)||`Recommended`| 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`|
63
-
|Other|[`k8s.container.restart_count`](/docs/registry/attributes/k8s.md)||`Recommended`| 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. ||
64
-
|Other|[`k8s.container.status.last_terminated_reason`](/docs/registry/attributes/k8s.md)||`Recommended`| string | Last terminated reason of the Container. |`Evicted`; `Error`|
58
+
|Identity|[`k8s.container.name`](/docs/registry/attributes/k8s.md)||`Recommended`| 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`|
59
+
|Identity|[`k8s.container.restart_count`](/docs/registry/attributes/k8s.md)||`Recommended`| 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. ||
60
+
|Description|[`k8s.container.status.last_terminated_reason`](/docs/registry/attributes/k8s.md)||`Recommended`| string | Last terminated reason of the Container. |`Evicted`; `Error`|
65
61
66
62
## K8s Cronjob
67
63
@@ -219,17 +215,13 @@ conflict.
219
215
220
216
**Description:** A Kubernetes Namespace.
221
217
222
-
> [!warning]
223
-
> This entity definition contains attributes without a role.
224
-
> Stable Entities MUST NOT have attributes without a defined role.
225
-
226
218
**Attributes:**
227
219
228
220
| Role | Key | Stability |[Requirement Level](https://opentelemetry.io/docs/specs/semconv/general/attribute-requirement-level/)| Value Type | Description | Example Values |
229
221
| --- | --- | --- | --- | --- | --- | --- |
230
-
|Other|[`k8s.namespace.name`](/docs/registry/attributes/k8s.md)||`Recommended`| string | The name of the namespace that the pod is running in. |`default`|
231
-
|Other|[`k8s.namespace.annotation.<key>`](/docs/registry/attributes/k8s.md)||`Opt-In`| string | The annotation placed on the Namespace, the `<key>` being the annotation name, the value being the annotation value, even if the value is empty. [13]|`0`; `` |
232
-
|Other|[`k8s.namespace.label.<key>`](/docs/registry/attributes/k8s.md)||`Opt-In`| string | The label placed on the Namespace, the `<key>` being the label name, the value being the label value, even if the value is empty. [14]|`default`; `` |
222
+
|Identity|[`k8s.namespace.name`](/docs/registry/attributes/k8s.md)||`Recommended`| string | The name of the namespace that the pod is running in. |`default`|
223
+
|Description|[`k8s.namespace.annotation.<key>`](/docs/registry/attributes/k8s.md)||`Opt-In`| string | The annotation placed on the Namespace, the `<key>` being the annotation name, the value being the annotation value, even if the value is empty. [13]|`0`; `` |
224
+
|Description|[`k8s.namespace.label.<key>`](/docs/registry/attributes/k8s.md)||`Opt-In`| string | The label placed on the Namespace, the `<key>` being the label name, the value being the label value, even if the value is empty. [14]|`default`; `` |
Copy file name to clipboardExpand all lines: docs/resource/k8s/README.md
+6-14Lines changed: 6 additions & 14 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -116,17 +116,13 @@ a namespace, but not across namespaces.
116
116
117
117
**Description:** A Kubernetes Namespace.
118
118
119
-
> [!warning]
120
-
> This entity definition contains attributes without a role.
121
-
> Stable Entities MUST NOT have attributes without a defined role.
122
-
123
119
**Attributes:**
124
120
125
121
| Role | Key | Stability |[Requirement Level](https://opentelemetry.io/docs/specs/semconv/general/attribute-requirement-level/)| Value Type | Description | Example Values |
126
122
| --- | --- | --- | --- | --- | --- | --- |
127
-
|Other|[`k8s.namespace.name`](/docs/registry/attributes/k8s.md)||`Recommended`| string | The name of the namespace that the pod is running in. |`default`|
128
-
|Other|[`k8s.namespace.annotation.<key>`](/docs/registry/attributes/k8s.md)||`Opt-In`| string | The annotation placed on the Namespace, the `<key>` being the annotation name, the value being the annotation value, even if the value is empty. [1]|`0`; `` |
129
-
|Other|[`k8s.namespace.label.<key>`](/docs/registry/attributes/k8s.md)||`Opt-In`| string | The label placed on the Namespace, the `<key>` being the label name, the value being the label value, even if the value is empty. [2]|`default`; `` |
123
+
|Identity|[`k8s.namespace.name`](/docs/registry/attributes/k8s.md)||`Recommended`| string | The name of the namespace that the pod is running in. |`default`|
124
+
|Description|[`k8s.namespace.annotation.<key>`](/docs/registry/attributes/k8s.md)||`Opt-In`| string | The annotation placed on the Namespace, the `<key>` being the annotation name, the value being the annotation value, even if the value is empty. [1]|`0`; `` |
125
+
|Description|[`k8s.namespace.label.<key>`](/docs/registry/attributes/k8s.md)||`Opt-In`| string | The label placed on the Namespace, the `<key>` being the label name, the value being the label value, even if the value is empty. [2]|`default`; `` |
**Description:** A container in a [PodTemplate](https://kubernetes.io/docs/concepts/workloads/pods/#pod-templates).
213
209
214
-
> [!warning]
215
-
> This entity definition contains attributes without a role.
216
-
> Stable Entities MUST NOT have attributes without a defined role.
217
-
218
210
**Attributes:**
219
211
220
212
| Role | Key | Stability |[Requirement Level](https://opentelemetry.io/docs/specs/semconv/general/attribute-requirement-level/)| Value Type | Description | Example Values |
221
213
| --- | --- | --- | --- | --- | --- | --- |
222
-
|Other|[`k8s.container.name`](/docs/registry/attributes/k8s.md)||`Recommended`| 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`|
223
-
|Other|[`k8s.container.restart_count`](/docs/registry/attributes/k8s.md)||`Recommended`| 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. ||
224
-
|Other|[`k8s.container.status.last_terminated_reason`](/docs/registry/attributes/k8s.md)||`Recommended`| string | Last terminated reason of the Container. |`Evicted`; `Error`|
214
+
|Identity|[`k8s.container.name`](/docs/registry/attributes/k8s.md)||`Recommended`| 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`|
215
+
|Identity|[`k8s.container.restart_count`](/docs/registry/attributes/k8s.md)||`Recommended`| 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. ||
216
+
|Description|[`k8s.container.status.last_terminated_reason`](/docs/registry/attributes/k8s.md)||`Recommended`| string | Last terminated reason of the Container. |`Evicted`; `Error`|
0 commit comments