Skip to content

bms-devs/grafana-influxdb-statsd-springboot

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Spring Boot + Grafana & Influx & StatsD

This application serves as an example, a showcase for JDD2015. It consists of a simple Spring Boot application and Grafana + InfluxDB + StatsD stack. Application exposes jvm (and more) metrics via StatsDMetricsWriter and dropwizard's MetricsRegistry. Metrics stack runs on this Docker image

How do I run it?

Run the docker container

docker run -d \
  --name docker-statsd-influxdb-grafana \
  -p 3003:9000 \
  -p 3004:8083 \
  -p 8086:8086 \
  -p 22022:22 \
  -p 8125:8125/udp \
  samuelebistoletti/docker-statsd-influxdb-grafana

You should now be able to reach Grafana at http://localhost:3003/.

Run the Spring Boot application

mvn spring-boot:run

From now on, the application should respond at http://localhost:8080/ with a hundred of random strings.

To run second instance in parallel just type:

mvn spring-boot:run -Dspring.profiles.active=development

Second instance should be reachable at http://localhost:8081/.

There's also management port: 9090 for the first instance and 9091 accordingly.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Shell 49.5%
  • Batchfile 35.1%
  • Java 15.4%