Sha256: b49277ae85c5de5766c99bc04d82d1a57912659ebc010c166926dc53f46ece3a
Contents?: true
Size: 365 Bytes
Versions: 28
Compression:
Stored size: 365 Bytes
Contents
# frozen_string_literal: true module Sentry module Metrics class DistributionMetric < Metric attr_reader :value def initialize(value) @value = [value.to_f] end def add(value) @value << value.to_f end def serialize value end def weight value.size end end end end
Version data entries
28 entries across 28 versions & 2 rubygems