feat(scraper): Add span to cursor indexer task#7232
Conversation
|
📝 WalkthroughWalkthroughEnhanced observability for task spawning in the contract sync module by adding tracing instrumentation. The Changes
Estimated code review effort🎯 2 (Simple) | ⏱️ ~8 minutes The changes are localized to a single file with straightforward instrumentation additions. The modifications follow established tracing patterns and don't alter core functionality—mainly wrapping existing code with observability layers. Possibly related PRs
Suggested reviewers
Poem
Pre-merge checks and finishing touches❌ Failed checks (1 warning)
✅ Passed checks (2 passed)
✨ Finishing touches
🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #7232 +/- ##
=====================================
Coverage 0.00% 0
=====================================
Files 1 0 -1
Lines 14 0 -14
=====================================
+ Misses 14 0 -14
🚀 New features to boost your workflow:
|
Co-authored-by: Danil Nemirovsky <4614623+ameten@users.noreply.github.com>
Summary
Details
This change improves observability by adding a labeled span around the
cursor_indexer_taskwhen it's spawned. The span includes:This makes it easier to trace and debug scraper tasks in the logs and helps identify which specific task is running.
🤖 Generated with Claude Code
Summary by CodeRabbit