forked from mtusi2026/mtusi2026lab7
26 lines
533 B
YAML
26 lines
533 B
YAML
global:
|
|
scrape_interval: 5s
|
|
evaluation_interval: 5s
|
|
rule_files:
|
|
- /etc/prometheus/recording.yaml
|
|
- /etc/prometheus/alerts.yaml
|
|
scrape_configs:
|
|
- job_name: application
|
|
scheme: https
|
|
tls_config:
|
|
ca_file: /pki/ca.crt
|
|
cert_file: /pki/service.crt
|
|
key_file: /pki/service.key
|
|
static_configs:
|
|
- targets:
|
|
- collector:8889
|
|
- job_name: collector
|
|
scheme: https
|
|
tls_config:
|
|
ca_file: /pki/ca.crt
|
|
cert_file: /pki/service.crt
|
|
key_file: /pki/service.key
|
|
static_configs:
|
|
- targets:
|
|
- collector:8888
|