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

#normalized_methodObject

Returns the value of attribute normalized_method



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

def normalized_method
  @normalized_method
end

#original_methodObject

Returns the value of attribute original_method



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

def original_method
  @original_method
end

#span_nameObject

Returns the value of attribute span_name



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

def span_name
  @span_name
end