telegraf/plugins/inputs/jolokia2/jolokia2_agent
Joshua Powers 2fc19fa308
chore: correctly spell embed (#11200)
2022-05-27 07:13:47 -06:00
..
README.md feat: migrate input plugins to new sample config format (A-L) (#10924) 2022-04-07 16:01:21 -06:00
jolokia2_agent.go chore: correctly spell embed (#11200) 2022-05-27 07:13:47 -06:00
sample.conf chore: Embed sample configurations into README for inputs (#11136) 2022-05-24 08:49:47 -05:00

README.md

Jolokia2 Proxy input plugin

The jolokia2_proxy input plugin reads JMX metrics from one or more targets by interacting with a Jolokia proxy REST endpoint.

Configuration

# Read JMX metrics from a Jolokia REST agent endpoint
[[inputs.jolokia2_agent]]
  # default_tag_prefix      = ""
  # default_field_prefix    = ""
  # default_field_separator = "."

  # Add agents URLs to query
  urls = ["http://localhost:8080/jolokia"]
  # username = ""
  # password = ""
  # response_timeout = "5s"

  ## Optional TLS config
  # tls_ca   = "/var/private/ca.pem"
  # tls_cert = "/var/private/client.pem"
  # tls_key  = "/var/private/client-key.pem"
  # insecure_skip_verify = false

  ## Add metrics to read
  [[inputs.jolokia2_agent.metric]]
    name  = "java_runtime"
    mbean = "java.lang:type=Runtime"
    paths = ["Uptime"]