scout 5.8.9 → 5.9.0.pre
Sign up to get free protection for your applications and to get access to all the features.
- data/CHANGELOG.markdown +4 -0
- data/lib/scout/streamer.rb +3 -1
- data/lib/scout/version.rb +1 -1
- metadata +77 -50
- checksums.yaml +0 -7
data/CHANGELOG.markdown
CHANGED
data/lib/scout/streamer.rb
CHANGED
@@ -119,7 +119,9 @@ module Scout
|
|
119
119
|
:process => ServerMetrics::Processes }
|
120
120
|
|
121
121
|
realtime_collectors = all_collectors.select { |key, klass| system_metric_collectors.include?(key) }
|
122
|
-
realtime_collectors.
|
122
|
+
realtime_collectors.each do |key_klass|
|
123
|
+
key = key_klass.first
|
124
|
+
klass = key_klass.last
|
123
125
|
begin
|
124
126
|
collector_previous_run = @history[:server_metrics][key]
|
125
127
|
collector = collector_previous_run.is_a?(Hash) ? klass.from_hash(collector_previous_run) : klass.new() # continue with last run, or just create new
|
data/lib/scout/version.rb
CHANGED
metadata
CHANGED
@@ -1,53 +1,67 @@
|
|
1
|
-
--- !ruby/object:Gem::Specification
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
2
|
name: scout
|
3
|
-
version: !ruby/object:Gem::Version
|
4
|
-
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
hash: 961915996
|
5
|
+
prerelease: 6
|
6
|
+
segments:
|
7
|
+
- 5
|
8
|
+
- 9
|
9
|
+
- 0
|
10
|
+
- pre
|
11
|
+
version: 5.9.0.pre
|
5
12
|
platform: ruby
|
6
|
-
authors:
|
13
|
+
authors:
|
7
14
|
- Andre Lewis
|
8
15
|
- Derek Haynes
|
9
16
|
- James Edward Gray II
|
10
17
|
autorequire:
|
11
18
|
bindir: bin
|
12
19
|
cert_chain: []
|
13
|
-
|
14
|
-
|
15
|
-
|
20
|
+
|
21
|
+
date: 2014-03-17 00:00:00 -06:00
|
22
|
+
default_executable:
|
23
|
+
dependencies:
|
24
|
+
- !ruby/object:Gem::Dependency
|
16
25
|
name: elif
|
17
|
-
requirement: !ruby/object:Gem::Requirement
|
18
|
-
requirements:
|
19
|
-
- - '>='
|
20
|
-
- !ruby/object:Gem::Version
|
21
|
-
version: '0'
|
22
|
-
type: :runtime
|
23
26
|
prerelease: false
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
- - '>='
|
34
|
-
- !ruby/object:Gem::Version
|
35
|
-
version: 1.2.2
|
27
|
+
requirement: &id001 !ruby/object:Gem::Requirement
|
28
|
+
none: false
|
29
|
+
requirements:
|
30
|
+
- - ">="
|
31
|
+
- !ruby/object:Gem::Version
|
32
|
+
hash: 3
|
33
|
+
segments:
|
34
|
+
- 0
|
35
|
+
version: "0"
|
36
36
|
type: :runtime
|
37
|
+
version_requirements: *id001
|
38
|
+
- !ruby/object:Gem::Dependency
|
39
|
+
name: server_metrics
|
37
40
|
prerelease: false
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
41
|
+
requirement: &id002 !ruby/object:Gem::Requirement
|
42
|
+
none: false
|
43
|
+
requirements:
|
44
|
+
- - ">="
|
45
|
+
- !ruby/object:Gem::Version
|
46
|
+
hash: 27
|
47
|
+
segments:
|
48
|
+
- 1
|
49
|
+
- 2
|
50
|
+
- 2
|
42
51
|
version: 1.2.2
|
52
|
+
type: :runtime
|
53
|
+
version_requirements: *id002
|
43
54
|
description: |
|
44
55
|
The scout gem reports metrics to scoutapp.com, an easy-to-use hosted server monitoring service.
|
56
|
+
|
45
57
|
email: support@scoutapp.com
|
46
|
-
executables:
|
58
|
+
executables:
|
47
59
|
- scout
|
48
60
|
extensions: []
|
61
|
+
|
49
62
|
extra_rdoc_files: []
|
50
|
-
|
63
|
+
|
64
|
+
files:
|
51
65
|
- .gitignore
|
52
66
|
- CHANGELOG.markdown
|
53
67
|
- Gemfile
|
@@ -311,30 +325,43 @@ files:
|
|
311
325
|
- vendor/signature/spec/signature_spec.rb
|
312
326
|
- vendor/signature/spec/spec_helper.rb
|
313
327
|
- vendor/util/lib/core_extensions.rb
|
328
|
+
has_rdoc: true
|
314
329
|
homepage: http://scoutapp.com
|
315
330
|
licenses: []
|
316
|
-
|
331
|
+
|
317
332
|
post_install_message:
|
318
333
|
rdoc_options: []
|
319
|
-
|
334
|
+
|
335
|
+
require_paths:
|
320
336
|
- lib
|
321
|
-
required_ruby_version: !ruby/object:Gem::Requirement
|
322
|
-
|
323
|
-
|
324
|
-
|
325
|
-
|
326
|
-
|
327
|
-
|
328
|
-
|
329
|
-
|
330
|
-
|
337
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
338
|
+
none: false
|
339
|
+
requirements:
|
340
|
+
- - ">="
|
341
|
+
- !ruby/object:Gem::Version
|
342
|
+
hash: 3
|
343
|
+
segments:
|
344
|
+
- 0
|
345
|
+
version: "0"
|
346
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
347
|
+
none: false
|
348
|
+
requirements:
|
349
|
+
- - ">"
|
350
|
+
- !ruby/object:Gem::Version
|
351
|
+
hash: 25
|
352
|
+
segments:
|
353
|
+
- 1
|
354
|
+
- 3
|
355
|
+
- 1
|
356
|
+
version: 1.3.1
|
331
357
|
requirements: []
|
358
|
+
|
332
359
|
rubyforge_project: scout
|
333
|
-
rubygems_version:
|
360
|
+
rubygems_version: 1.4.2
|
334
361
|
signing_key:
|
335
|
-
specification_version:
|
336
|
-
summary: Scout is an easy-to-use hosted server monitoring service. The scout Ruby
|
337
|
-
|
338
|
-
|
339
|
-
|
340
|
-
|
362
|
+
specification_version: 3
|
363
|
+
summary: Scout is an easy-to-use hosted server monitoring service. The scout Ruby gem reports metrics to our service. The agent runs plugins, configured via the Scout web interface, to monitor a server.
|
364
|
+
test_files:
|
365
|
+
- test/plugins/disk_usage.rb
|
366
|
+
- test/scout_test.rb
|
367
|
+
- test/streamer_test.rb
|
checksums.yaml
DELETED
@@ -1,7 +0,0 @@
|
|
1
|
-
---
|
2
|
-
SHA1:
|
3
|
-
metadata.gz: b8225b7bb56901315cf31c6e6d4308b3d2102d60
|
4
|
-
data.tar.gz: e38d3ec3d1c97ddf4a06c1ae5e79c63c16e8fba7
|
5
|
-
SHA512:
|
6
|
-
metadata.gz: 5f338aa1e81174c811d63c08ab5f01c801b4d4ad9ab34b78762764ae937c7ef6bb5f2ae6ae0c9010c017081c416da96149269e1cb678e111a177c50f697b95d3
|
7
|
-
data.tar.gz: 915f66476f32bc8fd1f3547861a5bbe764761c864988a78593dbcb7ff1724bea2b2ce1a46be2a12b234505656676fc947edc95b41f175c3aa3cef3b658e5eb87
|