Sha256: ca82343c8e3ef78dc8ec1ae54e24b9be957854f75b1cc49c26cd992d36e26192

Contents?: true

Size: 770 Bytes

Versions: 4

Compression:

Stored size: 770 Bytes

Contents

# frozen_string_literal: true

# Copyright The OpenTelemetry Authors
#
# SPDX-License-Identifier: Apache-2.0

module OpenTelemetry
  module SDK
    module Metrics
      module Aggregation
        NumberDataPoint = Struct.new(:attributes,            # Hash{String => String, Numeric, Boolean, Array<String, Numeric, Boolean>}
                                     :start_time_unix_nano,  # Integer nanoseconds since Epoch
                                     :time_unix_nano,        # Integer nanoseconds since Epoch
                                     :value,                 # Integer
                                     :exemplars)             # optional List of exemplars collected from measurements that were used to form the data point
      end
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
opentelemetry-metrics-sdk-0.4.0 lib/opentelemetry/sdk/metrics/aggregation/number_data_point.rb
opentelemetry-metrics-sdk-0.3.0 lib/opentelemetry/sdk/metrics/aggregation/number_data_point.rb
opentelemetry-metrics-sdk-0.2.0 lib/opentelemetry/sdk/metrics/aggregation/number_data_point.rb
opentelemetry-metrics-sdk-0.1.0 lib/opentelemetry/sdk/metrics/aggregation/number_data_point.rb