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

#attributesObject

Returns the value of attribute attributes



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

def attributes
  @attributes
end

#span_nameObject

Returns the value of attribute span_name



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

def span_name
  @span_name
end