Class: Deimos::Tracing::MockSpan

Inherits:
Object
  • Object
show all
Defined in:
lib/deimos/tracing/mock.rb

Overview

Mock Span class

Instance Method Summary collapse

Constructor Details

#initializeMockSpan

:nodoc:



65
66
67
# File 'lib/deimos/tracing/mock.rb', line 65

def initialize
  @span = {}
end

Instance Method Details

#get_tag(tag) ⇒ Object

:nodoc:



75
76
77
# File 'lib/deimos/tracing/mock.rb', line 75

def get_tag(tag)
  @span[tag]
end

#set_tag(tag, value) ⇒ Object

:nodoc:



70
71
72
# File 'lib/deimos/tracing/mock.rb', line 70

def set_tag(tag, value)
  @span[tag] = value
end