Class: DetailedTraceTags

Inherits:
Object
  • Object
show all
Defined in:
lib/scout_apm/detailed_trace.rb

Overview

Tags for either a request, or a span

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(hash) ⇒ DetailedTraceTags

Returns a new instance of DetailedTraceTags.



199
200
201
# File 'lib/scout_apm/detailed_trace.rb', line 199

def initialize(hash)
  @tags = hash
end

Instance Attribute Details

#tagsObject (readonly)

Returns the value of attribute tags.



197
198
199
# File 'lib/scout_apm/detailed_trace.rb', line 197

def tags
  @tags
end

Instance Method Details

#as_jsonObject



203
204
205
# File 'lib/scout_apm/detailed_trace.rb', line 203

def as_json(*)
  @tags.as_json
end