opentelemetry-erlang-contrib/instrumentation/opentelemetry_dataloader
Bryan Naegele 9fd5f14e2a
Update elixir-test-matrix.json (#228)
* Update elixir-test-matrix.json

* Update erlang-test-matrix.json
2023-11-09 19:56:35 -07:00
..
config Add Dataloader instrumentation library (#137) 2023-04-05 10:34:49 -06:00
lib Add Dataloader instrumentation library (#137) 2023-04-05 10:34:49 -06:00
priv/test_repo/migrations Add Dataloader instrumentation library (#137) 2023-04-05 10:34:49 -06:00
test Add Dataloader instrumentation library (#137) 2023-04-05 10:34:49 -06:00
.formatter.exs Add Dataloader instrumentation library (#137) 2023-04-05 10:34:49 -06:00
.gitignore Add Dataloader instrumentation library (#137) 2023-04-05 10:34:49 -06:00
README.md Add Dataloader instrumentation library (#137) 2023-04-05 10:34:49 -06:00
docker-compose.yml Add Dataloader instrumentation library (#137) 2023-04-05 10:34:49 -06:00
mix.exs Update elixir-test-matrix.json (#228) 2023-11-09 19:56:35 -07:00
mix.lock Improve test matrix and add support for Elixir 1.15 and OTP 26 (#188) 2023-08-25 14:11:23 -06:00

README.md

OpentelemetryDataloader

Telemetry handler that creates Opentelemetry spans from Dataloader events.

After installing, setup the handler in your application behaviour before your top-level supervisor starts.

OpentelemetryDataloader.setup()

Installation

If available in Hex, the package can be installed by adding opentelemetry_dataloader to your list of dependencies in mix.exs:

def deps do
  [
    {:opentelemetry_dataloader, "~> 1.0.0"}
  ]
end

Documentation can be generated with ExDoc and published on HexDocs. Once published, the docs can be found at https://hexdocs.pm/opentelemetry_dataloader.