Add deprecation notice to jolokia sample config

This commit is contained in:
Daniel Nelson 2017-09-29 16:08:31 -07:00
parent 1b1840e939
commit e6912e1cd5
1 changed files with 4 additions and 0 deletions

View File

@ -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.