Skip to content

Commit

Permalink
Add brief note for the states
Browse files Browse the repository at this point in the history
Signed-off-by: ChrsMark <[email protected]>
  • Loading branch information
ChrsMark committed Feb 1, 2024
1 parent 7fa701b commit 23a5752
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
6 changes: 3 additions & 3 deletions docs/system/container-metrics.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,9 +30,9 @@ This metric is optional.

| Value | Description |
|---|---|
| `user` | user |
| `system` | system |
| `kernel` | kernel |
| `user` | When tasks of the cgroup are in user mode (Linux). When all container processes are in user mode (Windows). |
| `system` | When CPU is used by the system |
| `kernel` | When tasks of the cgroup are in kernel mode (Linux). When all container processes are in kernel mode (Windows). |
<!-- endsemconv -->

### Metric: `container.memory.utilization`
Expand Down
3 changes: 3 additions & 0 deletions model/metrics/container.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,13 @@ groups:
members:
- id: user
value: 'user'
brief: "When tasks of the cgroup are in user mode (Linux). When all container processes are in user mode (Windows)."
- id: system
value: 'system'
brief: "When CPU is used by the system"
- id: kernel
value: 'kernel'
brief: "When tasks of the cgroup are in kernel mode (Linux). When all container processes are in kernel mode (Windows)."
brief: "The state of the CPU"
examples: ["user", "kernel"]
- id: metric.container.cpu.time
Expand Down

0 comments on commit 23a5752

Please sign in to comment.