From 281f4d368819c8880c0e14f85bc44697a5fd7667 Mon Sep 17 00:00:00 2001 From: Pierre Tessier Date: Fri, 2 Feb 2018 13:51:00 -0500 Subject: [PATCH] Fix example source_override values in wavefront output (#3744) --- plugins/outputs/wavefront/README.md | 2 +- plugins/outputs/wavefront/wavefront.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/plugins/outputs/wavefront/README.md b/plugins/outputs/wavefront/README.md index 6b673b12a..be8fcd7dc 100644 --- a/plugins/outputs/wavefront/README.md +++ b/plugins/outputs/wavefront/README.md @@ -32,7 +32,7 @@ This plugin writes to a [Wavefront](https://www.wavefront.com) proxy, in Wavefro #use_regex = false ## point tags to use as the source name for Wavefront (if none found, host will be used) - #source_override = ["hostname", "snmp_host", "node_host"] + #source_override = ["hostname", "agent_host", "node_host"] ## whether to convert boolean values to numeric values, with false -> 0.0 and true -> 1.0. default is true #convert_bool = true diff --git a/plugins/outputs/wavefront/wavefront.go b/plugins/outputs/wavefront/wavefront.go index 475e28253..7f1f8c077 100644 --- a/plugins/outputs/wavefront/wavefront.go +++ b/plugins/outputs/wavefront/wavefront.go @@ -68,7 +68,7 @@ var sampleConfig = ` #use_regex = false ## point tags to use as the source name for Wavefront (if none found, host will be used) - #source_override = ["hostname", "snmp_host", "node_host"] + #source_override = ["hostname", "agent_host", "node_host"] ## whether to convert boolean values to numeric values, with false -> 0.0 and true -> 1.0. default true #convert_bool = true