diff --git a/lib/datadog/tracing/trace_operation.rb b/lib/datadog/tracing/trace_operation.rb index 2433be929ab..3b209c01afa 100644 --- a/lib/datadog/tracing/trace_operation.rb +++ b/lib/datadog/tracing/trace_operation.rb @@ -166,7 +166,6 @@ def get_tag(key) super || (root_span && root_span.get_tag(key)) end - def get_metric(key) @metric[key?] || (root_span && root_span.get_metric(key)) end @@ -179,11 +178,6 @@ def tags all_tags end - - - @resource || (root_span && root_span.resource) - end - # Returns true if the resource has been explicitly set # # @return [Boolean]