Skip to content

Conversation

@janbjorge
Copy link
Owner

No description provided.

@janbjorge janbjorge self-assigned this Jul 19, 2025
@janbjorge janbjorge force-pushed the sentry-tracing-update branch from f667a5f to 743d58c Compare July 19, 2025 11:37
@janbjorge janbjorge marked this pull request as ready for review July 19, 2025 18:44
@janbjorge janbjorge merged commit 7ecdd1a into main Jul 19, 2025
38 checks passed
@janbjorge janbjorge deleted the sentry-tracing-update branch July 19, 2025 18:44
@janbjorge janbjorge requested a review from Copilot July 19, 2025 18:45
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR adds Sentry tracing instrumentation to the pgqueuer library, enabling distributed tracing support for queue operations alongside the existing Logfire integration.

  • Implements SentryTracing class with publisher and consumer tracing capabilities
  • Adds Sentry SDK as an optional dependency and benchmark integration
  • Refactors Job model to provide helper methods for extracting tracing headers

Reviewed Changes

Copilot reviewed 4 out of 5 changed files in this pull request and generated 2 comments.

File Description
pgqueuer/tracing.py Adds SentryTracing class with trace_publish and trace_process methods
pgqueuer/models.py Adds helper methods to extract logfire and sentry headers from Job
pyproject.toml Adds sentry optional dependency with sentry-sdk>=2.0.0
tools/benchmark.py Adds Sentry initialization and logging setup to benchmark tool

janbjorge added a commit that referenced this pull request Jul 19, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant