Sign inSign up

pasanbhanu/spring-boot-api-with-prometheus

By pasanbhanu

•Updated over 1 year ago

This is a Sample API using Spring Boot with Prometheus for Load Testing and Autoscaler Testing

Image
Monitoring & observability
0

336

pasanbhanu/spring-boot-api-with-prometheus repository overview

⁠Spring Boot Sample API with Prometheus

This is a sample Spring Boot app with Prometheus monitoring. This app can be used for stress testing, autoscaler testing or any other testing scenarios.

⁠Available API

⁠Request

GET - /sample

curl --location 'http://localhost:8080/sample'
⁠Response

200 OK

{
    "status": "success"
}
⁠Prometheus Endpoint

You can view output of prometheus via http://localhost:8080/actuator/prometheus

⁠Used for Testing:

Feel free to explore the code and contribute in https://github.com/PasanBhanu/springboot-sample-api-with-prometheus⁠

Tag summary

Content type

Image

Digest

sha256:13994f15b…

Size

91.5 MB

Last updated

over 1 year ago

docker pull pasanbhanu/spring-boot-api-with-prometheus