2021-10-08 21:38:18 +00:00
|
|
|
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",
|
2021-10-08 21:38:18 +00:00
|
|
|
database: "opentelemetry_ecto_test",
|
|
|
|
pool: Ecto.Adapters.SQL.Sandbox
|
|
|
|
|
|
|
|
config :opentelemetry,
|
|
|
|
processors: [{:otel_batch_processor, %{scheduled_delay_ms: 1}}]
|