View Source OpentelemetryLiveView (Opentelemetry LiveView v1.0.0-rc.4)
OpentelemetryLiveView uses telemetry handlers to create
OpenTelemetry
spans for LiveView mount, handle_params, and handle_event. The LiveView
telemetry events that are used are documented here.
usage
Usage
Add in your application start function a call to setup/0
:
def start(_type, _args) do
# this configures the liveview tracing
OpentelemetryLiveView.setup()
children = [
...
]
...
end
Link to this section Summary
Link to this section Functions
@spec setup() :: :ok
Initializes and configures the telemetry handlers.