SpandexOTLP.Sender (spandex_otlp v0.1.0-rc.0) View Source
A worker for sending spans to a OLTP accepting service.
Uses a GenServer in order to send traces asynchronously.
Link to this section Summary
Functions
Returns a specification to start this module under a supervisor.
Send spans asynchronously to the configured endpoint.
Starts the GenServer with given options.
Link to this section Functions
Returns a specification to start this module under a supervisor.
See Supervisor
.
Specs
send_trace(Spandex.Trace.t(), Keyword.t()) :: :ok
Send spans asynchronously to the configured endpoint.
Specs
start_link(opts :: Keyword.t()) :: GenServer.on_start()
Starts the GenServer with given options.