Report Sidekiq jobs that call other jobs #2379
Labels
3
Story Point Estimate
feature request
To tag feature request after Hero Triage for PM to disposition
GTSE
Issue associated with a previously logged support escalation
oct-dec qtr
Possible FY Q3 candidate
Milestone
Is your feature request related to a problem? Please describe.
The New Relic Ruby agent cannot accurately report on Sidekiq jobs that call other jobs.
For example, if I invoke the following code using
OutsideJob.perform_later
,InsideJob
would be the name of the transaction, andOutsideJob
would not appear as a transaction or as a segment within another transaction.Feature Description
Sidekiq jobs that call other Sidekiq jobs are reported to New Relic.
Using the scenario above as an example,
OutsideJob
will be used as the root of a non-web transaction andInsideJob
will be a segment/span nested within theOutsideJob
transaction.Describe Alternatives
If someone encounters this problem, try using custom instrumentation to set the correct transaction name. We suggest you explore:
add_transaction_tracer
NewRelic::Agent::Tracer.start_transaction_or_segment
However, we have not tested these APIs with this scenario, so YMMV.
Additional context
Internal - Slack
Priority
TBD
The text was updated successfully, but these errors were encountered: