Skip to content

The "spring-boot-jmx-metrics-sample" repository is a sample project that demonstrates how to use JMX metrics with Spring Boot.

Notifications You must be signed in to change notification settings

S-mishina/spring-boot-jmx-metrics-sample

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

README

setup

dependence (relationship)

init

$ devbox shell

execution method

How to run the application

$ ./mvnw spring-boot:run \
    -Dspring.jmx.enabled=true \
    -Dspring-boot.run.jvmArguments="-Dcom.sun.management.jmxremote \
    -Dcom.sun.management.jmxremote.port=8086 \
    -Dcom.sun.management.jmxremote.authenticate=false \
    -Dcom.sun.management.jmxremote.ssl=false"

Examples of Operation

Launch the program to access the application. curl will also work.

curl http://localhost

Check with jmx and you will see a RANDOM number.

jconsole

A detailed view of the metrics is described in tab.

About

The "spring-boot-jmx-metrics-sample" repository is a sample project that demonstrates how to use JMX metrics with Spring Boot.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published