Skip to content

Commit

Permalink
fix get_metric
Browse files Browse the repository at this point in the history
  • Loading branch information
ZStriker19 committed Sep 25, 2024
1 parent a4d4615 commit e6e38f0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/datadog/tracing/trace_operation.rb
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,7 @@ def get_tag(key)
end

def get_metric(key)
@metric[key?] || (root_span && root_span.get_metric(key))
super || (root_span && root_span.get_metric(key))
end

def tags
Expand Down

0 comments on commit e6e38f0

Please sign in to comment.