"use strict";(self.webpackChunkinfluxdb_ui=self.webpackChunkinfluxdb_ui||[]).push([[340],{71637:e=>{e.exports='# Read JMX metrics from a Jolokia REST agent endpoint\n[[inputs.jolokia2_agent]]\n  # default_tag_prefix      = ""\n  # default_field_prefix    = ""\n  # default_field_separator = "."\n\n  # Add agents URLs to query\n  urls = ["http://localhost:8080/jolokia"]\n  # username = ""\n  # password = ""\n  # response_timeout = "5s"\n\n  ## Optional TLS config\n  # tls_ca   = "/var/private/ca.pem"\n  # tls_cert = "/var/private/client.pem"\n  # tls_key  = "/var/private/client-key.pem"\n  # insecure_skip_verify = false\n\n  ## Add metrics to read\n  [[inputs.jolokia2_agent.metric]]\n    name  = "java_runtime"\n    mbean = "java.lang:type=Runtime"\n    paths = ["Uptime"]\n\n\n# Read JMX metrics from a Jolokia REST proxy endpoint\n[[inputs.jolokia2_proxy]]\n  # default_tag_prefix      = ""\n  # default_field_prefix    = ""\n  # default_field_separator = "."\n\n  ## Proxy agent\n  url = "http://localhost:8080/jolokia"\n  # username = ""\n  # password = ""\n  # response_timeout = "5s"\n\n  ## Optional TLS config\n  # tls_ca   = "/var/private/ca.pem"\n  # tls_cert = "/var/private/client.pem"\n  # tls_key  = "/var/private/client-key.pem"\n  # insecure_skip_verify = false\n\n  ## Add proxy targets to query\n  # default_target_username = ""\n  # default_target_password = ""\n  [[inputs.jolokia2_proxy.target]]\n    url = "service:jmx:rmi:///jndi/rmi://targethost:9999/jmxrmi"\n    # username = ""\n    # password = ""\n\n  ## Add metrics to read\n  [[inputs.jolokia2_proxy.metric]]\n    name  = "java_runtime"\n    mbean = "java.lang:type=Runtime"\n    paths = ["Uptime"]\n'}}]);