Class: OpenTelemetry::Instrumentation::HTTPX::HttpHelper::SpanCreationAttributes Private

Inherits:
Struct
  • Object
show all
Defined in:
lib/opentelemetry/instrumentation/httpx/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

Instance Attribute Summary collapse

Instance Attribute Details

#attributesObject

Returns the value of attribute attributes

Returns:

  • (Object)

    the current value of attributes



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

def attributes
  @attributes
end

#span_nameObject

Returns the value of attribute span_name

Returns:

  • (Object)

    the current value of span_name



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

def span_name
  @span_name
end