getsentry / raven-go

Sentry client in Go
https://sentry.io
BSD 3-Clause "New" or "Revised" License
561 stars 147 forks source link

store and forward #170

Closed ghost closed 6 years ago

ghost commented 6 years ago

I am using Sentry in an environment behind corporate VPN and so i need to do a store and forward pattern for the crash reports.

This would mean that the analytics and saved to disk, and then i need to forward them out to your system.
SO, is there a way to set the raven-go package to send the data to disk or other ?

mattrobenolt commented 6 years ago

Not built in, but in theory, you could just write a different Transport that writes to disk. https://github.com/getsentry/raven-go/blob/master/client.go#L83

Then plug this into `Client.Transport‘.