Skip to content

Commit

Permalink
Fix OTLP exporter failed to initialize error in test (#92)
Browse files Browse the repository at this point in the history
  • Loading branch information
MaeIsBad authored Dec 29, 2022
1 parent 92f6325 commit 0124690
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions config/test.exs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import Config

config :opentelemetry,
tracer: :otel_tracer_default,
processors: [{:otel_batch_processor, %{scheduled_delay_ms: 1}}]
traces_exporter: :none,
processors: [{:otel_simple_processor, %{}}]
2 changes: 1 addition & 1 deletion test/telepoison_test.exs
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ defmodule TelepoisonTest do

setup do
flush_mailbox()
:otel_batch_processor.set_exporter(:otel_exporter_pid, self())
:otel_simple_processor.set_exporter(:otel_exporter_pid, self())
:ok
end

Expand Down

0 comments on commit 0124690

Please sign in to comment.