Class: Honeycomb::Propagation::Context

Inherits:
Struct
  • Object
show all
Defined in:
lib/honeycomb/propagation/context.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#datasetObject

Returns the value of attribute dataset

Returns:

  • (Object)

    the current value of dataset



5
6
7
# File 'lib/honeycomb/propagation/context.rb', line 5

def dataset
  @dataset
end

#parent_idObject

Returns the value of attribute parent_id

Returns:

  • (Object)

    the current value of parent_id



5
6
7
# File 'lib/honeycomb/propagation/context.rb', line 5

def parent_id
  @parent_id
end

#trace_fieldsObject

Returns the value of attribute trace_fields

Returns:

  • (Object)

    the current value of trace_fields



5
6
7
# File 'lib/honeycomb/propagation/context.rb', line 5

def trace_fields
  @trace_fields
end

#trace_idObject

Returns the value of attribute trace_id

Returns:

  • (Object)

    the current value of trace_id



5
6
7
# File 'lib/honeycomb/propagation/context.rb', line 5

def trace_id
  @trace_id
end

Instance Method Details

#to_arrayObject



6
7
8
# File 'lib/honeycomb/propagation/context.rb', line 6

def to_array
  [trace_id, parent_id, trace_fields, dataset]
end