Sha256: 29e09dde970494df690b67f87d61f528ed6d3122cae16e786eb2b962d991c5ad
Contents?: true
Size: 465 Bytes
Versions: 14
Compression:
Stored size: 465 Bytes
Contents
# frozen_string_literal: true module Sidekiq module Tracer module Commons def operation_name(job) job["class"] end def tags(job, kind) { "component" => "Sidekiq", "span.kind" => kind, "sidekiq.queue" => job["queue"], "sidekiq.jid" => job["jid"], "sidekiq.retry" => job["retry"].to_s, "sidekiq.args" => job["args"].join(", ") } end end end end
Version data entries
14 entries across 14 versions & 1 rubygems