Skip to content

barrycommins/spring-boot-splunk-prometheus-metrics

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Spring Boot Micrometer Prometheus Metrics Splunk indexing

Introduction

This project shows how to get metrics from Spring Boot, using Micrometer's Prometheus registry, and index those metrics in Splunk through a metrics index.

It uses the Splunk Prometheus App to scrape metrics from Prometheus' /federate API.

See Prometheus Federation

The same principles apply to any metrics that Prometheus can read, not just Spring / Micrometer metrics.

Setup

mvn clean install to build the demo app

docker-compose up to bring up the app, Splunk and Prometheus

Open Splunk UI (admin:password)

You will see the collected metrics in the metrics dropdown on the left side.

screenshot

About

Spring Boot Prometheus metrics ingestion into Splunk

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages