class HeimdallApm::Span
One span of storage
Attributes
points_collection[R]
Public Class Methods
new(timestamp, context)
click to toggle source
# File lib/heimdall_apm/vault.rb, line 38 def initialize(timestamp, context) @timestamp = timestamp @context = context @points_collection = ::HeimdallApm::PointsCollection.new end
Public Instance Methods
add_point(txn, metrics)
click to toggle source
# File lib/heimdall_apm/vault.rb, line 45 def add_point(txn, metrics) @points_collection.append(txn, metrics) end