mirror of
https://github.com/puppetlabs/vmpooler-deployment.git
synced 2026-01-26 03:28:41 -05:00
Add prometheus and grafana container for visualizing metrics and traces
This commit is contained in:
parent
1d2f93fc1c
commit
bcefcaec8c
5 changed files with 77 additions and 9 deletions
14
docker/prometheus.yml
Normal file
14
docker/prometheus.yml
Normal 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']
|
||||
Loading…
Add table
Add a link
Reference in a new issue