netuitived 0.9.11 → 0.9.12
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.
- data/lib/netuitive/netuitived_server.rb +5 -0
- metadata +2 -2
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
require 'netuitive/metric_aggregator'
|
|
2
2
|
require 'netuitive/netuitived_logger'
|
|
3
|
+
require 'netuitive/netuitived_config_manager'
|
|
3
4
|
class NetuitivedServer
|
|
4
5
|
|
|
5
6
|
def initialize()
|
|
@@ -22,6 +23,10 @@ class NetuitivedServer
|
|
|
22
23
|
@metricAggregator.clearMetrics
|
|
23
24
|
end
|
|
24
25
|
|
|
26
|
+
def interval()
|
|
27
|
+
return ConfigManager.interval
|
|
28
|
+
end
|
|
29
|
+
|
|
25
30
|
def stopServer
|
|
26
31
|
Thread.new do
|
|
27
32
|
exitProcess
|
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.
|
|
4
|
+
version: 0.9.12
|
|
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-
|
|
12
|
+
date: 2015-12-30 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
|