Files
mtusi2026lab6/infra/prometheus/prometheus.yaml
T

13 lines
334 B
YAML

global:
scrape_interval: 2s
evaluation_interval: 2s
rule_files: [/etc/prometheus/alerts.yaml]
scrape_configs:
- job_name: messenger
static_configs: [{targets: ['collector:8889']}]
- job_name: collector
static_configs: [{targets: ['collector:8888']}]
- job_name: ingress
static_configs: [{targets: ['lb:8404']}]