aboutsummaryrefslogtreecommitdiff
path: root/src/util/config.rs
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/util/config.rs
parentb6561f6e1bcb6a8de13a186405a480e356df89d8 (diff)
downloadgarage-8c2fb0c066af7f68fdcfcdec96fa030af059bf63.tar.gz
garage-8c2fb0c066af7f68fdcfcdec96fa030af059bf63.zip
Add tracing integration with opentelemetry
Diffstat (limited to 'src/util/config.rs')
-rw-r--r--src/util/config.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/util/config.rs b/src/util/config.rs
index 2d15748f..e763fcd5 100644
--- a/src/util/config.rs
+++ b/src/util/config.rs
@@ -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 {