reflex-otel@0.1.0a1
Pre-release
Pre-release
Features
- Add the
reflex-otelpackage: an OpenTelemetry instrumentor that turns on the framework's built-in trace points and metrics (one span per event handler run, chained events parented under the enqueuing span, frontendtraceparentpropagation, event/state/websocket metrics, compile spans) and wraps the ASGI app in the OpenTelemetry ASGI middleware.OtelPlugin(endpoint=...)adds browser tracing (atraceparenton sampled events and uploads, web vitals, React render timing) to the compiled frontend; without an endpoint nothing is exported. Failed browser exports (for example a collector without CORS) are reported through the app'sfrontend_exception_handler. (#6227)