20 lines
510 B
YAML
20 lines
510 B
YAML
global:
|
|
scrape_interval: 5s
|
|
evaluation_interval: 5s
|
|
|
|
scrape_configs:
|
|
- job_name: otel-application-metrics
|
|
scheme: https
|
|
tls_config: &collector_tls
|
|
ca_file: /run/secrets/lab_ca
|
|
cert_file: /run/identity/public.crt
|
|
key_file: /run/identity/private.key
|
|
server_name: otel-collector
|
|
static_configs:
|
|
- targets: [otel-collector:8889]
|
|
- job_name: otel-collector
|
|
scheme: https
|
|
tls_config: *collector_tls
|
|
static_configs:
|
|
- targets: [otel-collector:8888]
|