Class: OpenTelemetry::Instrumentation::Faraday::HttpHelper::SpanCreationAttributes Private

Inherits:
Struct
  • Object
show all
Defined in:
lib/opentelemetry/instrumentation/faraday/http_helper.rb

Overview

This class is part of a private API. You should avoid using this class if possible, as it may be removed or be changed in the future.

Lightweight struct to hold span creation attributes

API:

  • private

Instance Attribute Summary collapse

Instance Attribute Details

#attributesObject

Returns the value of attribute attributes

Returns:

  • the current value of attributes



14
15
16
# File 'lib/opentelemetry/instrumentation/faraday/http_helper.rb', line 14

def attributes
  @attributes
end

#span_nameObject

Returns the value of attribute span_name

Returns:

  • the current value of span_name



14
15
16
# File 'lib/opentelemetry/instrumentation/faraday/http_helper.rb', line 14

def span_name
  @span_name
end