Class: OpenTelemetry::SDK::Metrics::Exemplar::Exemplar

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

Overview

Exemplar is a Struct containing Exemplar data for export.

Instance Attribute Summary collapse

Instance Attribute Details

#filtered_attributesObject

Returns the value of attribute filtered_attributes

Returns:

  • (Object)

    the current value of filtered_attributes



13
14
15
# File 'lib/opentelemetry/sdk/metrics/exemplar/exemplar.rb', line 13

def filtered_attributes
  @filtered_attributes
end

#span_idObject

Returns the value of attribute span_id

Returns:

  • (Object)

    the current value of span_id



13
14
15
# File 'lib/opentelemetry/sdk/metrics/exemplar/exemplar.rb', line 13

def span_id
  @span_id
end

#time_unix_nanoObject

Returns the value of attribute time_unix_nano

Returns:

  • (Object)

    the current value of time_unix_nano



13
14
15
# File 'lib/opentelemetry/sdk/metrics/exemplar/exemplar.rb', line 13

def time_unix_nano
  @time_unix_nano
end

#trace_idObject

Returns the value of attribute trace_id

Returns:

  • (Object)

    the current value of trace_id



13
14
15
# File 'lib/opentelemetry/sdk/metrics/exemplar/exemplar.rb', line 13

def trace_id
  @trace_id
end

#valueObject

Returns the value of attribute value

Returns:

  • (Object)

    the current value of value



13
14
15
# File 'lib/opentelemetry/sdk/metrics/exemplar/exemplar.rb', line 13

def value
  @value
end