当前位置:网站首页>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 !
边栏推荐
- How can an enterprise successfully complete cloud migration?
- TCE入围2020年工信部信创典型解决方案
- Application service access configuration parameters
- EasyGBS视频平台TCP主动模式拉流异常情况修复
- Skills of writing test cases efficiently
- Top ten popular codeless testing tools
- Error reported after NPM I
- 腾讯云荣获“可信云技术最佳实践-虚拟化”
- How to start cloud native application development
- Recommend 14 commonly used test development tools
猜你喜欢

C language - structure II

Architecture decryption from distributed to microservice: several common microservice architecture schemes

Skills of writing test cases efficiently

How can programmers reduce bugs in development?

How to decompile APK files

How MySQL works - Chapter 14

Recommend 14 commonly used test development tools

How to create simple shapes in illustrator 2022

Why are more and more people studying for doctors? Isn't it more and more difficult to graduate a doctor?

ASP. Net hosting uploading file message 500 error in IIS
随机推荐
Overall planning and construction method of digital transformation
[quick news] the jeecgboot low code platform was successfully selected into the 2021 scientific innovation China · open source innovation list
EasyPlayer流媒体播放器播放HLS视频,起播速度慢的技术优化
LC 300. Longest increasing subsequence
Using flex to implement common layouts
-Bash: wget: command not found
EasyCVR国标协议接入的通道,在线通道部分播放异常是什么原因?
Install MySQL using Yum for Linux
variable
Digital trend analysis of B2B e-commerce market mode and trading capacity in electronic components industry
Considerations for it project demand analysis
Does the wave of layoffs in Chinese enterprises in 2021 need to be "judged" by morality?
Etching process flow for PCB fabrication
C language | printf output function
Design topic: MATLAB cellular automata personnel evacuation
From file:///etc/pki/rpm-gpg/RPM-GPG-KEY-mysql The GPG key to retrieve the key source "MySQL 5.7 community server" is installed, but not applicable to
Creating a new MySQL user in Amazon RDS environment - creating a new MySQL user in Amazon RDS environment
Six configuration management tools that administrators must know
专有云TCE COS新一代存储引擎YottaStore介绍
The mixed calculation of rpx and PX in JS by the uniapp applet