diff options
author | Jakub Jirutka <jakub@jirutka.cz> | 2022-09-03 23:40:44 +0200 |
---|---|---|
committer | Jakub Jirutka <jakub@jirutka.cz> | 2022-09-06 01:14:47 +0200 |
commit | e7af006c1c8211bf83b5d8abb7490ef270dd8345 (patch) | |
tree | 57a6161840f00c2c28b2b91c2cd065e7603b7af8 /src/garage/main.rs | |
parent | db72812f01027ab2abd2226a0edaf3161f32e274 (diff) | |
download | garage-e7af006c1c8211bf83b5d8abb7490ef270dd8345.tar.gz garage-e7af006c1c8211bf83b5d8abb7490ef270dd8345.zip |
Make OTLP exporter optional via feature "telemetry-otlp"
opentelemetry-otlp add 48 (!) extra dependencies and increases the
size of the garage binary by ~11 % (with fat LTO).
Diffstat (limited to 'src/garage/main.rs')
-rw-r--r-- | src/garage/main.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/garage/main.rs b/src/garage/main.rs index 89888884..8f0b377e 100644 --- a/src/garage/main.rs +++ b/src/garage/main.rs @@ -8,6 +8,7 @@ mod admin; mod cli; mod repair; mod server; +#[cfg(feature = "telemetry-otlp")] mod tracing_setup; use std::net::SocketAddr; |