Add prometheus and grafana container for visualizing metrics and traces

This commit is contained in:
Jake Spain 2023-10-20 12:10:32 -04:00
parent 1d2f93fc1c
commit bcefcaec8c
No known key found for this signature in database
GPG key ID: BC1C4DA0A085E113
5 changed files with 77 additions and 9 deletions

View file

@ -83,3 +83,23 @@ services:
links:
- redis-server
- jaeger-aio
prometheus:
image: prom/prometheus:latest
volumes:
- ./prometheus.yml:/etc/prometheus/prometheus.yml
ports:
- "9090:9090"
links:
- vmpooler-api
- vmpooler-manager
grafana:
image: grafana/grafana-oss:latest
volumes:
- ./grafana/provisioning:/etc/grafana/provisioning
ports:
- '3000:3000'
links:
- prometheus
- jaeger-aio