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

Version Path
site24x7_apminsight-1.9.3 lib/agent/metrics/am_metricscollector.rb
site24x7_apminsight-1.9.2 lib/agent/metrics/am_metricscollector.rb
site24x7_apminsight-1.9.1 lib/agent/metrics/am_metricscollector.rb
apminsight-1.9.0 lib/agent/metrics/am_metricscollector.rb
site24x7_apminsight-1.9.0 lib/agent/metrics/am_metricscollector.rb
apminsight-1.8.8 lib/agent/metrics/am_metricscollector.rb
site24x7_apminsight-1.8.8 lib/agent/metrics/am_metricscollector.rb
apminsight-1.8.7 lib/agent/metrics/am_metricscollector.rb
site24x7_apminsight-1.8.7 lib/agent/metrics/am_metricscollector.rb
apminsight-1.8.6 lib/agent/metrics/am_metricscollector.rb
site24x7_apminsight-1.8.6 lib/agent/metrics/am_metricscollector.rb
site24x7_apminsight-1.8.5.1 lib/agent/metrics/am_metricscollector.rb
site24x7_apminsight-1.8.5 lib/agent/metrics/am_metricscollector.rb
apminsight-1.8.3 lib/agent/metrics/am_metricscollector.rb
site24x7_apminsight-1.8.3 lib/agent/metrics/am_metricscollector.rb
apminsight-1.8.2 lib/agent/metrics/am_metricscollector.rb
site24x7_apminsight-1.8.2 lib/agent/metrics/am_metricscollector.rb
site24x7_apminsight-1.8.1 lib/agent/metrics/am_metricscollector.rb
site24x7_apminsight-1.8.0 lib/agent/metrics/am_metricscollector.rb
site24x7_apminsight-1.7.3.0 lib/agent/metrics/am_metricscollector.rb