refactor cgroup build so non-linux systems see plugin

also updated the README for the fields->files change.
This commit is contained in:
Cameron Sparr
2016-06-23 11:41:37 +01:00
parent 30cc00d11b
commit f7e057ec55
5 changed files with 267 additions and 241 deletions

View File

@@ -526,6 +526,19 @@
# socket_suffix = "asok"
# # Read specific statistics per cgroup
# [[inputs.cgroup]]
# ## Directories in which to look for files, globs are supported.
# # paths = [
# # "/cgroup/memory",
# # "/cgroup/memory/child1",
# # "/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"]
# # Pull Metric Statistics from Amazon CloudWatch
# [[inputs.cloudwatch]]
# ## Amazon Region