From a6335adcf5e73138e7602a09ee24bd663af5eb42 Mon Sep 17 00:00:00 2001 From: Daniel Nelson Date: Thu, 13 Dec 2018 11:51:53 -0800 Subject: [PATCH] Update changelog --- CHANGELOG.md | 1 + plugins/inputs/diskio/README.md | 4 +--- plugins/inputs/diskio/diskio.go | 2 ++ 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index dcd0b27e2bb64..8a3d3328d18f4 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -8,6 +8,7 @@ - [#5024](https://github.com/influxdata/telegraf/pull/5024): Add option to store cpu as a tag in interrupts input. - [#5074](https://github.com/influxdata/telegraf/pull/5074): Add support for sending a request body to http input. - [#5069](https://github.com/influxdata/telegraf/pull/5069): Add running field to procstat_lookup. +- [#5116](https://github.com/influxdata/telegraf/pull/5116): Include DEVLINKS in available diskio udev properties. ## v1.9.2 [unreleased] diff --git a/plugins/inputs/diskio/README.md b/plugins/inputs/diskio/README.md index 95ed16ec07a16..07bc714566749 100644 --- a/plugins/inputs/diskio/README.md +++ b/plugins/inputs/diskio/README.md @@ -20,9 +20,7 @@ The diskio input plugin gathers metrics about disk traffic and timing. ## available properties for a device by running: ## 'udevadm info -q property -n /dev/sda' ## Note: Most, but not all, udev properties can be accessed this way. Properties - ## that are currently inaccessible include DEVTYPE, DEVNAME, and DEVPATH. - ## DEVLINKS, however, can be used as a tag as of Telegraf 1.10 - ## For more info see https://github.com/influxdata/telegraf/issues/3663 + ## that are currently inaccessible include DEVTYPE, DEVNAME, and DEVPATH. # device_tags = ["ID_FS_TYPE", "ID_FS_USAGE"] # ## Using the same metadata source as device_tags, you can also customize the diff --git a/plugins/inputs/diskio/diskio.go b/plugins/inputs/diskio/diskio.go index 54e74d5185f3f..e0c6243bb83c0 100644 --- a/plugins/inputs/diskio/diskio.go +++ b/plugins/inputs/diskio/diskio.go @@ -46,6 +46,8 @@ var diskIOsampleConfig = ` ## Currently only Linux is supported via udev properties. You can view ## available properties for a device by running: ## 'udevadm info -q property -n /dev/sda' + ## Note: Most, but not all, udev properties can be accessed this way. Properties + ## that are currently inaccessible include DEVTYPE, DEVNAME, and DEVPATH. # device_tags = ["ID_FS_TYPE", "ID_FS_USAGE"] # ## Using the same metadata source as device_tags, you can also customize the