We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents b44433c + 006c92c commit 9ec993eCopy full SHA for 9ec993e
1 file changed
uptrace/uptrace.go
@@ -27,7 +27,7 @@ func ConfigureOpentelemetry(opts ...Option) {
27
ctx := context.TODO()
28
cfg := newConfig(opts)
29
30
- if !cfg.tracingEnabled && cfg.metricsEnabled {
+ if !cfg.tracingEnabled && !cfg.metricsEnabled {
31
return
32
}
33
0 commit comments