aboutsummaryrefslogtreecommitdiff
path: root/src/api
diff options
context:
space:
mode:
Diffstat (limited to 'src/api')
-rw-r--r--src/api/Cargo.toml3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/api/Cargo.toml b/src/api/Cargo.toml
index db77cf38..782054bd 100644
--- a/src/api/Cargo.toml
+++ b/src/api/Cargo.toml
@@ -55,8 +55,9 @@ url = "2.1"
opentelemetry = "0.17"
opentelemetry-prometheus = "0.10"
-opentelemetry-otlp = "0.10"
+opentelemetry-otlp = { version = "0.10", optional = true }
prometheus = "0.13"
[features]
k2v = [ "garage_util/k2v", "garage_model/k2v" ]
+telemetry-otlp = ["opentelemetry-otlp"]