Добавил TLS и защиту мессенджера для лабораторной 7
Skeleton contracts / contracts (pull_request) Canceled after 0s
Skeleton contracts / contracts (pull_request) Canceled after 0s
This commit is contained in:
@@ -0,0 +1,50 @@
|
||||
receivers:
|
||||
otlp:
|
||||
protocols:
|
||||
http:
|
||||
endpoint: 0.0.0.0:4318
|
||||
tls:
|
||||
cert_file: /run/pki/otel-collector.crt
|
||||
key_file: /run/pki/otel-collector.key
|
||||
client_ca_file: /run/pki/ca.crt
|
||||
grpc:
|
||||
endpoint: 0.0.0.0:4317
|
||||
tls:
|
||||
cert_file: /run/pki/otel-collector.crt
|
||||
key_file: /run/pki/otel-collector.key
|
||||
client_ca_file: /run/pki/ca.crt
|
||||
processors:
|
||||
memory_limiter: {check_interval: 1s, limit_mib: 256, spike_limit_mib: 64}
|
||||
batch: {timeout: 2s, send_batch_size: 512}
|
||||
exporters:
|
||||
prometheus:
|
||||
endpoint: 0.0.0.0:8889
|
||||
tls:
|
||||
cert_file: /run/pki/otel-collector.crt
|
||||
key_file: /run/pki/otel-collector.key
|
||||
namespace: messenger
|
||||
send_timestamps: true
|
||||
metric_expiration: 5m
|
||||
otlphttp/tempo:
|
||||
endpoint: https://lb:9743
|
||||
tls: {ca_file: /run/pki/ca.crt}
|
||||
otlphttp/loki:
|
||||
endpoint: https://lb:9643/otlp
|
||||
tls: {ca_file: /run/pki/ca.crt}
|
||||
extensions:
|
||||
health_check: {endpoint: 0.0.0.0:13133}
|
||||
service:
|
||||
extensions: [health_check]
|
||||
pipelines:
|
||||
metrics:
|
||||
receivers: [otlp]
|
||||
processors: [memory_limiter, batch]
|
||||
exporters: [prometheus]
|
||||
traces:
|
||||
receivers: [otlp]
|
||||
processors: [memory_limiter, batch]
|
||||
exporters: [otlphttp/tempo]
|
||||
logs:
|
||||
receivers: [otlp]
|
||||
processors: [memory_limiter, batch]
|
||||
exporters: [otlphttp/loki]
|
||||
Reference in New Issue
Block a user