Class: OpenTelemetry::Instrumentation::Net::HTTP::HttpHelper::SpanCreationAttributes Private

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

Returns:

  • (Object)

    the current value of normalized_method



15
16
17
# File 'lib/opentelemetry/instrumentation/net/http/http_helper.rb', line 15

def normalized_method
  @normalized_method
end

#original_methodObject

Returns the value of attribute original_method

Returns:

  • (Object)

    the current value of original_method



15
16
17
# File 'lib/opentelemetry/instrumentation/net/http/http_helper.rb', line 15

def original_method
  @original_method
end

#span_nameObject

Returns the value of attribute span_name

Returns:

  • (Object)

    the current value of span_name



15
16
17
# File 'lib/opentelemetry/instrumentation/net/http/http_helper.rb', line 15

def span_name
  @span_name
end