Skip to content

Commit d72035e

Browse files
authored
Add warning to metric provider 'CpuTimeCgroupSystemProvider' (#118)
1 parent 61a1d94 commit d72035e

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

content/en/docs/measuring/metric-providers/cpu-time-cgroup-system.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,10 @@ images: []
77
weight: 131
88
---
99

10+
{{< callout context="caution" icon="outline/alert-triangle" >}}
11+
This metric provider is only for debug purposes and prone to change!
12+
{{< /callout >}}
13+
1014
### What it does
1115

1216
This metric provider reads time spent in the CPU based on the cgroups stats file for all your cgroups. More information about cgroups can be found in the [Linux manual pages](https://www.man7.org/linux/man-pages/man7/cgroups.7.html).
@@ -21,6 +25,10 @@ This metric provider reads time spent in the CPU based on the cgroups stats file
2125

2226
### Input Parameters
2327

28+
{{< callout context="note" icon="outline/info-circle" >}}
29+
Unlike the other cgroup system metric providers, this metric provider does not currently accept the ‘-s’ argument for cgroup filtering. Instead, it can only read system-wide stats.
30+
{{< /callout >}}
31+
2432
- args
2533
- `-i`: interval in milliseconds
2634

0 commit comments

Comments
 (0)