15 lines
625 B
Text
15 lines
625 B
Text
# Read specific statistics per cgroup
|
|
# This plugin ONLY supports Linux
|
|
[[inputs.cgroup]]
|
|
## Directories in which to look for files, globs are supported.
|
|
## Consider restricting paths to the set of cgroups you really
|
|
## want to monitor if you have a large number of cgroups, to avoid
|
|
## any cardinality issues.
|
|
# paths = [
|
|
# "/sys/fs/cgroup/memory",
|
|
# "/sys/fs/cgroup/memory/child1",
|
|
# "/sys/fs/cgroup/memory/child2/*",
|
|
# ]
|
|
## cgroup stat fields, as file names, globs are supported.
|
|
## these file names are appended to each path from above.
|
|
# files = ["memory.*usage*", "memory.limit_in_bytes"]
|