electric-sql / electric

Sync little subsets of your Postgres data into local apps and services.
https://electric-sql.com
Apache License 2.0
6.38k stars 152 forks source link

Add error monitoring framework to Electric #1849

Open msfstef opened 2 weeks ago

msfstef commented 2 weeks ago

It would be good to include an error monitoring tool, like Sentry or AppSignal, even if it is just for development environments.

KyleAMathews commented 2 weeks ago

Like a doc page I assume?

msfstef commented 2 weeks ago

I meant more to integrate an error monitoring library in the sync service itself and setting up a project for it to start tracking errors directly, at least from our own testing, examples, and deployments

KyleAMathews commented 2 weeks ago

Hmm how would that work? We'd want any error reporting to be optional.

msfstef commented 2 weeks ago

Similar to Honeycomb, we can add the SDK to the sync service and only enable it if an API key is provided - so for our internal use, whether dev or just our own deployments, we can use our own API key, and anyone who wants to deploy it themselves can use it with their own (or point it to ours for debugging)