Class: OpenTelemetry::SDK::InstrumentationScope

Inherits:
Struct
  • Object
show all
Defined in:
lib/opentelemetry/sdk/instrumentation_scope.rb

Overview

InstrumentationScope is a struct containing scope information for export.

Instance Attribute Summary collapse

Instance Attribute Details

#nameObject

Returns the value of attribute name

Returns:

  • (Object)

    the current value of name



10
11
12
# File 'lib/opentelemetry/sdk/instrumentation_scope.rb', line 10

def name
  @name
end

#versionObject

Returns the value of attribute version

Returns:

  • (Object)

    the current value of version



10
11
12
# File 'lib/opentelemetry/sdk/instrumentation_scope.rb', line 10

def version
  @version
end