Реализовать ЛР 7 на оценку 3
This commit is contained in:
@@ -4,8 +4,16 @@ global:
|
||||
|
||||
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]
|
||||
|
||||
Reference in New Issue
Block a user