mackerel-plugin-jmx-jolokia

command
v0.81.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 5, 2024 License: Apache-2.0 Imports: 1 Imported by: 0

README

mackerel-plugin-jmx-jolokia

Jolokia (https://jolokia.org/) custom metrics plugin for mackerel.io agent

Synopsis

mackerel-plugin-jmx-jolokia [-host=<host>] [-port=<port>] [-tempfile=<tempfile>]

Example of mackerel-agent.conf

[plugin.metrics.jolokia]
command = "/path/to/mackerel-plugin-jmx-jolokia"

Example of jolokia response

curl -s http://127.0.0.1:8778/jolokia/read/java.lang:type=Memory | jq .
{
  "request": {
    "mbean": "java.lang:type=Memory",
    "type": "read"
  },
  "value": {
    "ObjectPendingFinalizationCount": 0,
    "Verbose": false,
    "HeapMemoryUsage": {
      "init": 1073741824,
      "committed": 1069023232,
      "max": 1069023232,
      "used": 994632048
    },
    "NonHeapMemoryUsage": {
      "init": 2555904,
      "committed": 44040192,
      "max": 1350565888,
      "used": 43070016
    },
    "ObjectName": {
      "objectName": "java.lang:type=Memory"
    }
  },
  "timestamp": 1455079714,
  "status": 200
}

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL