package
7.17.28
Repository: https://github.com/elastic/beats.git
Documentation: pkg.go.dev

# Functions

New create a new instance of the MetricSet.
NewJolokiaHTTPRequestFetcher is a factory method which creates and returns an implementation class of JolokiaHTTPRequestFetcher interface.
ParseMBeanName is a factory function which parses a Managed Bean name string identified by mBeanName and returns a new MBean object which contains all the information, i.e.

# Structs

Entry
JolokiaHTTPGetFetcher constructs and executes an HTTP GET request which will read MBean information from Jolokia.
JolokiaHTTPPostFetcher constructs and executes an HTTP GET request which will read MBean information from Jolokia.
JolokiaHTTPRequest is a small struct which contains all request information needed to construct a reqest helper.HTTP object which will be sent to Jolokia.
MBeanName is an internal struct used to store the information by the parsed `mbean` (bean name) configuration field in `jmx.mappings`.
MetricSet type defines all fields of the MetricSet.
RequestBlock is used to build the request blocks of the following format: [ { "type":"read", "mbean":"java.lang:type=Runtime", "attribute":[ "Uptime" ] }, { "type":"read", "mbean":"java.lang:type=GarbageCollector,name=ConcurrentMarkSweep", "attribute":[ "CollectionTime", "CollectionCount" ], "target":{ "url":"service:jmx:rmi:///jndi/rmi://targethost:9999/jmxrmi", "user":"jolokia", "password":"s!cr!t" } } ].
Target inputs the value you want to set for jolokia target block.
TargetBlock is used to build the target blocks of the following format into RequestBlock.

# Interfaces

JolokiaHTTPRequestFetcher is an interface which describes the behaviour of the builder which generates,fetches the HTTP request, which is sent to Jolokia and then parses and maps the response to Metricbeat events.

# Type aliases

AttributeMapping contains the mapping information between attributes in Jolokia responses and fields in metricbeat events.