feat: sidekiq scheduled jobs improvements - `scheduled` operation and add links
When a Job is pushed via perform_in or friends, it goes through the following life-cycle:
- First the Job is pushed with
atattribute in Redis fromSidekiq::Client- this will now create<...> scheduledspan (before it was<...> publish - Then the Job is handled from
Sidekiq::Scheduled#enqueueand pushed withoutatattribute in Redis fromSidekiq::Client- this will keep creating<...> publishspan - Then the Job is handled by the Worker as usual
Additionally when using :propagation_style = :link and :trace_poller_enqueue = true a handy set of links are added between the 3 actors above.
I think it is worthwhile considering the discussion in https://github.com/open-telemetry/semantic-conventions/issues/1688#issuecomment-3498476928 hence my comment https://github.com/open-telemetry/opentelemetry-ruby-contrib/pull/1717#discussion_r2483134544
👋 This pull request has been marked as stale because it has been open with no activity. You can: comment on the issue or remove the stale label to hold stale off for a while, add the keep label to hold stale off permanently, or do nothing. If you do nothing this pull request will be closed eventually by the stale bot