Skip to content

acend/prometheus-training-spring-boot-example

Repository files navigation

prometheus-training-spring-boot-example

This is a spring boot example project to show the prometheus client lib instrumentation in springboot

It consists of two spring boot applications

  • the skeleton for the lab in the source folder
  • the solution in the solution folder

Lab

Build

./mvnw clean package

Run

java -jar target/prometheus-training-spring-boot-example-0.0.1-SNAPSHOT.jar

Verify Prometheus Metrics

curl http://localhost:8080/actuator/prometheus

Custom Metric

curl http://localhost:8080/api

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published