Skip to content

Make Sidekiq propagation_style able to be changed on a job-by-job basis #991

Open
@hibachrach

Description

@hibachrach

Right now, you can choose to have all jobs connected to their "producer" (enqueuing) spans via a link or via a standard parent-child span relationship (child) via the global propagation_style option. However, that level of granularity is not always sufficient for accurately representing a user-journey as a trace.

For example, let's say we have a web request where a user is uploading an document to convert it from one file type to another. This request handler

  1. Enqueues a background job to perform that file conversion, and
  2. Enqueues a separate background job for analytics processing

In terms of a user journey, we only actually care about (1) and not about (2). Ideally, I'd be able to connect the enqueue span to the file processing job performance span with a parent-child relationship and use a link for the other enqueue.

I'm open to implementing this functionality if such a feature would be welcome.

Metadata

Metadata

Assignees

No one assigned

    Labels

    keepEnsures stale-bot keeps this issue/PR open

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions