Additional Otel logging and spans

This commit is contained in:
Cameron committed 2025-05-23 14:51:54 -04:00
1 parent 24d2123fc2
commit d37deb36fe
3 files changed
+35 -7

No files matched your search

+1 -2
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();