当前位置:网站首页>Recommend a distributed JVM monitoring tool, which is very practical!
Recommend a distributed JVM monitoring tool, which is very practical!
2022-06-24 18:25:00 【Migrant worker brother】
Click on Focus on official account , reply “1024” obtain 2TB Learning resources !
Introduce
The project is to facilitate developers to monitor multiple remote hosts faster jvm, If your project is Spring boot So it's easy to integrate ,jar The package can be imported , No Spring boot Don't be discouraged , You can quickly initialize a Spirng boot Program introduction jar Bag can
Effect display

The overall architecture

git Address
https://github.com/xk4848123/monitor
https://github.com/xk4848123/monitor-server
Use the premise
Need to have... In the machine JDK, not only JRE, Good configuration java path, Rely on in the program ExcuteCmd Seek jdk Basic commands
I'll teach you how to use
clone monitor-server
git clone https://github.com/xk4848123/monitor-server.git

idea -> Project from Existing Sources…

Selected items pom.xml

modify resources/application.properties

monitor.serve[0].name=serve-1
monitor.serve[0].address=http://127.0.0.1:8081/monitor( Here you need to communicate with the client monitor.path Corresponding )
monitor.serve[1].name=serve-2
monitor.serve[1].address=http://127.0.0.1:8082( ditto )
....
Multiple monitoring hosts can be configured here , Pay attention to the format
address=http://ip:port/xxx(xxx It's you monitor The configuration of , There will be )
name=server-1( Every monitor Different , Easy to distinguish when displaying )
run monitor-server

It doesn't matter if there are exceptions , Let's just set up the monitoring client
Said in the previous
Just deploy an internal monitoring system , When you have more than one jvm The program , As long as there is a deployment, you can monitor
download Release
https://github.com/xk4848123/monitor

Get into Release list , download jar

Local mvn install( Wait until the blogger jar It doesn't need so much trouble to transfer it to the central warehouse )
cmd Execute the following command
mvn install:install-file -DgroupId=com.github.xk4848123 -DartifactId=monitor-spring-boot-starter -Dversion=2.3.1 -Dpackaging=jar -Dfile=C:\Users\Administrator\Downloads\monitor-spring-boot-starter.jar

In any one of Spring boot Project use , I open my local one here called chat Project

stay resources/application.properties Attribute added
# Determine the access path , You can define
monitor.path=monitor
# Decide whether to start the monitoring client
monitor.enable=true

pom.xml introduce

Running events

OK!
We are now visiting monitor-server( My current deployment is http://127.0.0.1:8888, You can access according to your own configuration )

source :blog.csdn.net/xk4848123/
article/details/106952309
If this article helps you , welcome give the thumbs-up & Looking at & forward , This is for me to continue to share & It's very important to create quality articles . thank
Recommended reading Click on the title to jump to
goodbye VMware! A more lightweight virtual machine
Wonderful ! Skillfully use SSH Break through restrictions and penetrate the intranet
K8s It's hard ? I'll show you through , I don't believe you can't learn !
This monitoring system makes workers tremble ! Turnover intention 、 Fishing is monitored
No more rolls ! The members of the technical team resigned collectively
A simple 、 Open source Markdown Artifact ! Easy to use and beautiful
17 It's a practical one shell Script , Recommended collection !
Delete the library and stop running ! I wrote in tears MySQL Data recovery method
PS: Because the official account platform changed the push rules. , If you don't want to miss the content , Remember to click after reading “ Looking at ”, Add one “ Star standard ”, So every time a new article is pushed Will appear in your subscription list for the first time in .
I'm watching 、 Forwarding is the biggest support !
边栏推荐
- Five advantages and disadvantages of Bi
- Selection (032) - what is the output of the following code?
- 腾讯云TCS:面向应用的一站式PaaS 平台
- Application service access configuration parameters
- [NLP] 3 papers on how Stanford team builds a better chat AI
- Tencent cloud TCS: an application-oriented one-stop PAAS platform
- On software requirement analysis
- Nine practical guidelines for improving responsive design testing
- Open up the construction of enterprise digital procurement, and establish a new and efficient service mode for raw material enterprises
- Three years of bug free, tips for improving code quality
猜你喜欢
Recommend 14 commonly used test development tools
R language Quantitative Ecology redundancy analysis RDA analysis plant diversity species data visualization
Ultimate Guide: comprehensive analysis of log analysis architecture of Enterprise Cloud native PAAS platform
Ten software development indicators for project managers
About pyqt5 to realize paging function (one window implements different interfaces)
How to decompile APK files
Regression testing strategy for comprehensive quality assurance system
Paper sharing | self supervised learning paper jointly released by Yann Lecun and read by engineers
13 skills necessary for a competent QA Manager
How to select the best test cases for automation?
随机推荐
Bigdecimalavoiddoubleconstructorrule: do not directly use the double variable as a parameter to construct BigDecimal
How about China Power Investment Xianrong futures? Is it safe to open futures accounts?
Bigdecimalavoiddoubleconstructorrule: do not directly use the double variable as a parameter to construct BigDecimal
Regression testing strategy for comprehensive quality assurance system
Software testing methods: a short guide to quality assurance (QA) models
Complete Guide to web application penetration testing
Easynvr fails to use onvif to detect the device. What is the reason why "no data" is displayed?
Creating a new MySQL user in Amazon RDS environment - creating a new MySQL user in Amazon RDS environment
Business based precipitation component = & gt; manage-table
Gateway solves cross domain access
How MySQL works - Chapter 14
Does the wave of layoffs in Chinese enterprises in 2021 need to be "judged" by morality?
Recommend 14 commonly used test development tools
Introduction to yottastore, a new generation of storage engine for VPC TCE cos
Cloud service selection of enterprises: comparative analysis of SaaS, PAAS and IAAs
EasyCVR国标协议接入的通道,在线通道部分播放异常是什么原因?
How to start cloud native application development
Three simple steps to quickly complete order data processing through workflow (ASW)
Leetcode question 136 [single number]
How can an enterprise successfully complete cloud migration?