当前位置:网站首页>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 !
边栏推荐
- Nacos cluster starts throwing set of SQL_ SELECT_ LIMIT is not support
- How can programmers reduce bugs in development?
- Restful design method
- Recommend 14 commonly used test development tools
- Redis series (3) - sentry highly available
- Failure analysis | database failure MHA is not switched
- What makes data analysts good- Cassie Kozyrkov
- How to create simple shapes in illustrator 2022
- Three simple steps to quickly complete order data processing through workflow (ASW)
- Regression testing strategy for comprehensive quality assurance system
猜你喜欢

How can programmers reduce bugs in development?

Redis learning -- list of redis operations
SQL basic tutorial (learning notes)
[North Asia data recovery]_ mdb_ catalog. Mongodb database data recovery case in case of WT file corruption
About swagger

Wechat applet to realize stacked rotation

He "painted" what a smart city should look like with his oars

High quality defect analysis: let yourself write fewer bugs

What is decision intelligence?
Issue 39: MySQL time class partition write SQL considerations
随机推荐
-Bash: wget: command not found
Can the money invested in financial products be withdrawn at any time?
You don't know about this inspection platform. It's a big loss!
About swagger
SQL basic tutorial (learning notes)
On software requirement analysis
Provide secure and convenient Oracle solutions for smart contract developers
C language | printf output function
Optimizing bloom filter: challenges, solutions, and comparisons
Overall planning and construction method of digital transformation
How much does it cost to develop a small adoption program similar to QQ farm?
13 skills necessary for a competent QA Manager
Easyplayer streaming media player plays HLS video. Technical optimization of slow starting speed
What is decision intelligence?
What are the reasons for the abnormal playback of the online channel of the channel accessed by easycvr national standard protocol?
国家出手了!对知网启动网络安全审查
Failure analysis | database failure MHA is not switched
What are the grades of financial products?
Number of occurrences of numbers in the array (medium difficulty)
Restful design method