opentelemetry-erlang-contrib/instrumentation/opentelemetry_dataloader
renovate[bot] c5753b4f52
Update dependency opentelemetry_process_propagator to ~> 0.3 (#280)
* Update dependency opentelemetry_process_propagator to ~> 0.3

* Pin dataloader version

* Update opentelemetry to 1.3.1

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Bryan Naegele <bryan@fourthtime.com>
2024-02-13 10:43:02 -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 chore(deps): update postgres docker tag to v16 (#242) 2023-11-15 11:14:43 -07:00
mix.exs Update dependency opentelemetry_process_propagator to ~> 0.3 (#280) 2024-02-13 10:43:02 -07:00
mix.lock Update opentelemetry (#283) 2024-02-13 10:42:04 -07: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.