Skip to content

Sample Springboot application with metrics endpoint for Prometheus scraping

Notifications You must be signed in to change notification settings

kirangodishala/sampeapp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Sample Springboot application with metrics endpoint for Prometheus scraping

To Package / create jar file

./mvnw package

To run the application

java -jar target/sampleapp.jar

App endpoint for prometheus to collect metrics

localhost:8080/prometheus

To build the docker image

docker build -t opsmx/sampleapp_docker .

About

Sample Springboot application with metrics endpoint for Prometheus scraping

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published