This is an unofficial spring-boot-starter for the Prometheus monitoring system.
The spring-boot-starter-prometheus-example shows
an example for using the prometheus-spring-boot-starter
.
An example for setting up prometheus can be found in the spring-boot-prometheus-example repository.
mvn clean install
Just add the following dependency to your spring-boot-project.
<dependency>
<groupId>de.tdlabs</groupId>
<artifactId>prometheus-spring-boot-starter</artifactId>
<version>0.0.3-SNAPSHOT</version>
</dependency>
The following properties can be configured:
# the metrics path to be pulled by prometheus defaults to '/prometheus'
prometheus.metrics.path=/prometheus