Skip to content

Sample Springboot application with metrics endpoint for Prometheus scraping

Notifications You must be signed in to change notification settings

lakkireddys-opsmx/demo-app

 
 

Repository files navigation

Sample Springboot application with metrics endpoint for Prometheus scraping

To create executable jar file

./gradlew bootJar

To run the application

java -jar build/libs/sampleapp-0.0.1.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

Packages

No packages published

Languages

  • Java 68.7%
  • HTML 27.0%
  • Dockerfile 4.3%