# `Hyper.Cfg.Otel`
[🔗](https://github.com/harmont-dev/hyper/blob/main/lib/hyper/cfg/otel.ex#L1)

OpenTelemetry exporter configuration. Resolved from `config :hyper,
Hyper.Cfg.Otel, proto:/endpoint:/headers:` (config.exs), the `[otel]` toml
table, then the standard `OTEL_EXPORTER_OTLP_ENDPOINT` env var.
`config/runtime.exs` calls `exporter_options/1` and feeds the result to
`config :opentelemetry_exporter`.

# `exporter_options`

```elixir
@spec exporter_options(keyword()) :: {:ok, keyword()} | :none
```

Resolve the `:opentelemetry_exporter` options, or `:none`.

---

*Consult [api-reference.md](api-reference.md) for complete listing*
