Skip to content

Commit

Permalink
docs: ✏️ fix yard for sidekiq instrumentation options
Browse files Browse the repository at this point in the history
  • Loading branch information
kohbis committed Jan 18, 2024
1 parent 1c10d02 commit edcc00b
Showing 1 changed file with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,10 @@ class Instrumentation < OpenTelemetry::Instrumentation::Base
# - `:queue` - the span names will be set to '<destination / queue name> <operation>'.
# - `:job_class` - the span names will be set to '<job class name> <operation>'.
option :span_naming, default: :queue, validate: %I[job_class queue]
# @!macro
# @!method $1
# @instrumentation_option_default `:$2`
# @!scope class
# Controls how the job's execution is traced and related
# to the trace where the job was enqueued. Can be one of:
#
Expand All @@ -51,7 +55,7 @@ class Instrumentation < OpenTelemetry::Instrumentation::Base
option :propagation_style, default: :link, validate: %i[link child none]
# @!macro
# @!method $1
# @instrumentation_option_default `:$2`
# @instrumentation_option_default $2
# @!scope class
# Allows tracing Sidekiq::Launcher#heartbeat.
option :trace_launcher_heartbeat, default: false, validate: :boolean
Expand Down

0 comments on commit edcc00b

Please sign in to comment.