Skip to content
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

Offline Integration #1633

Closed
kamilogorek opened this issue Oct 9, 2018 · 7 comments · Fixed by #2778
Closed

Offline Integration #1633

kamilogorek opened this issue Oct 9, 2018 · 7 comments · Fixed by #2778

Comments

@kamilogorek
Copy link
Contributor

Ref: #1165

@izabelavmelo
Copy link

izabelavmelo commented Jan 16, 2019

Do you have any updates? 😕

@almogyehuda
Copy link

Any new with this feature? release date?

@kamilogorek
Copy link
Contributor Author

Not really, sorry. It's not planned anytime soon. However, I can provide all the answers and guidance if anyone is willing to tackle this feature and send a PR :)

@raphaelschwinger
Copy link

Hey @kamilogorek : Is there any Doc on how to write an integration? We are looking for offline error tracking in our PWA. Thanks for your help.

raphaelschwinger added a commit to raphaelschwinger/sentry-javascript that referenced this issue Aug 27, 2019
To handle errors occuring offline in JavaScript this integration saves
them in a queue and processes these queued up errors when back online.
As a storage API localForage (https://github.com/localForage/localForage)
is used. A new function listens to the 'online' event to start draining
the queue.

I am missing correct error handling and tests. Also Im not sure about
the correct way to include the interation to sdk.ts.
Building .min and .es6 files is also not working with 'yarn build'.
Minifing with uglyfy works.

Thanks especially to @kamilogorek and @	seromenho

Resolves: getsentry#1633
See also: getsentry#1665 getsentry#279
raphaelschwinger added a commit to raphaelschwinger/sentry-javascript that referenced this issue Aug 27, 2019
To handle errors occuring offline in JavaScript this integration saves
them in a queue and processes these queued up errors when back online.
As a storage API localForage (https://github.com/localForage/localForage)
is used. A new function listens to the 'online' event to start draining
the queue.

I am missing correct error handling and tests. Also I am not sure about
the correct way to include the interation to sdk.ts.
Building .min and .es6 files is also not working with 'yarn build'.
Minifing with uglify-js works.

Thanks especially to @kamilogorek and @	seromenho

Resolves: getsentry#1633
See also: getsentry#1665 getsentry#279
raphaelschwinger added a commit to raphaelschwinger/sentry-javascript that referenced this issue Aug 27, 2019
To handle errors occuring offline in JavaScript this integration saves
them in a queue and processes these queued up errors when back online.
As a storage API localForage (https://github.com/localForage/localForage)
is used. A new function listens to the 'online' event to start draining
the queue.

I am missing correct error handling and tests. Also I am not sure about
the correct way to include the interation to sdk.ts.
Building .min and .es6 files is also not working with 'yarn build'.
Minifing with uglify-js works.

Thanks especially to @kamilogorek and @	seromenho

Resolves: getsentry#1633
See also: getsentry#1665 getsentry#279
@radarfox
Copy link

I got this integration implemented in JS based on LocalStorage. Nothing complicated, but it seems to work fine. Are you interested in it? I saw some development already made here, but I'm not sure about the progress. Also, my implementation is currently under the licence of my client, so I would need to sort that out.

@HazAT
Copy link
Member

HazAT commented Jan 27, 2020

@radarfox If you find some time, we happily accept a PR for this.
Ideally, this will become an optional integration.

@pzi
Copy link

pzi commented May 8, 2020

@radarfox I would definitely be interested in it. If you could share some pseudo-code at least that'd be a starting point for us and super helpful :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
7 participants