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