1de26cce1a
* Add Dataloader instrumentation library * Move call to set context to @run_start event --------- Co-authored-by: Tristan Sloughter <t@crashfast.com>
15 lines
389 B
Elixir
15 lines
389 B
Elixir
import Config
|
|
|
|
config :opentelemetry_dataloader,
|
|
ecto_repos: [OpentelemetryDataloader.TestRepo]
|
|
|
|
config :opentelemetry_dataloader, OpentelemetryDataloader.TestRepo,
|
|
hostname: "localhost",
|
|
username: "postgres",
|
|
password: "postgres",
|
|
database: "opentelemetry_dataloader_test",
|
|
pool: Ecto.Adapters.SQL.Sandbox
|
|
|
|
config :opentelemetry,
|
|
processors: [{:otel_simple_processor, %{}}]
|