Skip to content

Commit

Permalink
revert changes
Browse files Browse the repository at this point in the history
  • Loading branch information
mabdinur authored Jun 14, 2024
1 parent 6aa2daf commit 5c9ee72
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 2 deletions.
12 changes: 10 additions & 2 deletions lib/datadog/tracing/span_operation.rb
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,16 @@ class SpanOperation

# Span attributes
# NOTE: In the future, we should drop the me
attr_accessor :id, :trace_id
attr_reader :end_time, :name, :parent_id, :resource, :service, :start_time, :type
attr_reader \
:end_time,
:id,
:name,
:parent_id,
:resource,
:service,
:start_time,
:trace_id,
:type
attr_accessor :links, :status

def initialize(
Expand Down
1 change: 1 addition & 0 deletions lib/datadog/tracing/tracer.rb
Original file line number Diff line number Diff line change
Expand Up @@ -113,6 +113,7 @@ def initialize(
# @param [String] service the service name for this span.
# @param [Time] start_time time which the span should have started.
# @param [Hash<String,String>] tags extra tags which should be added to the span.
# @param [String] type the type of the span. See {Datadog::Tracing::Metadata::Ext::AppTypes}.
# @param [Integer] the id of the new span.
# @return [Object] If a block is provided, returns the result of the block execution.
# @return [Datadog::Tracing::SpanOperation] If no block is provided, returns the active,
Expand Down

0 comments on commit 5c9ee72

Please sign in to comment.