[chore] Bring a few attributes that were removed back (as deprecated) (#770)
This commit is contained in:
parent
399978fb27
commit
f98fc43b18
|
|
@ -100,7 +100,7 @@ different processes could be listening on TCP port 12345 and UDP port 12345.
|
||||||
|
|
||||||
## Deprecated Network Attributes
|
## Deprecated Network Attributes
|
||||||
|
|
||||||
<!-- semconv network-deprecated(omit_requirement_level) -->
|
<!-- semconv attributes.network.deprecated(omit_requirement_level) -->
|
||||||
| Attribute | Type | Description | Examples |
|
| Attribute | Type | Description | Examples |
|
||||||
|---|---|---|---|
|
|---|---|---|---|
|
||||||
| `net.host.name` | string | <br>Deprecated, use `server.address`. | `example.com` |
|
| `net.host.name` | string | <br>Deprecated, use `server.address`. | `example.com` |
|
||||||
|
|
|
||||||
|
|
@ -0,0 +1,10 @@
|
||||||
|
groups:
|
||||||
|
- id: attributes.container.deprecated
|
||||||
|
type: attribute_group
|
||||||
|
brief: "Describes deprecated container attributes."
|
||||||
|
attributes:
|
||||||
|
- id: container.labels
|
||||||
|
type: template[string]
|
||||||
|
examples: [ 'container.label.app=nginx' ]
|
||||||
|
brief: "Deprecated, use `container.label` instead."
|
||||||
|
deprecated: "Replaced by `container.label`."
|
||||||
|
|
@ -0,0 +1,10 @@
|
||||||
|
groups:
|
||||||
|
- id: attributes.k8s.deprecated
|
||||||
|
type: attribute_group
|
||||||
|
brief: "Describes deprecated k8s attributes."
|
||||||
|
attributes:
|
||||||
|
- id: k8s.pod.labels
|
||||||
|
type: template[string]
|
||||||
|
examples: ['k8s.pod.label.app=my-app']
|
||||||
|
brief: "Deprecated, use `k8s.pod.label` instead."
|
||||||
|
deprecated: "Replaced by `k8s.pod.label`."
|
||||||
|
|
@ -1,5 +1,5 @@
|
||||||
groups:
|
groups:
|
||||||
- id: network-deprecated
|
- id: attributes.network.deprecated
|
||||||
prefix: net
|
prefix: net
|
||||||
type: attribute_group
|
type: attribute_group
|
||||||
brief: >
|
brief: >
|
||||||
|
|
|
||||||
|
|
@ -0,0 +1,20 @@
|
||||||
|
groups:
|
||||||
|
- id: attributes.system.deprecated
|
||||||
|
type: attribute_group
|
||||||
|
brief: "Deprecated system attributes."
|
||||||
|
attributes:
|
||||||
|
- id: system.processes.status
|
||||||
|
type:
|
||||||
|
allow_custom_values: true
|
||||||
|
members:
|
||||||
|
- id: running
|
||||||
|
value: 'running'
|
||||||
|
- id: sleeping
|
||||||
|
value: 'sleeping'
|
||||||
|
- id: stopped
|
||||||
|
value: 'stopped'
|
||||||
|
- id: defunct
|
||||||
|
value: 'defunct'
|
||||||
|
brief: "Deprecated, use `system.process.status` instead."
|
||||||
|
deprecated: "Replaced by `system.process.status`."
|
||||||
|
examples: ["running"]
|
||||||
Loading…
Reference in New Issue