aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAlex Auvolat <alex@adnab.me>2022-09-06 17:25:44 +0200
committerAlex Auvolat <alex@adnab.me>2022-09-06 17:25:44 +0200
commit431dee050f9dd1454ac89d20de214f973cbb387f (patch)
tree2c6ea91b4df6df705bfaa641f9de2d44c73aecbd /src
parent2c2b93acdf3db1d6c379964f557abf082df269b9 (diff)
downloadgarage-431dee050f9dd1454ac89d20de214f973cbb387f.tar.gz
garage-431dee050f9dd1454ac89d20de214f973cbb387f.zip
Remove opentelemetry-otlp dep in api/
Diffstat (limited to 'src')
-rw-r--r--src/api/Cargo.toml2
-rw-r--r--src/garage/Cargo.toml2
2 files changed, 1 insertions, 3 deletions
diff --git a/src/api/Cargo.toml b/src/api/Cargo.toml
index 106f9014..eb87a4fb 100644
--- a/src/api/Cargo.toml
+++ b/src/api/Cargo.toml
@@ -55,10 +55,8 @@ url = "2.1"
opentelemetry = "0.17"
opentelemetry-prometheus = { version = "0.10", optional = true }
-opentelemetry-otlp = { version = "0.10", optional = true }
prometheus = { version = "0.13", optional = true }
[features]
k2v = [ "garage_util/k2v", "garage_model/k2v" ]
metrics = [ "opentelemetry-prometheus", "prometheus" ]
-telemetry-otlp = ["opentelemetry-otlp"]
diff --git a/src/garage/Cargo.toml b/src/garage/Cargo.toml
index 00b16ded..b08e9439 100644
--- a/src/garage/Cargo.toml
+++ b/src/garage/Cargo.toml
@@ -88,7 +88,7 @@ kubernetes-discovery = [ "garage_rpc/kubernetes-discovery" ]
# Prometheus exporter (/metrics endpoint).
metrics = [ "garage_api/metrics", "opentelemetry-prometheus", "prometheus" ]
# Exporter for the OpenTelemetry Collector.
-telemetry-otlp = [ "opentelemetry-otlp", "garage_api/telemetry-otlp" ]
+telemetry-otlp = [ "opentelemetry-otlp" ]
# NOTE: bundled-libs and system-libs should be treat as mutually exclusive;
# exactly one of them should be enabled.