Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/codecentric/spring-boot-monitoring-sample
https://github.com/codecentric/spring-boot-monitoring-sample
Last synced: 3 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/codecentric/spring-boot-monitoring-sample
- Owner: codecentric
- Created: 2017-08-17T05:36:57.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2018-07-03T14:07:45.000Z (over 6 years ago)
- Last Synced: 2024-07-13T18:50:14.897Z (4 months ago)
- Language: Java
- Size: 35.2 KB
- Stars: 22
- Watchers: 11
- Forks: 39
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
- my-awesomeness - Sprint Boot, Grafana & Prometheus - Spring Boot Monitoring, include docker compose with Grafana and Prometheus (Projects / Cache)
README
# Spring Boot - Monitoring
This is a simple [spring](https://spring.io) [boot](http://projects.spring.io/spring-boot/) showcase project, which based on [https://start.spring.io](https://start.spring.io).
## Build application
```shell
mvn clean package
```## Start infrastructure
Start docker monitoring setup with grafana, prometheus, cadvisor and the application.
```shell
docker-compose up
docker-compose down
```## Smart configuration
* Application: [http://localhost:8080/cat](http://localhost:8080/cat)
* make some requests
* Prometheus: [http://localhost:9090](http://localhost:9090)
* Grafana: [http://localhost:3000](http://localhost:3000)
* login with admin:admin
* setup "prometheus" data source
* import grafana-dashboard