A springboot app that uses zuul
as a reverse proxy. All requests
to /api
will be forwarded to nodejs
server.
Uses prometheus to graph response times.
Once the project is done building, make
some api calls http://localhost:81
.
- goto http://localhost
- click on "Find a trace"
- search by "serviceName"
To see a graph of response times:
- Nav to http://localhost:82
- Classic UI
- Click Graph tab
- Search: 'scrape_series_added' or 'scrape_duration_second' or 'http_request_duration_ms_bucket'
- Duration 1m
- Click Graph tab
For health check:
- Nav to http://localhost:82
- Targetes
- kotlin
- maven
- springboot
- netflix zuul
- sleuth
- zipkin
- nodejs
- prometheus
- openjdk:11-jdk
- node:latest
- openzipkin/zipkin
- prom/prometheus
sudo ./install.sh -u
- ZIPKIN DASHBOARD http://localhost
- API http://localhost:81/all
- API remote service http://localhost:81/api/all
- PROMETHEUS DASHBOARD http://localhost:82
sudo ./install.sh -d
sudo ./install.sh -h
- https://spring.io/guides/gs/routing-and-filtering/
- https://github.com/openzipkin-attic/docker-zipkin/blob/master/docker-compose.yml
- https://cloud.spring.io/spring-cloud-sleuth/1.3.x/multi/multi__sending_spans_to_zipkin.html
- https://howtodoinjava.com/microservices/spring-cloud-zipkin-sleuth-tutorial/
- https://www.javainuse.com/spring/cloud-sleuth