Absorbs the separate control-panel git repo as a subdirectory. Instances and backups directories excluded via .gitignore. Bunker Admin
23 lines
556 B
Handlebars
23 lines
556 B
Handlebars
# Prometheus — Instance: {{name}}
|
|
|
|
global:
|
|
scrape_interval: 15s
|
|
evaluation_interval: 15s
|
|
|
|
scrape_configs:
|
|
- job_name: '{{composeProject}}-api'
|
|
static_configs:
|
|
- targets: ['{{containerPrefix}}-api:4000']
|
|
metrics_path: /api/metrics
|
|
|
|
{{#if enableMedia}}
|
|
- job_name: '{{composeProject}}-media-api'
|
|
static_configs:
|
|
- targets: ['{{containerPrefix}}-media-api:4100']
|
|
metrics_path: /api/metrics
|
|
{{/if}}
|
|
|
|
- job_name: '{{composeProject}}-redis'
|
|
static_configs:
|
|
- targets: ['{{containerPrefix}}-redis-exporter:9121']
|