Sha256: c10e7da29d4a1940914f08e743c59398ce0ba7fcdb7dd5b1d61059d5fa59e041

Contents?: true

Size: 770 Bytes

Versions: 2

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,                 # Numeric
                                     :exemplars)             # optional List of exemplars collected from measurements that were used to form the data point
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
opentelemetry-metrics-sdk-0.5.0 lib/opentelemetry/sdk/metrics/aggregation/number_data_point.rb
opentelemetry-metrics-sdk-0.4.1 lib/opentelemetry/sdk/metrics/aggregation/number_data_point.rb