Emit telemetry spans for move_in_query snapshot operations#4303
Emit telemetry spans for move_in_query snapshot operations#4303robacourt wants to merge 4 commits into
Conversation
❌ 17 Tests Failed:
View the top 3 failed test(s) by shortest run time
To view more test analytics, go to the Test Analytics Dashboard |
|
I thought 686ebdb had fixed that. Just now reviewing the changes, I see we have two functions named The one defined in Looks like the two implementations of |
✅ Deploy Preview for electric-next ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
Summary
shape_snapshot.execute_for_shapeandshape_snapshot.query_fnspans were missing from production traces formove_in_queryoperations, whileinitial_snapshotandsubset_queryworked fine. This wires up a parent span so the existing child spans get emitted.Problem
Sampling for
shape_snapshot.query_fnis a plainincluded?(_) -> true(no rate limiting), so the absence ofmove_in_queryspans wasn't a sampling issue — the spans were never being created.