Class: DetailedTraceTags
- Inherits:
-
Object
- Object
- DetailedTraceTags
- Defined in:
- lib/scout_apm/detailed_trace.rb
Overview
Tags for either a request, or a span
Instance Attribute Summary collapse
-
#tags ⇒ Object
readonly
Returns the value of attribute tags.
Instance Method Summary collapse
- #as_json ⇒ Object
-
#initialize(hash) ⇒ DetailedTraceTags
constructor
A new instance of DetailedTraceTags.
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
#tags ⇒ Object (readonly)
Returns the value of attribute tags.
197 198 199 |
# File 'lib/scout_apm/detailed_trace.rb', line 197 def @tags end |
Instance Method Details
#as_json ⇒ Object
203 204 205 |
# File 'lib/scout_apm/detailed_trace.rb', line 203 def as_json(*) @tags.as_json end |