opentelemetry-erlang-contrib/instrumentation/opentelemetry_ecto/config/test.exs

16 lines
417 B
Elixir
Raw Normal View History

import Config
config :opentelemetry_ecto,
ecto_repos: [OpentelemetryEcto.TestRepo]
config :opentelemetry_ecto, OpentelemetryEcto.TestRepo,
hostname: "localhost",
username: "postgres",
database: "opentelemetry_ecto_test",
pool: Ecto.Adapters.SQL.Sandbox
config :opentelemetry,
sampler: {:always_on, %{}},
tracer: :otel_tracer_default,
processors: [{:otel_batch_processor, %{scheduled_delay_ms: 1}}]