From 23b0e1bc7a1d09f29bc93ea632908e61c30ddd08 Mon Sep 17 00:00:00 2001 From: Daniel Nelson Date: Mon, 13 Nov 2017 11:02:01 -0800 Subject: [PATCH] Update changelog --- CHANGELOG.md | 1 + plugins/inputs/procstat/procstat.go | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index d02acae9a..996fe1b88 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -57,6 +57,7 @@ - [#3305](https://github.com/influxdata/telegraf/pull/3305): Add modification_time field to filestat input plugin. - [#2019](https://github.com/influxdata/telegraf/pull/2019): Add Solr input plugin. - [#3210](https://github.com/influxdata/telegraf/pull/3210): Add CrateDB output plugin. +- [#3459](https://github.com/influxdata/telegraf/pull/3459): Add systemd unit pid and cgroup matching to procstat. ### Bugfixes diff --git a/plugins/inputs/procstat/procstat.go b/plugins/inputs/procstat/procstat.go index 5df7d05e4..ca303d49f 100644 --- a/plugins/inputs/procstat/procstat.go +++ b/plugins/inputs/procstat/procstat.go @@ -49,8 +49,8 @@ var sampleConfig = ` # user = "nginx" ## Systemd unit name # systemd_unit = "nginx.service" - ## CGroup name or path - # cgroup = "systemd/system.slice/nginx.service" + ## CGroup name or path + # cgroup = "systemd/system.slice/nginx.service" ## override for process_name ## This is optional; default is sourced from /proc//status