Factor out instrumentation code. Add metrics and logging to otel.

This commit is contained in:
Daniel Lundin 2024-11-27 16:31:04 +01:00
parent 421bed1611
commit 2da3a239cd
Signed by: dln
SSH key fingerprint: SHA256:dQy1Xj3UiqJYpKR5ggQ2bxgz4jCH8IF+k3AB8o0kmdI
6 changed files with 200 additions and 50 deletions

View file

@ -5,7 +5,7 @@ default:
@just --choose
# Run controller
run-controller $RUST_LOG="debug":
run-controller $RUST_LOG="debug,h2=info,hyper_util=info,tower=info":
cargo run --package patagia-controller
# Run controller local development