electric-sql / electric

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

For opentelemetry spans — we need to set the status to error in addition to recording an exception #2027

Open KyleAMathews opened 4 days ago

KyleAMathews commented 4 days ago

If there was an actual fatal error, just recording an exception doesn't mark the span as having errored. It's important to do that as otel highlight errored spans whereas exceptions aren't as prominent.