Implement lab 7 transport security and worker containment

This commit is contained in:
Artyom
2026-11-13 23:58:00 +03:00
parent 20afc2c790
commit 170a76a6ce
543 changed files with 96442 additions and 65 deletions
+62
View File
@@ -0,0 +1,62 @@
global:
scrape_interval: 15s
scrape_timeout: 10s
evaluation_interval: 15s
rule_files:
- /etc/prometheus/rules/*.yml
otlp:
translation_strategy: UnderscoreEscapingWithSuffixes
promote_resource_attributes:
- service.name
- service.version
- deployment.environment.name
- container.name
- compose.project
- compose.service
keep_identifying_resource_attributes: true
storage:
tsdb:
out_of_order_time_window: 30m
exemplars:
max_exemplars: 100000
scrape_configs:
- job_name: prometheus
static_configs:
- targets:
- localhost:9090
- job_name: otel-collector
static_configs:
- targets:
- otel-collector:48888
scheme: https
tls_config:
ca_file: /run/pki/ca.crt
cert_file: /run/pki/tls.crt
key_file: /run/pki/tls.key
- job_name: loki
static_configs:
- targets:
- loki:9443
scheme: https
tls_config:
ca_file: /run/pki/ca.crt
cert_file: /run/pki/tls.crt
key_file: /run/pki/tls.key
- job_name: tempo
static_configs:
- targets:
- tempo:9443
scheme: https
tls_config:
ca_file: /run/pki/ca.crt
cert_file: /run/pki/tls.crt
key_file: /run/pki/tls.key
- job_name: grafana
static_configs:
- targets:
- grafana:9443
scheme: https
tls_config:
ca_file: /run/pki/ca.crt
cert_file: /run/pki/tls.crt
key_file: /run/pki/tls.key