Skip to content

Commit

Permalink
rename rails specific attributes
Browse files Browse the repository at this point in the history
  • Loading branch information
arielvalentin committed Sep 25, 2023
1 parent fd66d80 commit 3f8b985
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -61,8 +61,8 @@ def to_otel_semconv_attributes(job)
'messaging.system' => job.class.queue_adapter_name,
'messaging.destination' => job.queue_name,
'messaging.message_id' => job.job_id,
'messaging.active_job.provider_job_id' => job.provider_job_id,
'messaging.active_job.priority' => job.priority
'rails.active_job.provider_job_id' => job.provider_job_id,
'rails.active_job.priority' => job.priority
}

otel_attributes['net.transport'] = 'inproc' if test_adapters.include?(job.class.queue_adapter_name)
Expand Down

0 comments on commit 3f8b985

Please sign in to comment.