class Aws::Telemetry::TracerBase

Base for ‘Tracer` classes.

def current_span

Returns:
  • (Aws::Telemetry::SpanBase) -
def current_span
  raise NotImplementedError
end

def in_span(name, attributes: nil, kind: nil)

Returns:
  • (Aws::Telemetry::SpanBase) -

Parameters:
  • kind (Aws::Telemetry::SpanKind) -- Type of Span
  • attributes (Hash) -- Attributes to attach to the span
  • name (String) -- Span name
def in_span(name, attributes: nil, kind: nil)
  raise NotImplementedError
end

def start_span(name, with_parent: nil, attributes: nil, kind: nil)

Returns:
  • (Aws::Telemetry::SpanBase) -

Parameters:
  • kind (Aws::Telemetry::SpanKind) -- Type of Span
  • attributes (Hash) -- Attributes to attach to the span
  • with_parent (Object) -- Parent Context
  • name (String) -- Span name
def start_span(name, with_parent: nil, attributes: nil, kind: nil)
  raise NotImplementedError
end