27 lines
540 B
YAML
27 lines
540 B
YAML
global:
|
|
scrape_interval: 2s
|
|
evaluation_interval: 2s
|
|
rule_files:
|
|
- /etc/prometheus/alerts.yaml
|
|
scrape_configs:
|
|
- job_name: messenger
|
|
static_configs:
|
|
- targets:
|
|
- collector:9465
|
|
scheme: https
|
|
tls_config:
|
|
ca_file: /trust/ca.crt
|
|
cert_file: /pki/tls.crt
|
|
key_file: /pki/tls.key
|
|
server_name: collector
|
|
- job_name: collector
|
|
static_configs:
|
|
- targets:
|
|
- collector:8889
|
|
scheme: https
|
|
tls_config:
|
|
ca_file: /trust/ca.crt
|
|
cert_file: /pki/tls.crt
|
|
key_file: /pki/tls.key
|
|
server_name: collector
|