Complete lab 7 security implementation

This commit is contained in:
2026-11-26 22:26:21 +03:00
parent 20afc2c790
commit df47ebd9f1
89 changed files with 9765 additions and 53 deletions
+80
View File
@@ -0,0 +1,80 @@
receivers:
otlp:
protocols:
http:
endpoint: 0.0.0.0:4318
tls:
cert_file: /certs/otel-collector.crt
key_file: /certs/otel-collector.key
ca_file: /certs/ca.crt
client_ca_file: /certs/ca.crt
grpc:
endpoint: 0.0.0.0:4317
tls:
cert_file: /certs/otel-collector.crt
key_file: /certs/otel-collector.key
ca_file: /certs/ca.crt
client_ca_file: /certs/ca.crt
processors:
memory_limiter:
check_interval: 1s
limit_mib: 256
spike_limit_mib: 64
batch:
send_batch_size: 512
send_batch_max_size: 1024
timeout: 5s
exporters:
otlphttp/tempo:
endpoint: https://tempo:4318
tls:
ca_file: /certs/ca.crt
cert_file: /certs/otel-collector.crt
key_file: /certs/otel-collector.key
prometheusremotewrite:
endpoint: https://prometheus:9090/api/v1/write
tls:
ca_file: /certs/ca.crt
cert_file: /certs/otel-collector.crt
key_file: /certs/otel-collector.key
retry_on_failure:
enabled: true
initial_interval: 1s
max_interval: 10s
max_elapsed_time: 60s
otlphttp/loki:
endpoint: https://loki:3100/otlp
tls:
ca_file: /certs/ca.crt
cert_file: /certs/otel-collector.crt
key_file: /certs/otel-collector.key
service:
telemetry:
logs:
level: info
metrics:
level: detailed
readers:
- pull:
exporter:
prometheus:
host: 0.0.0.0
port: 8888
pipelines:
traces:
receivers: [otlp]
processors: [memory_limiter, batch]
exporters: [otlphttp/tempo]
metrics:
receivers: [otlp]
processors: [memory_limiter, batch]
exporters: [prometheusremotewrite]
logs:
receivers: [otlp]
processors: [memory_limiter, batch]
exporters: [otlphttp/loki]