aboutsummaryrefslogtreecommitdiff
path: root/src/web
diff options
context:
space:
mode:
authorAlex Auvolat <alex@adnab.me>2022-02-17 23:28:23 +0100
committerAlex Auvolat <alex@adnab.me>2022-03-14 10:52:13 +0100
commit8c2fb0c066af7f68fdcfcdec96fa030af059bf63 (patch)
tree58a416058e31eda2cdb3a15c07e565a9ad674857 /src/web
parentb6561f6e1bcb6a8de13a186405a480e356df89d8 (diff)
downloadgarage-8c2fb0c066af7f68fdcfcdec96fa030af059bf63.tar.gz
garage-8c2fb0c066af7f68fdcfcdec96fa030af059bf63.zip
Add tracing integration with opentelemetry
Diffstat (limited to 'src/web')
-rw-r--r--src/web/Cargo.toml2
-rw-r--r--src/web/lib.rs2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/web/Cargo.toml b/src/web/Cargo.toml
index 54211f5d..269e29a5 100644
--- a/src/web/Cargo.toml
+++ b/src/web/Cargo.toml
@@ -20,7 +20,7 @@ garage_util = { version = "0.6.0", path = "../util" }
garage_table = { version = "0.6.0", path = "../table" }
err-derive = "0.3"
-log = "0.4"
+tracing = "0.1.30"
percent-encoding = "2.1.0"
futures = "0.3"
diff --git a/src/web/lib.rs b/src/web/lib.rs
index c06492a3..9b7c8573 100644
--- a/src/web/lib.rs
+++ b/src/web/lib.rs
@@ -1,6 +1,6 @@
//! Crate for handling web serving of s3 bucket
#[macro_use]
-extern crate log;
+extern crate tracing;
mod error;
pub use error::Error;