netuitived 0.9.10 → 0.9.11

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -17,6 +17,7 @@ class MetricAggregator
17
17
 
18
18
  def sendMetrics()
19
19
  elementString=nil
20
+ addSample("netuitive.collection_interval", ConfigManager.interval)
20
21
  @metricMutex.synchronize{
21
22
  NetuitiveLogger.log.debug "self: #{self.object_id}"
22
23
  NetuitiveLogger.log.debug "Thread: #{Thread.current.object_id}"
@@ -30,9 +31,6 @@ class MetricAggregator
30
31
  NetuitiveLogger.log.info "no netuitive metrics to report"
31
32
  return
32
33
  end
33
- }
34
- addSample("netuitive.collection_interval", ConfigManager.interval)
35
- @metricMutex.synchronize{
36
34
  aggregatedSamplesArray = @aggregatedSamples.values
37
35
  aggregatedSamplesArray.each do |sample|
38
36
  sample.timestamp=Time.new
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: netuitived
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.9.10
4
+ version: 0.9.11
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2015-12-10 00:00:00.000000000 Z
12
+ date: 2015-12-11 00:00:00.000000000 Z
13
13
  dependencies: []
14
14
  description: Collects metrics over a certain interval and then sends them to Netuitive
15
15
  email: jking@netuitive.com