Hotfix/observability monitoring fix#774
Conversation
- Integrated OpenTelemetry tracing into collection creation and deletion processes to improve observability. - Added logging context for better traceability during job execution. - Refactored job execution methods to include detailed span attributes and error handling. - Updated callback mechanisms to ensure success and failure responses are properly logged and sent. - Improved error handling in LLM job execution, including telemetry for provider calls and response handling. - Updated the lock file to reflect changes in Python version requirements.
noisy filter removed
|
Caution Review failedPull request was closed or merged during review 📝 WalkthroughWalkthroughThis PR introduces comprehensive OpenTelemetry-based observability across the backend, adding structured logging, distributed tracing, and telemetry metrics. It instruments HTTP handlers, API endpoints, Celery tasks, and service execution flows; integrates Sentry for error tracking; and configures trace context propagation from API requests through async job execution. Changes
Estimated code review effort🎯 4 (Complex) | ⏱️ ~60 minutes Possibly related PRs
Suggested labels
Suggested reviewers
Poem
🚥 Pre-merge checks | ✅ 3 | ❌ 2❌ Failed checks (1 warning, 1 inconclusive)
✅ Passed checks (3 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches📝 Generate docstrings
🧪 Generate unit tests (beta)
⚔️ Resolve merge conflicts
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 |
Summary
Target issue is #PLEASE_TYPE_ISSUE_NUMBER
Explain the motivation for making this change. What existing problem does the pull request solve?
Checklist
Before submitting a pull request, please ensure that you mark these task.
fastapi run --reload app/main.pyordocker compose upin the repository root and test.Notes
Please add here if any other information is required for the reviewer.
Summary by CodeRabbit
New Features
Improvements
Chores