solution
Skeleton contracts / contracts (pull_request) Canceled after 0s

This commit is contained in:
2026-11-27 16:42:18 +03:00
parent 20afc2c790
commit a884c07867
133 changed files with 27001 additions and 120 deletions
@@ -0,0 +1,85 @@
receivers:
otlp:
protocols:
grpc:
endpoint: 0.0.0.0:4317
http:
endpoint: 0.0.0.0:4318
processors:
# Ограничивает RAM Collector-а: при переполнении OTLP-приём отвечает отказом,
# а SDK/клиент ограничивают собственные очереди. Collector не является БД.
memory_limiter:
check_interval: 1s
limit_mib: 320
spike_limit_mib: 64
batch:
send_batch_size: 512
send_batch_max_size: 1024
timeout: 2s
exporters:
# Prometheus забирает метрики приложения и Collector-а по внутренней сети.
prometheus:
endpoint: 0.0.0.0:8889
resource_to_telemetry_conversion:
enabled: true
otlp/tempo:
endpoint: tempo:4317
tls:
insecure: true
timeout: 3s
retry_on_failure:
enabled: true
initial_interval: 1s
max_interval: 5s
max_elapsed_time: 30s
sending_queue:
enabled: true
num_consumers: 2
queue_size: 2000
# Loki 3.x принимает OTLP нативно; exporter добавляет /v1/logs.
otlphttp/loki:
endpoint: http://loki:3100/otlp
tls:
insecure: true
timeout: 3s
retry_on_failure:
enabled: true
initial_interval: 1s
max_interval: 5s
max_elapsed_time: 30s
sending_queue:
enabled: true
num_consumers: 2
queue_size: 2000
extensions:
health_check:
endpoint: 0.0.0.0:13133
service:
extensions: [health_check]
telemetry:
logs:
level: info
metrics:
readers:
- pull:
exporter:
prometheus:
host: 0.0.0.0
port: 8888
pipelines:
traces:
receivers: [otlp]
processors: [memory_limiter, batch]
exporters: [otlp/tempo]
metrics:
receivers: [otlp]
processors: [memory_limiter, batch]
exporters: [prometheus]
logs:
receivers: [otlp]
processors: [memory_limiter, batch]
exporters: [otlphttp/loki]