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

14
docker/prometheus.yml Normal file
View file

@ -0,0 +1,14 @@
global:
scrape_interval: 15s
evaluation_interval: 15s
scrape_configs:
- job_name: vmpooler-api
metrics_path: /prometheus
static_configs:
- targets: ['vmpooler-api:4567']
- job_name: vmpooler-manager
metrics_path: /prometheus
static_configs:
- targets: ['vmpooler-manager:4567']