This is a Sample API using Spring Boot with Prometheus for Load Testing and Autoscaler Testing
336
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.
GET - /sample
curl --location 'http://localhost:8080/sample'
200 OK
{
"status": "success"
}
You can view output of prometheus via http://localhost:8080/actuator/prometheus
Feel free to explore the code and contribute in https://github.com/PasanBhanu/springboot-sample-api-with-prometheus
Content type
Image
Digest
sha256:13994f15b…
Size
91.5 MB
Last updated
over 1 year ago
docker pull pasanbhanu/spring-boot-api-with-prometheus