Class: OpenCensus::Trace::SpanBuilder::LinkBuilder

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

Overview

Internal structure for holding links.

Instance Attribute Summary collapse

Instance Attribute Details

#attributesObject

Returns the value of attribute attributes

Returns:

  • (Object)

    the current value of attributes



390
391
392
# File 'lib/opencensus/trace/span_builder.rb', line 390

def attributes
  @attributes
end

#span_idObject

Returns the value of attribute span_id

Returns:

  • (Object)

    the current value of span_id



390
391
392
# File 'lib/opencensus/trace/span_builder.rb', line 390

def span_id
  @span_id
end

#trace_idObject

Returns the value of attribute trace_id

Returns:

  • (Object)

    the current value of trace_id



390
391
392
# File 'lib/opencensus/trace/span_builder.rb', line 390

def trace_id
  @trace_id
end

#typeObject

Returns the value of attribute type

Returns:

  • (Object)

    the current value of type



390
391
392
# File 'lib/opencensus/trace/span_builder.rb', line 390

def type
  @type
end