From e6912e1cd55e4c5c126763200c752e5127d06df4 Mon Sep 17 00:00:00 2001 From: Daniel Nelson Date: Fri, 29 Sep 2017 16:08:31 -0700 Subject: [PATCH] Add deprecation notice to jolokia sample config --- plugins/inputs/jolokia/jolokia.go | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/plugins/inputs/jolokia/jolokia.go b/plugins/inputs/jolokia/jolokia.go index a538d8191..a9eb0b24b 100644 --- a/plugins/inputs/jolokia/jolokia.go +++ b/plugins/inputs/jolokia/jolokia.go @@ -60,6 +60,10 @@ type Jolokia struct { } const sampleConfig = ` + # DEPRECATED: the jolokia plugin has been deprecated in favor of the + # jolokia2 plugin + # see https://github.com/influxdata/telegraf/tree/master/plugins/inputs/jolokia2 + ## This is the context root used to compose the jolokia url ## NOTE that Jolokia requires a trailing slash at the end of the context root ## NOTE that your jolokia security policy must allow for POST requests.