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

15 lines
379 B
Elixir
Raw Permalink Normal View History

import Config
config :opentelemetry_ecto,
ecto_repos: [OpentelemetryEcto.TestRepo]
config :opentelemetry_ecto, OpentelemetryEcto.TestRepo,
hostname: "localhost",
username: "postgres",
2021-10-14 03:11:26 +00:00
password: "postgres",
database: "opentelemetry_ecto_test",
pool: Ecto.Adapters.SQL.Sandbox
config :opentelemetry,
processors: [{:otel_batch_processor, %{scheduled_delay_ms: 1}}]