README.md
# opentelemetry_broadway
[![EEF Observability WG project](https://img.shields.io/badge/EEF-Observability-black)](https://github.com/erlef/eef-observability-wg)
[![Hex.pm](https://img.shields.io/hexpm/v/opentelemetry_cowboy)](https://hex.pm/packages/opentelemetry_cowboy)
![Build Status](https://github.com/open-telemetry/opentelemetry-erlang-contrib/workflows/Erlang/badge.svg)
OpenTelemetry tracing for [Broadway](https://elixir-broadway.org/) pipelines.
## Usage
After installing, set up the handler in your application's `Application.start/2` callback, before your top-level supervisor starts:
```elixir
def start(_type, _args) do
OpentelemetryBroadway.setup()
Supervisor.start_link(...)
end
```
## Installation
This library is available on Hex:
```elixir
defp deps do
[
{:opentelemetry_broadway, "~> 0.1"}
]
end
```
## Credit
This repository was [originally created](https://github.com/breakroom/opentelemetry_broadway) by [Tom Taylor](https://github.com/tomtaylor).