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/attributes-registry/k8s.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -21,8 +21,8 @@ Kubernetes resource attributes.
21
21
| <aid="k8s-cronjob-uid"href="#k8s-cronjob-uid">`k8s.cronjob.uid`</a> | string | The UID of the CronJob. |`275ecb36-5aa8-4c2a-9c47-d8bb681b9aff`||
22
22
| <aid="k8s-daemonset-name"href="#k8s-daemonset-name">`k8s.daemonset.name`</a> | string | The name of the DaemonSet. |`opentelemetry`||
23
23
| <aid="k8s-daemonset-uid"href="#k8s-daemonset-uid">`k8s.daemonset.uid`</a> | string | The UID of the DaemonSet. |`275ecb36-5aa8-4c2a-9c47-d8bb681b9aff`||
24
-
| <aid="k8s-deployment-annotation"href="#k8s-deployment-annotation">`k8s.deployment.annotation.<key>`</a> | string | The annotation key-value pairs placed on the Deployment. [2]|`k8s.deployment.annotation.replicas=1`; `k8s.deployment.annotation.data=`||
25
-
| <aid="k8s-deployment-label"href="#k8s-deployment-label">`k8s.deployment.label.<key>`</a> | string | The label key-value pairs placed on the Deployment. [3]|`k8s.deployment.label.app=guestbook`; `k8s.deployment.label.injected=`||
24
+
| <aid="k8s-deployment-annotation"href="#k8s-deployment-annotation">`k8s.deployment.annotation.<key>`</a> | string | The annotation key-value pairs placed on the Deployment. [2]|`loadbalancer`; `` ||
25
+
| <aid="k8s-deployment-label"href="#k8s-deployment-label">`k8s.deployment.label.<key>`</a> | string | The label key-value pairs placed on the Deployment. [3]|`guestbook`; `` ||
26
26
| <aid="k8s-deployment-name"href="#k8s-deployment-name">`k8s.deployment.name`</a> | string | The name of the Deployment. |`opentelemetry`||
27
27
| <aid="k8s-deployment-uid"href="#k8s-deployment-uid">`k8s.deployment.uid`</a> | string | The UID of the Deployment. |`275ecb36-5aa8-4c2a-9c47-d8bb681b9aff`||
28
28
| <aid="k8s-hpa-name"href="#k8s-hpa-name">`k8s.hpa.name`</a> | string | The name of the horizontal pod autoscaler. |`opentelemetry`||
|[`k8s.deployment.label.<key>`](/docs/attributes-registry/k8s.md)| string | The label key-value pairs placed on the Deployment. [1]|`k8s.deployment.label.app=guestbook`; `k8s.deployment.label.injected=`|`Recommended`||
241
240
|[`k8s.deployment.name`](/docs/attributes-registry/k8s.md)| string | The name of the Deployment. |`opentelemetry`|`Recommended`||
242
241
|[`k8s.deployment.uid`](/docs/attributes-registry/k8s.md)| string | The UID of the Deployment. |`275ecb36-5aa8-4c2a-9c47-d8bb681b9aff`|`Recommended`||
243
-
|[`k8s.deployment.annotation.<key>`](/docs/attributes-registry/k8s.md)| string | The annotation key-value pairs placed on the Deployment. [2]|`k8s.deployment.annotation.replicas=1`; `k8s.deployment.annotation.data=`|`Opt-In`||
242
+
|[`k8s.deployment.annotation.<key>`](/docs/attributes-registry/k8s.md)| string | The annotation key-value pairs placed on the Deployment. [1]|`loadbalancer`; `` |`Opt-In`||
243
+
|[`k8s.deployment.label.<key>`](/docs/attributes-registry/k8s.md)| string | The label key-value pairs placed on the Deployment. [2]|`guestbook`; `` |`Opt-In`||
244
244
245
-
**[1]`k8s.deployment.label`:** The `<key>` being the label name, the value being the label value, even if the value is empty.
245
+
**[1]`k8s.deployment.annotation`:** The `<key>` being the annotation name, the value being the annotation value, even if the value is empty.
246
246
247
-
**[2]`k8s.deployment.annotation`:** The `<key>` being the annotation name, the value being the annotation value, even if the value is empty.
247
+
**[2]`k8s.deployment.label`:** The `<key>` being the label name, the value being the label value, even if the value is empty.
0 commit comments