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



376
377
378
# File 'lib/opencensus/trace/span_builder.rb', line 376

def attributes
  @attributes
end

#descriptionObject

Returns the value of attribute description

Returns:

  • (Object)

    the current value of description



376
377
378
# File 'lib/opencensus/trace/span_builder.rb', line 376

def description
  @description
end

#timeObject

Returns the value of attribute time

Returns:

  • (Object)

    the current value of time



376
377
378
# File 'lib/opencensus/trace/span_builder.rb', line 376

def time
  @time
end