haproxy2rpm 0.0.9 → 0.0.10
Sign up to get free protection for your applications and to get access to all the features.
- data/CHANGELOG.md +5 -0
- data/lib/haproxy2rpm/rpm.rb +5 -5
- data/lib/haproxy2rpm/version.rb +1 -1
- metadata +12 -12
data/CHANGELOG.md
CHANGED
data/lib/haproxy2rpm/rpm.rb
CHANGED
@@ -23,10 +23,10 @@ module Haproxy2Rpm
|
|
23
23
|
end
|
24
24
|
|
25
25
|
def process_and_send(line)
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
26
|
+
begin
|
27
|
+
message = message_parser.call(line)
|
28
|
+
request_recorder.call(message)
|
29
|
+
rescue URI::InvalidURIError
|
30
30
|
Haproxy2Rpm.logger.warn "Parser returned an empty message from line #{line}"
|
31
31
|
end
|
32
32
|
end
|
@@ -60,7 +60,7 @@ module Haproxy2Rpm
|
|
60
60
|
end
|
61
61
|
|
62
62
|
record_transaction(request.tr / rpm_number_unit, params)
|
63
|
-
Haproxy2Rpm.logger.debug "RECORDING (transaction): #{params.inspect}"
|
63
|
+
Haproxy2Rpm.logger.debug "RECORDING (transaction) #{request.http_path}: #{params.inspect}"
|
64
64
|
result = queue_time_stats_engine.record_data_point(request.tw / rpm_number_unit)
|
65
65
|
Haproxy2Rpm.logger.debug "RECORDING (data point): wait time #{request.tw}, #{result.inspect}"
|
66
66
|
end
|
data/lib/haproxy2rpm/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: haproxy2rpm
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.10
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -10,11 +10,11 @@ authors:
|
|
10
10
|
autorequire:
|
11
11
|
bindir: bin
|
12
12
|
cert_chain: []
|
13
|
-
date: 2011-
|
13
|
+
date: 2011-09-02 00:00:00.000000000 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: newrelic_rpm
|
17
|
-
requirement: &
|
17
|
+
requirement: &70241929478900 !ruby/object:Gem::Requirement
|
18
18
|
none: false
|
19
19
|
requirements:
|
20
20
|
- - ! '>='
|
@@ -22,10 +22,10 @@ dependencies:
|
|
22
22
|
version: '0'
|
23
23
|
type: :runtime
|
24
24
|
prerelease: false
|
25
|
-
version_requirements: *
|
25
|
+
version_requirements: *70241929478900
|
26
26
|
- !ruby/object:Gem::Dependency
|
27
27
|
name: eventmachine-tail
|
28
|
-
requirement: &
|
28
|
+
requirement: &70241929476180 !ruby/object:Gem::Requirement
|
29
29
|
none: false
|
30
30
|
requirements:
|
31
31
|
- - ! '>='
|
@@ -33,10 +33,10 @@ dependencies:
|
|
33
33
|
version: '0'
|
34
34
|
type: :runtime
|
35
35
|
prerelease: false
|
36
|
-
version_requirements: *
|
36
|
+
version_requirements: *70241929476180
|
37
37
|
- !ruby/object:Gem::Dependency
|
38
38
|
name: rake
|
39
|
-
requirement: &
|
39
|
+
requirement: &70241929470660 !ruby/object:Gem::Requirement
|
40
40
|
none: false
|
41
41
|
requirements:
|
42
42
|
- - ! '>='
|
@@ -44,10 +44,10 @@ dependencies:
|
|
44
44
|
version: '0'
|
45
45
|
type: :development
|
46
46
|
prerelease: false
|
47
|
-
version_requirements: *
|
47
|
+
version_requirements: *70241929470660
|
48
48
|
- !ruby/object:Gem::Dependency
|
49
49
|
name: shoulda-context
|
50
|
-
requirement: &
|
50
|
+
requirement: &70241929468160 !ruby/object:Gem::Requirement
|
51
51
|
none: false
|
52
52
|
requirements:
|
53
53
|
- - ! '>='
|
@@ -55,10 +55,10 @@ dependencies:
|
|
55
55
|
version: '0'
|
56
56
|
type: :development
|
57
57
|
prerelease: false
|
58
|
-
version_requirements: *
|
58
|
+
version_requirements: *70241929468160
|
59
59
|
- !ruby/object:Gem::Dependency
|
60
60
|
name: mocha
|
61
|
-
requirement: &
|
61
|
+
requirement: &70241929467720 !ruby/object:Gem::Requirement
|
62
62
|
none: false
|
63
63
|
requirements:
|
64
64
|
- - ! '>='
|
@@ -66,7 +66,7 @@ dependencies:
|
|
66
66
|
version: '0'
|
67
67
|
type: :development
|
68
68
|
prerelease: false
|
69
|
-
version_requirements: *
|
69
|
+
version_requirements: *70241929467720
|
70
70
|
description: Sending haproxy logs to new relic rpm
|
71
71
|
email:
|
72
72
|
- patrick.huesler@wooga.com
|