docker-compose up --build
Run from terminal:
curl localhost -H"Host: app1.com" -I -XGET
curl localhost/hello -H"Host: app1.com" -I -XGET
while : ; do curl localhost -H"Host: app1.com" -I -XGET && curl localhost/hello -H"Host: app1.com" && curl localhost/eze -XGET -H"Host: app-python.com" -H"client: X-asa" && curl localhost/request -XGET -H"Host: app-python.com" -H"client: X-asa" && curl localhost/internal_asdasderror -XGET -H"Host: app-python.com" -H"client: X-asa"; done
lnx
while ; do curl localhost -H"Host: app1.com" -I -XGET && curl localhost/hello -H"Host: app1.com" && curl localhost/eze -XGET -H"Host: app-python.com" -H"client: X-asa" && curl localhost/request -XGET -H"Host: app-python.com" -H"client: X-asa" && curl localhost/internal_asdasderror -XGET -H"Host: app-python.com" -H"client: X-asa"; done
Open the URL and explore (click these links):
http://localhost:3000/d/A0DfKMcik/traefik-status-codes-microservices?orgId=1&refresh=5s
traefik: http://localhost:8080/
grafana: http://localhost:3000/
prometheus: http://localhost:9090/
loki: http://localhost:3100/
app1: http://app1.com
zipkin: http://localhost:9411/zipkin/?lookback=15m&endTs=1673705203034&limit=10
prometheus: http://localhost:9090
Grafana: http://localhost:3000 #Login with admin #user: admin #pass: test
traefik: http://localhost:8080/metrics
View metrics in prometheus using dashboard and querys.
prometheus: http://localhost:9090
docker-compose down