Sha256: 4158e533b22a3f271e4efc2c43a336057ccd657e0e7eaf16d48c78070362bf2c
Contents?: true
Size: 390 Bytes
Versions: 4
Compression:
Stored size: 390 Bytes
Contents
module Chillout class CustomAdvancedMetric def initialize(series:, tags:, timestamp:, values:) @series = series.to_str @tags = tags.to_h @timestamp = timestamp.utc @values = values.to_h end def as_measurements() [{ series: @series, tags: @tags, timestamp: @timestamp, values: @values, }] end end end
Version data entries
4 entries across 4 versions & 1 rubygems