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-13Lines changed: 6 additions & 13 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -51,16 +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: This entity definition contains attributes without a role.
55
-
> Stable Entities MUST NOT have attributes without a defined role.
56
-
57
54
**Attributes:**
58
55
59
56
| Role | Key | Stability |[Requirement Level](https://opentelemetry.io/docs/specs/semconv/general/attribute-requirement-level/)| Value Type | Description | Example Values |
60
57
| --- | --- | --- | --- | --- | --- | --- |
61
-
|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`|
62
-
|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. ||
63
-
|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`|
64
61
65
62
## K8s Cronjob
66
63
@@ -218,17 +215,13 @@ conflict.
218
215
219
216
**Description:** A Kubernetes Namespace.
220
217
221
-
> :warning: This entity definition contains attributes without a role.
222
-
> Stable Entities MUST NOT have attributes without a defined role.
223
-
224
218
**Attributes:**
225
219
226
220
| Role | Key | Stability |[Requirement Level](https://opentelemetry.io/docs/specs/semconv/general/attribute-requirement-level/)| Value Type | Description | Example Values |
227
221
| --- | --- | --- | --- | --- | --- | --- |
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`; `` |
231
-
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-13Lines changed: 6 additions & 13 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -124,17 +124,13 @@ a namespace, but not across namespaces.
124
124
125
125
**Description:** A Kubernetes Namespace.
126
126
127
-
> :warning: This entity definition contains attributes without a role.
128
-
> Stable Entities MUST NOT have attributes without a defined role.
129
-
130
127
**Attributes:**
131
128
132
129
| Role | Key | Stability |[Requirement Level](https://opentelemetry.io/docs/specs/semconv/general/attribute-requirement-level/)| Value Type | Description | Example Values |
133
130
| --- | --- | --- | --- | --- | --- | --- |
134
-
| Other |[`k8s.namespace.name`](/docs/registry/attributes/k8s.md)||`Recommended`| string | The name of the namespace that the pod is running in. |`default`|
135
-
| 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`; `` |
136
-
| 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`; `` |
137
-
131
+
| Identity |[`k8s.namespace.name`](/docs/registry/attributes/k8s.md)||`Recommended`| string | The name of the namespace that the pod is running in. |`default`|
132
+
| 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`; `` |
133
+
| 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).
227
223
228
-
> :warning: This entity definition contains attributes without a role.
229
-
> Stable Entities MUST NOT have attributes without a defined role.
230
-
231
224
**Attributes:**
232
225
233
226
| Role | Key | Stability |[Requirement Level](https://opentelemetry.io/docs/specs/semconv/general/attribute-requirement-level/)| Value Type | Description | Example Values |
234
227
| --- | --- | --- | --- | --- | --- | --- |
235
-
|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`|
236
-
|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. ||
237
-
|Other|[`k8s.container.status.last_terminated_reason`](/docs/registry/attributes/k8s.md)||`Recommended`| string | Last terminated reason of the Container. |`Evicted`; `Error`|
228
+
|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`|
229
+
|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. ||
230
+
|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