Sha256: a79d3dcd8ad280486751bcdac3d2b312d7875bfb83db473453832309fb097e35
Contents?: true
Size: 521 Bytes
Versions: 38
Compression:
Stored size: 521 Bytes
Contents
require 'agent/am_objectholder' module ManageEngine class APMMetricsCollector def initialize @obj = ManageEngine::APMObjectHolder.instance end def getTransactions @obj.store.metrics_dup end def updateTransaction( id ,values) if(@obj.store.metrics.has_key?(id)) temp = @obj.store.metrics[id] temp.push(values); else temp = Array.new temp.push(values); @obj.store.metrics[id]=temp end end def transactionmetricskeys @obj.store.keys end end#class end#module
Version data entries
38 entries across 38 versions & 2 rubygems