-
Notifications
You must be signed in to change notification settings - Fork 39
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: add diagnostic #568
base: main
Are you sure you want to change the base?
feat: add diagnostic #568
Conversation
18f63df
to
51a5ff1
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks @Mercy811. See comments. Since we only need to hook into "flush" configuring this as a Plugin is probably not needed, instead we can mostly treat it like the other providers.
We can probably use the config.transportProvider to send the diagnotics but should be careful with the storage (config.storageProvider) so these events aren't mixed with "real" events.
c7bf5fa
to
417eed4
Compare
80a8114
to
4a8f99d
Compare
Co-authored-by: Justin Fiedler <[email protected]>
Co-authored-by: Justin Fiedler <[email protected]>
1. account time in minutes 2. browser diagnostic default apiKey
Co-authored-by: Justin Fiedler <[email protected]>
fa718e9
to
d2bbc02
Compare
- @amplitude/[email protected] - @amplitude/[email protected] - @amplitude/[email protected] - @amplitude/[email protected] - @amplitude/[email protected] - @amplitude/[email protected] - @amplitude/[email protected]
Summary
https://amplitude.atlassian.net/browse/AMP-81179
Send diagnostic events when the SDK drops events
This feature is enabled by default and can be disabled by setting
config.diagnosticProvider
toundefined
Checklist