electric-sql / electric

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

Add error monitoring framework to Electric #1849

Open msfstef opened 1 month ago

msfstef commented 1 month 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 1 month ago

Like a doc page I assume?

msfstef commented 1 month 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 1 month ago

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

msfstef commented 1 month 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)