Class: OpenCensus::Trace::SpanBuilder::AnnotationBuilder

Inherits:
Struct
  • Object
show all
Defined in:
lib/opencensus/trace/span_builder.rb

Overview

Internal structure for holding annotations.

Instance Attribute Summary collapse

Instance Attribute Details

#attributesObject

Returns the value of attribute attributes

Returns:

  • (Object)

    the current value of attributes



405
406
407
# File 'lib/opencensus/trace/span_builder.rb', line 405

def attributes
  @attributes
end

#descriptionObject

Returns the value of attribute description

Returns:

  • (Object)

    the current value of description



405
406
407
# File 'lib/opencensus/trace/span_builder.rb', line 405

def description
  @description
end

#timeObject

Returns the value of attribute time

Returns:

  • (Object)

    the current value of time



405
406
407
# File 'lib/opencensus/trace/span_builder.rb', line 405

def time
  @time
end