right_agent 2.3.7 → 2.3.8
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.
- checksums.yaml +4 -4
- data/README.rdoc +2 -0
- data/lib/right_agent/clients/base_retry_client.rb +0 -2
- data/lib/right_agent/clients/router_client.rb +0 -1
- data/lib/right_agent/dispatcher.rb +1 -3
- data/lib/right_agent/sender.rb +0 -2
- data/right_agent.gemspec +2 -2
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f3f45e58a286bde2a91ad6d408a3e86f2f77ee7d
|
4
|
+
data.tar.gz: f1f481d19547a6557a17d516d32edce7c47948b7
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e541ee9c6a67dd538b50392e16230ddad40543ae66097cbfcb19a4dfafc020692be4e28f4ac300fe92f5f5009d4f631e6f3da3f1dc845005e1d2067bbff31e0a
|
7
|
+
data.tar.gz: 18a92f698c8a8db11b99ed0cf69dda620c81161c8a1f307600d6e0864ca0160dfc9ebb5af3b115d3ac8988d1f432bcd6570b4a9b048f62332289732d64435ca7
|
data/README.rdoc
CHANGED
@@ -52,6 +52,8 @@ RightAgent has been tested on EC2 instances running CentOS 5.2 and Ubuntu 8.10.
|
|
52
52
|
|
53
53
|
RightAgent is work in progress, expect more documentation and examples in the near future.
|
54
54
|
|
55
|
+
Owned by the RightScale Cornsilk team.
|
56
|
+
|
55
57
|
= ADDITIONAL RESOURCES
|
56
58
|
|
57
59
|
* [1] RabbitMQ is http://www.rabbitmq.com/documentation.html
|
@@ -158,12 +158,10 @@ module RightScale
|
|
158
158
|
# [Hash, NilClass] "reconnects" Activity stats or nil if none
|
159
159
|
# [Hash, NilClass] "request failures" Activity stats or nil if none
|
160
160
|
# [Hash, NilClass] "request sent" Activity stats or nil if none
|
161
|
-
# [Float, NilClass] "response time" average number of seconds to respond to a request or nil if none
|
162
161
|
# [Hash, NilClass] "state" Activity stats or nil if none
|
163
162
|
def stats(reset = false)
|
164
163
|
stats = {}
|
165
164
|
@stats.each { |k, v| stats[k] = v.all }
|
166
|
-
stats["response time"] = @stats["requests sent"].avg_duration
|
167
165
|
reset_stats if reset
|
168
166
|
stats
|
169
167
|
end
|
@@ -260,7 +260,6 @@ module RightScale
|
|
260
260
|
# [Hash, NilClass] "reconnects" Activity stats or nil if none
|
261
261
|
# [Hash, NilClass] "request failures" Activity stats or nil if none
|
262
262
|
# [Hash, NilClass] "request sent" Activity stats or nil if none
|
263
|
-
# [Float, NilClass] "response time" average number of seconds to respond to a request or nil if none
|
264
263
|
def stats(reset = false)
|
265
264
|
events = @stats["events"].all
|
266
265
|
stats = super(reset)
|
@@ -115,14 +115,12 @@ module RightScale
|
|
115
115
|
# "stale (<method>)"), or nil if none
|
116
116
|
# "requests"(Hash|nil):: Request activity stats with keys "total", "percent", "last", and "rate"
|
117
117
|
# with percentage breakdown per request type, or nil if none
|
118
|
-
# "response time"(Float):: Average number of seconds to respond to a request recently
|
119
118
|
def stats(reset = false)
|
120
119
|
stats = {
|
121
120
|
"dispatched cache" => (@dispatched_cache.stats if @dispatched_cache),
|
122
121
|
"dispatch failures" => @dispatch_failure_stats.all,
|
123
122
|
"rejects" => @reject_stats.all,
|
124
|
-
"requests" => @request_stats.all
|
125
|
-
"response time" => @request_stats.avg_duration
|
123
|
+
"requests" => @request_stats.all
|
126
124
|
}
|
127
125
|
reset_stats if reset
|
128
126
|
stats
|
data/lib/right_agent/sender.rb
CHANGED
@@ -456,7 +456,6 @@ module RightScale
|
|
456
456
|
# with percentage breakdown per request type, or nil if none
|
457
457
|
# "requests pending"(Hash|nil):: Number of requests waiting for response and age of oldest,
|
458
458
|
# or nil if none
|
459
|
-
# "response time"(Float):: Average number of seconds to respond to a request recently
|
460
459
|
# "result errors"(Hash|nil):: Error result activity stats with keys "total", "percent", "last",
|
461
460
|
# and 'rate' with percentage breakdown per error, or nil if none
|
462
461
|
# "results"(Hash|nil):: Results activity stats with keys "total", "percent", "last", and "rate"
|
@@ -485,7 +484,6 @@ module RightScale
|
|
485
484
|
"request kinds" => @request_kind_stats.all,
|
486
485
|
"requests" => @request_stats.all,
|
487
486
|
"requests pending" => pending,
|
488
|
-
"response time" => @request_stats.avg_duration,
|
489
487
|
"result errors" => @result_error_stats.all,
|
490
488
|
"results" => @result_stats.all,
|
491
489
|
"retries" => @retry_stats.all,
|
data/right_agent.gemspec
CHANGED
@@ -25,8 +25,8 @@ require 'rbconfig'
|
|
25
25
|
|
26
26
|
Gem::Specification.new do |spec|
|
27
27
|
spec.name = 'right_agent'
|
28
|
-
spec.version = '2.3.
|
29
|
-
spec.date = '2014-08-
|
28
|
+
spec.version = '2.3.8'
|
29
|
+
spec.date = '2014-08-08'
|
30
30
|
spec.authors = ['Lee Kirchhoff', 'Raphael Simon', 'Tony Spataro', 'Scott Messier']
|
31
31
|
spec.email = 'lee@rightscale.com'
|
32
32
|
spec.homepage = 'https://github.com/rightscale/right_agent'
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: right_agent
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.3.
|
4
|
+
version: 2.3.8
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Lee Kirchhoff
|
@@ -11,7 +11,7 @@ authors:
|
|
11
11
|
autorequire:
|
12
12
|
bindir: bin
|
13
13
|
cert_chain: []
|
14
|
-
date: 2014-08-
|
14
|
+
date: 2014-08-08 00:00:00.000000000 Z
|
15
15
|
dependencies:
|
16
16
|
- !ruby/object:Gem::Dependency
|
17
17
|
name: right_support
|