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
@@ -49,17 +49,13 @@ conflict.
49
49
50
50
**Description:** A container in a [PodTemplate](https://kubernetes.io/docs/concepts/workloads/pods/#pod-templates).
51
51
52
-
> [!warning]
53
-
> This entity definition contains attributes without a role.
54
-
> Stable Entities MUST NOT have attributes without a defined role.
55
-
56
52
**Attributes:**
57
53
58
54
| Role | Key | Stability |[Requirement Level](https://opentelemetry.io/docs/specs/semconv/general/attribute-requirement-level/)| Value Type | Description | Example Values |
59
55
| --- | --- | --- | --- | --- | --- | --- |
60
-
|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`|
61
-
|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. ||
62
-
|Other|[`k8s.container.status.last_terminated_reason`](/docs/registry/attributes/k8s.md)||`Recommended`| string | Last terminated reason of the Container. |`Evicted`; `Error`|
56
+
|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`|
57
+
|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. ||
58
+
|Description|[`k8s.container.status.last_terminated_reason`](/docs/registry/attributes/k8s.md)||`Recommended`| string | Last terminated reason of the Container. |`Evicted`; `Error`|
63
59
64
60
## K8s Cronjob
65
61
@@ -217,17 +213,13 @@ conflict.
217
213
218
214
**Description:** A Kubernetes Namespace.
219
215
220
-
> [!warning]
221
-
> This entity definition contains attributes without a role.
222
-
> Stable Entities MUST NOT have attributes without a defined role.
223
-
224
216
**Attributes:**
225
217
226
218
| Role | Key | Stability |[Requirement Level](https://opentelemetry.io/docs/specs/semconv/general/attribute-requirement-level/)| Value Type | Description | Example Values |
227
219
| --- | --- | --- | --- | --- | --- | --- |
228
-
|Other|[`k8s.namespace.name`](/docs/registry/attributes/k8s.md)||`Recommended`| string | The name of the namespace that the pod is running in. |`default`|
229
-
|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`; `` |
230
-
|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`; `` |
220
+
|Identity|[`k8s.namespace.name`](/docs/registry/attributes/k8s.md)||`Recommended`| string | The name of the namespace that the pod is running in. |`default`|
221
+
|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`; `` |
222
+
|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).
233
229
234
-
> [!warning]
235
-
> This entity definition contains attributes without a role.
236
-
> Stable Entities MUST NOT have attributes without a defined role.
237
-
238
230
**Attributes:**
239
231
240
232
| Role | Key | Stability |[Requirement Level](https://opentelemetry.io/docs/specs/semconv/general/attribute-requirement-level/)| Value Type | Description | Example Values |
241
233
| --- | --- | --- | --- | --- | --- | --- |
242
-
|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`|
243
-
|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. ||
244
-
|Other|[`k8s.container.status.last_terminated_reason`](/docs/registry/attributes/k8s.md)||`Recommended`| string | Last terminated reason of the Container. |`Evicted`; `Error`|
234
+
|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`|
235
+
|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. ||
236
+
|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