Analytics/Telemetry/Error Tracking Options for Offline Usage #5959
-
|
Just wondering what options are available for analytics/telemetry/error tracking within tauri applications. I understand any web-based But when users are able to use your application offline and only occasionally connect to the internet is there a recommended way of handling this? I went down a bit of a rabbit hole of looking into more telemetry-based solutions (party sparked from #166), but I think this would be a bit overkill for a couple of analytics events. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
|
I'm only familiar with Sentry and know that their JavaScript SDK has support for offline caching, basically accumulating all reports locally if no internet connection could be established. I don't think the Rust SDK has support for this though, so you might only get partial offline support (and no offline caching if you use the sentry-tauri plugin because it routes everything through rust) Edit: looking at the sentry rust docs a bit it seems like you could probably implement an offline-caching message queue by implementing the |
Beta Was this translation helpful? Give feedback.
I'm only familiar with Sentry and know that their JavaScript SDK has support for offline caching, basically accumulating all reports locally if no internet connection could be established. I don't think the Rust SDK has support for this though, so you might only get partial offline support (and no offline caching if you use the sentry-tauri plugin because it routes everything through rust)
Edit: looking at the sentry rust docs a bit it seems like you could probably implement an offline-caching message queue by implementing the
Transporttrait yourselves