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

15 lines
379 B
Elixir

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