Skip to content

xibolun/jstat_exporter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

jstat_exporter

it is a fork from wyukawa/jstat_exporter

Quick start

curl -LO https://raw.githubusercontent.com/xibolun/jstat_exporter/main/install.sh && bash install.sh

you can input param like:

Enter Jstat path (default is /usr/bin/jstat): $(which jstat)
Enter JMS exporter port(default is 9010): 7080
Enter target java pid: $(ps -ef | grep jira | grep -vE "pts|color|jmx_exporter" | awk '{print $2}')

install.sh will install jstat_exporter at /opt/jstat_exporter

Build By Yourself

  1. make build you will get a binary file jstat_exporter.
  2. start server by jstat_exporter
  3. you can access the metrics at http://localhost:9010/metrics

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published