Class: Bitfab::Otel::CarrierMeta

Inherits:
Struct
  • Object
show all
Defined in:
lib/bitfab/otel.rb

Overview

Everything the transport needs to know ABOUT a payload without reading one. Supplied by the caller that built it; each field falls back to something the transport can decide without looking inside.

ref is nil for carriers nobody accounts for, name defaults to "bitfab.", nil timestamps let OTel stamp the carrier itself.

Instance Attribute Summary collapse

Instance Attribute Details

#ended_atObject

Returns the value of attribute ended_at

Returns:

  • (Object)

    the current value of ended_at



67
68
69
# File 'lib/bitfab/otel.rb', line 67

def ended_at
  @ended_at
end

#erroredObject

Returns the value of attribute errored

Returns:

  • (Object)

    the current value of errored



67
68
69
# File 'lib/bitfab/otel.rb', line 67

def errored
  @errored
end

#nameObject

Returns the value of attribute name

Returns:

  • (Object)

    the current value of name



67
68
69
# File 'lib/bitfab/otel.rb', line 67

def name
  @name
end

#refObject

Returns the value of attribute ref

Returns:

  • (Object)

    the current value of ref



67
68
69
# File 'lib/bitfab/otel.rb', line 67

def ref
  @ref
end

#started_atObject

Returns the value of attribute started_at

Returns:

  • (Object)

    the current value of started_at



67
68
69
# File 'lib/bitfab/otel.rb', line 67

def started_at
  @started_at
end