Skip to content

Commit 031690e

Browse files
committed
Enable otel in dev env for integration test app
1 parent eb3a040 commit 031690e

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

test_integrations/phoenix_app/config/dev.exs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,8 @@ config :sentry,
8888
dsn: dsn,
8989
environment_name: :dev,
9090
enable_source_code_context: true,
91-
send_result: :sync
91+
send_result: :sync,
92+
traces_sample_rate: 1.0
9293

9394
config :phoenix_app, Oban,
9495
repo: PhoenixApp.Repo,

test_integrations/phoenix_app/lib/phoenix_app/application.ex

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,8 +30,7 @@ defmodule PhoenixApp.Application do
3030
# Start Oban
3131
{Oban, Application.fetch_env!(:phoenix_app, Oban)},
3232
# Start to serve requests, typically the last entry
33-
PhoenixAppWeb.Endpoint,
34-
Sentry.OpenTelemetry.SpanStorage
33+
PhoenixAppWeb.Endpoint
3534
]
3635

3736
# See https://hexdocs.pm/elixir/Supervisor.html

0 commit comments

Comments
 (0)