Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[chore] Bring a few attributes that were removed back (as deprecated) #770

Merged
merged 4 commits into from
Feb 28, 2024
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions model/registry/deprecated/container.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
groups:
- id: deprecated.container.attributes
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`."
10 changes: 10 additions & 0 deletions model/registry/deprecated/k8s.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
groups:
- id: deprecated.k8s.attributes
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`."
20 changes: 20 additions & 0 deletions model/registry/deprecated/system.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
groups:
- id: attributes.system.deprecated
lmolkova marked this conversation as resolved.
Show resolved Hide resolved
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