class Deimos::Tracing::Provider

Base class for all tracing providers.

Public Instance Methods

finish(span) click to toggle source

Finishes the trace on the span object. @param span [Object] The span to finish trace on

# File lib/deimos/tracing/provider.rb, line 17
def finish(span)
  raise NotImplementedError
end
set_error(span, exception) click to toggle source

Set an error on the span. @param span [Object] The span to set error on @param exception [Exception] The exception that occurred

# File lib/deimos/tracing/provider.rb, line 24
def set_error(span, exception)
  raise NotImplementedError
end
start(span_name, options={}) click to toggle source

Returns a span object and starts the trace. @param span_name [String] The name of the span/trace @param options [Hash] Options for the span @return [Object] The span object

# File lib/deimos/tracing/provider.rb, line 11
def start(span_name, options={})
  raise NotImplementedError
end