mirror of
https://github.com/deuxfleurs-org/garage.git
synced 2026-08-07 13:23:33 +00:00
Add tracing integration with opentelemetry
This commit is contained in:
+1
-1
@@ -18,7 +18,7 @@ blake2 = "0.9"
|
||||
err-derive = "0.3"
|
||||
xxhash-rust = { version = "0.8", default-features = false, features = ["xxh3"] }
|
||||
hex = "0.4"
|
||||
log = "0.4"
|
||||
tracing = "0.1.30"
|
||||
rand = "0.8"
|
||||
sha2 = "0.9"
|
||||
|
||||
|
||||
@@ -104,6 +104,8 @@ pub struct WebConfig {
|
||||
pub struct AdminConfig {
|
||||
/// Address and port to bind for admin API serving
|
||||
pub bind_addr: SocketAddr,
|
||||
/// OTLP server to where to export traces
|
||||
pub otlp_export_traces_to: Option<String>,
|
||||
}
|
||||
|
||||
fn default_sled_cache_capacity() -> u64 {
|
||||
|
||||
+1
-1
@@ -1,7 +1,7 @@
|
||||
//! Crate containing common functions and types used in Garage
|
||||
|
||||
#[macro_use]
|
||||
extern crate log;
|
||||
extern crate tracing;
|
||||
|
||||
pub mod background;
|
||||
pub mod config;
|
||||
|
||||
Reference in New Issue
Block a user