Skip to content

Commit 2395fc4

Browse files
committed
Explain why we allow >= 0.0.0 for otel libs
1 parent f85d93d commit 2395fc4

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

mix.exs

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -118,6 +118,11 @@ defmodule Sentry.Mixfile do
118118
{:floki, ">= 0.30.0", only: :test},
119119
{:oban, "~> 2.17 and >= 2.17.6", only: [:test]},
120120
{:quantum, "~> 3.0", only: [:test]},
121+
122+
# Optional dependencies for Sentry.OpenTelemetry - we allow any version
123+
# because the actual version requirements are verified via VersionChecker.
124+
# This is to allow users install `sentry` even when they rely on opentelemetry
125+
# libs that are too old for Sentry tracing feature.
121126
{:opentelemetry, ">= 0.0.0", optional: true},
122127
{:opentelemetry_api, ">= 0.0.0", optional: true},
123128
{:opentelemetry_exporter, ">= 0.0.0", optional: true},

0 commit comments

Comments
 (0)