split instrumentation in 2 different places: harmony domain (for domain observability) & harmoy composer (for build/commands observability)

This commit is contained in:
Ian Letourneau
2025-07-27 20:52:24 -04:00
parent 6f7e1640c1
commit 8fae9cf8c8
13 changed files with 209 additions and 120 deletions

View File

@@ -9,10 +9,12 @@ use harmony::{
},
topology::{K8sAnywhereTopology, Url},
};
use harmony_cli::cli_logger;
#[tokio::main]
async fn main() {
env_logger::init();
let cli_logger_handle = tokio::spawn(cli_logger::init());
let topology = K8sAnywhereTopology::from_env();
let mut maestro = Maestro::initialize(Inventory::autoload(), topology)
@@ -40,4 +42,6 @@ async fn main() {
maestro.register_all(vec![Box::new(app)]);
harmony_cli::init(maestro, None).await.unwrap();
let _ = tokio::try_join!(cli_logger_handle);
}