ddf0706bf1
* Add source_url_pattern to be able to use the "link to source" button * Add README.md as an "extra" where it wasn't already * Add a `main` setting. They all have a very obvious main module. Set that as `main`, so a user is shown this immediately instead of a list of usually only this module. |
||
---|---|---|
.. | ||
config | ||
lib | ||
priv/test_repo/migrations | ||
test | ||
.formatter.exs | ||
.gitignore | ||
README.md | ||
docker-compose.yml | ||
mix.exs | ||
mix.lock |
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.