Class: Datadog::Span::ResourceContainer
- Inherits:
-
Struct
- Object
- Struct
- Datadog::Span::ResourceContainer
- Defined in:
- lib/ddtrace/span.rb
Overview
Simple indirection used to contain the latest resource name for a span. The profiler keeps a reference to these objects while sampling so it can extract the latest resource after the fact, as some integrations only set the correct name at the end of the span.
Instance Attribute Summary collapse
-
#latest ⇒ Object
Returns the value of attribute latest.
Instance Attribute Details
#latest ⇒ Object
Returns the value of attribute latest
59 60 61 |
# File 'lib/ddtrace/span.rb', line 59 def latest @latest end |