WIP: Add otel tracing

This commit is contained in:
Daniel Lundin 2024-11-26 12:42:45 +01:00
parent 1317c3b721
commit 2580c202b0
Signed by: dln
SSH key fingerprint: SHA256:dQy1Xj3UiqJYpKR5ggQ2bxgz4jCH8IF+k3AB8o0kmdI
3 changed files with 482 additions and 6 deletions
controller

View file

@ -18,6 +18,11 @@ tracing-chrome.workspace = true
tracing-subscriber.workspace = true
tracing.workspace = true
tracing-slog.workspace = true
tracing-opentelemetry = "0.28.0"
opentelemetry_sdk = { version = "0.27.0", features = ["rt-tokio"] }
opentelemetry-otlp = { version = "0.27.0", features = ["http-proto", "hyper-client", "opentelemetry-http", "trace"] }
opentelemetry = "0.27.0"
opentelemetry-semantic-conventions = "0.27.0"
[[bin]]
name = "patagia-controller"