Class: OpenTelemetry::SDK::InstrumentationLibrary

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

Overview

InstrumentationLibrary is a struct containing library 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_library.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_library.rb', line 10

def version
  @version
end