All Projects → s8sg → go_jolokia

s8sg / go_jolokia

Licence: MIT License
A Jolokia Client library for Go (with proxy mode support)

Programming Languages

go
31211 projects - #10 most used programming language

Projects that are alternatives of or similar to go jolokia

cachex
CacheX注解缓存框架
Stars: ✭ 39 (+178.57%)
Mutual labels:  jmx
netdata-java-orchestrator
Netdata Java Plugin Daemon
Stars: ✭ 27 (+92.86%)
Mutual labels:  jmx
hawtio-integration
Core integration plugins for Hawtio: Apache ActiveMQ, Camel, Karaf, OSGi, and Spring Boot
Stars: ✭ 26 (+85.71%)
Mutual labels:  jmx
cryostat
Secure JDK Flight Recorder management for containerized JVMs
Stars: ✭ 147 (+950%)
Mutual labels:  jmx
beanshooter
JMX enumeration and attacking tool.
Stars: ✭ 172 (+1128.57%)
Mutual labels:  jmx
dubai
迪拜后台系统框架:基于Springside、Mysql、Bootstrap2的后台系统框架,旨在为繁杂的各种业务流程提供一个界面简约、操作高效、运行稳定、容易集成和横向扩展的开发基础框架及规范。
Stars: ✭ 45 (+221.43%)
Mutual labels:  jmx
cassandra-exporter
Java agent for exporting Cassandra metrics to Prometheus
Stars: ✭ 59 (+321.43%)
Mutual labels:  jmx
jmx-monitoring-stacks
No description or website provided.
Stars: ✭ 170 (+1114.29%)
Mutual labels:  jolokia
nrjmx
Command line tool to connect to a JMX server and retrieve the MBeans it exposes.
Stars: ✭ 28 (+100%)
Mutual labels:  jmx
Jmx exporter
A process for exposing JMX Beans via HTTP for Prometheus consumption
Stars: ✭ 2,134 (+15142.86%)
Mutual labels:  jmx

go_jolokia

< go_jolokia >
 --------
   \
    \   
       _____  -----------------  _____
      |     \/  ----     ----  \/     |
       \  ==/  /    |   |    \  \==  /
        \--/  | ()  |   |()   |  \--/
          /    \---/ ___ \---/    \
         |         _(===)_         |
        |         (__/--\__)        |
         |          |_||_|         |
          \                       /   

go_jolokia is a Simple jolokia JMX/HTTP wrapper for Go. It supports jolokia proxy setup as well as direct host connection.

GoDoc

Version

0.1.0

Usage

Step 1 : Get It

To get the go_jolokia install Go and execute the below command

go get github.com/swarvanusg/go_jolokia

Step 2 : Initiate a client

client := NewJolokiaClient("http://" + proxyhost + ":" + proxyport + "/" + jolokia)

client.SetTarget(targetHost + ":" + targetPort)

Step 3 : Use the client for Getting Info

beans, err := client.ListBeans("java.lang")

props, err := client.ListProperties("java.lang", []string{"type=Threading"})

val, err := client.GetAttr("java.lang", []string{"type=Threading"}, "PeakThreadCount")

Current Status:

The go_jolokia build is success The test cases are passing

Inspired from

github.com/cmceniry/golokia

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].