Affected: Live events
Symptoms
The following issue occurs when observing live events:
-
No data in live events
Cause
Live events provide real-time insights into the data sent to LaunchDarkly. They do not record historical data. To view live events, keep your browser active and open while sending events.
When using the SDK, analytics events are queued, and they are automatically flushed every 5 seconds. If the browser or process is closed before this, no data will appear.
For live events to function correctly, they should remain active for 15-30 seconds in an active browser tab. If no events appear in the live events, even though the SDK seems operational, try opening live events in a separate window.
Solution
-
Ensure no attributes are null in your context.
-
Confirm that events are successfully sent to LaunchDarkly. Reference: Browser privacy settings block analytic events to LaunchDarkly
-
In cases where processes are short-lived (like test scripts), manually call flush to process events. If the streaming connection wasn't open long enough, data might not display in live events, even with manual flushing.
-
If users appear on the dashboard but not in live events, it may be that the live events were checked after user evaluations. Remember, live events can take up to 30 seconds to start displaying data.