Add deprecation notice to jolokia sample config

This commit is contained in:
Daniel Nelson 2017-09-29 16:08:31 -07:00
parent 29b6f4168c
commit e1bf655ef9
No known key found for this signature in database
GPG Key ID: CAAD59C9444F6155
1 changed files with 4 additions and 0 deletions

View File

@ -60,6 +60,10 @@ type Jolokia struct {
} }
const sampleConfig = ` 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 ## 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 Jolokia requires a trailing slash at the end of the context root
## NOTE that your jolokia security policy must allow for POST requests. ## NOTE that your jolokia security policy must allow for POST requests.