Skip to content

cl-meetups/spring-boot-jenkins-x-demo

Repository files navigation

Spring Boot REST application with Prometheus support (Java 11)

This is a template application for Spring Boot REST application instrumented to expose Prometheus metrics. This quickstart uses Java 11.

Endpoints used by Kubernetes

This quickstart exposes the following endpoints important for Kubernetes deployments:

  • /actuator/health - Spring Boot endpoint indicating health. Used by Kubernetes as readiness probe.
  • /actuator/metrics - Prometheus metrics. Invoked periodically and collected by Prometheus Kubernetes scraper.