Fix name error in jolokia2_agent sample config (#3624)
(cherry picked from commit 6c075c4346
)
This commit is contained in:
parent
5d6622eb44
commit
ce4ca43a5d
|
@ -1661,7 +1661,7 @@
|
|||
# # insecure_skip_verify = false
|
||||
#
|
||||
# ## Add metrics to read
|
||||
# [[inputs.jolokia2.metric]]
|
||||
# [[inputs.jolokia2_agent.metric]]
|
||||
# name = "java_runtime"
|
||||
# mbean = "java.lang:type=Runtime"
|
||||
# paths = ["Uptime"]
|
||||
|
|
|
@ -46,7 +46,7 @@ func (ja *JolokiaAgent) SampleConfig() string {
|
|||
# insecure_skip_verify = false
|
||||
|
||||
## Add metrics to read
|
||||
[[inputs.jolokia2.metric]]
|
||||
[[inputs.jolokia2_agent.metric]]
|
||||
name = "java_runtime"
|
||||
mbean = "java.lang:type=Runtime"
|
||||
paths = ["Uptime"]
|
||||
|
|
Loading…
Reference in New Issue