Skip to content

Observability: make celery telemetry init pool-agnostic and drop non-app traces#775

Merged
AkhileshNegi merged 1 commit intomainfrom
hotfix/sentry-observability
Apr 21, 2026
Merged

Observability: make celery telemetry init pool-agnostic and drop non-app traces#775
AkhileshNegi merged 1 commit intomainfrom
hotfix/sentry-observability

Conversation

@vprashrex
Copy link
Copy Markdown
Collaborator

@vprashrex vprashrex commented Apr 21, 2026

Summary

Traceability for llm-call gets truncated in celery because of pool is gevent. Now this fix made the traceability pool agonistic

Checklist

Before submitting a pull request, please ensure that you mark these task.

  • Ran fastapi run --reload app/main.py or docker compose up in the repository root and test.
  • If you've fixed a bug or added code that is tested and has test cases.

@vprashrex vprashrex requested a review from AkhileshNegi April 21, 2026 06:36
@coderabbitai
Copy link
Copy Markdown

coderabbitai Bot commented Apr 21, 2026

Warning

Rate limit exceeded

@vprashrex has exceeded the limit for the number of commits that can be reviewed per hour. Please wait 48 minutes and 0 seconds before requesting another review.

Your organization is not enrolled in usage-based pricing. Contact your admin to enable usage-based pricing to continue reviews beyond the rate limit, or try again in 48 minutes and 0 seconds.

⌛ How to resolve this issue?

After the wait time has elapsed, a review can be triggered using the @coderabbitai review command as a PR comment. Alternatively, push new commits to this PR.

We recommend that you space out your commits to avoid hitting the rate limit.

🚦 How do rate limits work?

CodeRabbit enforces hourly rate limits for each developer per organization.

Our paid plans have higher rate limits than the trial, open-source and free plans. In all cases, we re-allow further reviews after a brief timeout.

Please see our FAQ for further information.

ℹ️ Review info
⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro

Run ID: 717dbda3-1e03-4a76-a70a-9fc39b4814c2

📥 Commits

Reviewing files that changed from the base of the PR and between 0220157 and 6d35094.

📒 Files selected for processing (2)
  • backend/app/celery/celery_app.py
  • backend/app/core/sentry_filters.py
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch hotfix/sentry-observability

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.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@AkhileshNegi AkhileshNegi changed the title hotfix (observability): make celery telemetry init pool-agnostic and drop non-app traces Observability: make celery telemetry init pool-agnostic and drop non-app traces Apr 21, 2026
@AkhileshNegi AkhileshNegi merged commit d7b3359 into main Apr 21, 2026
2 checks passed
@AkhileshNegi AkhileshNegi deleted the hotfix/sentry-observability branch April 21, 2026 06:39
@AkhileshNegi AkhileshNegi added the enhancement New feature or request label Apr 21, 2026
@codecov
Copy link
Copy Markdown

codecov Bot commented Apr 21, 2026

Codecov Report

❌ Patch coverage is 19.60784% with 41 lines in your changes missing coverage. Please review.

Files with missing lines Patch % Lines
backend/app/core/sentry_filters.py 16.00% 21 Missing ⚠️
backend/app/celery/celery_app.py 23.07% 20 Missing ⚠️

📢 Thoughts on this report? Let us know!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants