ЛР6: реализована наблюдаемость (оценка 3)

This commit is contained in:
2026-11-24 16:55:08 +03:00
parent a1071c87e9
commit 961bc4139c
13 changed files with 424 additions and 79 deletions
+33
View File
@@ -0,0 +1,33 @@
receivers:
otlp:
protocols:
grpc:
endpoint: 0.0.0.0:4317
http:
endpoint: 0.0.0.0:4318
processors:
batch:
timeout: 1s
send_batch_size: 1024
exporters:
# Экспорт трасс в Tempo
otlp/tempo:
endpoint: tempo:4317
tls:
insecure: true
# Экспорт метрик в Prometheus (через remote write)
prometheus:
endpoint: "0.0.0.0:8889"
service:
pipelines:
traces:
receivers: [otlp]
processors: [batch]
exporters: [otlp/tempo]
metrics:
receivers: [otlp]
processors: [batch]
exporters: [prometheus]