ЛР 7: безопасность, mTLS и OpenBao на оценку 3

This commit is contained in:
2026-12-06 15:19:24 +03:00
parent 20afc2c790
commit 280c5a3300
101 changed files with 5950 additions and 63 deletions
+61
View File
@@ -0,0 +1,61 @@
receivers:
otlp:
protocols:
http:
endpoint: 127.0.0.1:14318
extensions:
basicauth/collector:
client_auth:
username: collector
processors:
memory_limiter:
check_interval: 1s
limit_mib: 192
spike_limit_mib: 48
batch:
timeout: 1s
send_batch_size: 512
exporters:
prometheus:
endpoint: 127.0.0.1:8889
resource_to_telemetry_conversion:
enabled: true
otlphttp/loki:
logs_endpoint: https://telemetry:8444/loki-write
tls:
ca_file: /run/ca/ca.crt
auth:
authenticator: basicauth/collector
otlphttp/tempo:
traces_endpoint: https://telemetry:8444/tempo-write
tls:
ca_file: /run/ca/ca.crt
auth:
authenticator: basicauth/collector
service:
extensions: [basicauth/collector]
telemetry:
metrics:
readers:
- pull:
exporter:
prometheus:
host: 127.0.0.1
port: 8888
pipelines:
metrics:
receivers: [otlp]
processors: [memory_limiter, batch]
exporters: [prometheus]
logs:
receivers: [otlp]
processors: [memory_limiter, batch]
exporters: [otlphttp/loki]
traces:
receivers: [otlp]
processors: [memory_limiter, batch]
exporters: [otlphttp/tempo]