Sha256: 44ccc36acc74f21a92c0adf9be2fa31ff8a4f1ce315cf00e21564c9b14612b2a

Contents?: true

Size: 265 Bytes

Versions: 35

Compression:

Stored size: 265 Bytes

Contents

# frozen_string_literal: true

module Datadog
  module Core
    module Metrics
      Metric = Struct.new(:type, :name, :value, :options) do
        def initialize(*args)
          super
          self.options = options || {}
        end
      end
    end
  end
end

Version data entries

35 entries across 35 versions & 2 rubygems

Version Path
datadog-2.9.0 lib/datadog/core/metrics/metric.rb
datadog-2.8.0 lib/datadog/core/metrics/metric.rb
datadog-2.7.1 lib/datadog/core/metrics/metric.rb
datadog-2.7.0 lib/datadog/core/metrics/metric.rb
datadog-2.6.0 lib/datadog/core/metrics/metric.rb
datadog-2.5.0 lib/datadog/core/metrics/metric.rb
datadog-2.4.0 lib/datadog/core/metrics/metric.rb
datadog-2.3.0 lib/datadog/core/metrics/metric.rb
datadog-2.2.0 lib/datadog/core/metrics/metric.rb
ddtrace-1.23.3 lib/datadog/core/metrics/metric.rb
ddtrace-1.23.2 lib/datadog/core/metrics/metric.rb
datadog-2.1.0 lib/datadog/core/metrics/metric.rb
datadog-2.0.0 lib/datadog/core/metrics/metric.rb
ddtrace-1.23.1 lib/datadog/core/metrics/metric.rb
datadog-2.0.0.beta2 lib/datadog/core/metrics/metric.rb
ddtrace-1.22.0 lib/datadog/core/metrics/metric.rb
datadog-2.0.0.beta1 lib/datadog/core/metrics/metric.rb
ddtrace-1.21.1 lib/datadog/core/metrics/metric.rb
ddtrace-1.21.0 lib/datadog/core/metrics/metric.rb
ddtrace-1.20.0 lib/datadog/core/metrics/metric.rb