-
Notifications
You must be signed in to change notification settings - Fork 53
Open
Labels
enhancementNew feature or requestNew feature or request
Description
Feature description
We have a feature in our app that shows the user an error code whenever an error is experienced. The idea is that a user can hand this over to customer support to aid in triaging. We log the error code to Datadog to allow us to find the exact point in time the user experienced the issue. Unfortunately, that log is not always sent despite us configuring the SDK to send with max frequency and with minimal batch size.
We'd love to have a public method we could invoke in this scenario that would force-flush the logs and have them sent. Is this possible and I've just missed it?
Proposed solution
As a user I'd love to see a _sdk.flush() function that would attempt to send the existing client-side logs to the server.
Other relevant information
No response
jake-nc and azack
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request