Additional Otel logging and spans

This commit is contained in:
Cameron
2025-05-23 14:51:54 -04:00
parent 24d2123fc2
commit d37deb36fe
3 changed files with 35 additions and 7 deletions

View File

@@ -13,8 +13,7 @@ pub fn init_tracing() {
let resources = Resource::builder()
.with_attributes([
KeyValue::new("service.name", "image-server"),
//TODO: Get this from somewhere
KeyValue::new("service.version", "1.0"),
KeyValue::new("service.version", env!("CARGO_PKG_VERSION")),
])
.build();