ghazel-rpm_contrib 1.0.13.2 → 1.0.13.3
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/rpm_contrib/instrumentation/rainbows.rb +10 -0
- metadata +29 -8
@@ -0,0 +1,10 @@
|
|
1
|
+
if defined?(Rainbows::HttpServer)
|
2
|
+
Rainbows::HttpServer.class_eval do
|
3
|
+
NewRelic::Agent.logger.debug "Installing Rainbows! worker hook."
|
4
|
+
old_worker_loop = instance_method(:worker_loop)
|
5
|
+
define_method(:worker_loop) do | worker |
|
6
|
+
NewRelic::Agent.after_fork(:force_reconnect => true)
|
7
|
+
old_worker_loop.bind(self).call(worker)
|
8
|
+
end
|
9
|
+
end
|
10
|
+
end
|
metadata
CHANGED
@@ -1,7 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: ghazel-rpm_contrib
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
|
4
|
+
hash: 109
|
5
|
+
prerelease: false
|
6
|
+
segments:
|
7
|
+
- 1
|
8
|
+
- 0
|
9
|
+
- 13
|
10
|
+
- 3
|
11
|
+
version: 1.0.13.3
|
5
12
|
platform: ruby
|
6
13
|
authors:
|
7
14
|
- Bill Kayser
|
@@ -14,14 +21,20 @@ default_executable:
|
|
14
21
|
dependencies:
|
15
22
|
- !ruby/object:Gem::Dependency
|
16
23
|
name: newrelic_rpm
|
17
|
-
|
18
|
-
|
19
|
-
|
24
|
+
prerelease: false
|
25
|
+
requirement: &id001 !ruby/object:Gem::Requirement
|
26
|
+
none: false
|
20
27
|
requirements:
|
21
28
|
- - ">="
|
22
29
|
- !ruby/object:Gem::Version
|
30
|
+
hash: 57
|
31
|
+
segments:
|
32
|
+
- 2
|
33
|
+
- 13
|
34
|
+
- 1
|
23
35
|
version: 2.13.1
|
24
|
-
|
36
|
+
type: :runtime
|
37
|
+
version_requirements: *id001
|
25
38
|
description: |
|
26
39
|
Community contributed instrumentation for various frameworks based on
|
27
40
|
the New Relic Ruby monitoring gem newrelic_rpm.
|
@@ -51,12 +64,14 @@ files:
|
|
51
64
|
- lib/rpm_contrib/instrumentation/mongo_mapper.rb
|
52
65
|
- lib/rpm_contrib/instrumentation/mongoid.rb
|
53
66
|
- lib/rpm_contrib/instrumentation/paperclip.rb
|
67
|
+
- lib/rpm_contrib/instrumentation/rainbows.rb
|
54
68
|
- lib/rpm_contrib/instrumentation/redis.rb
|
55
69
|
- lib/rpm_contrib/instrumentation/resque.rb
|
56
70
|
- test/helper.rb
|
57
71
|
- test/schema.rb
|
58
72
|
- test/test_mongoid.rb
|
59
73
|
- test/test_redis.rb
|
74
|
+
- test/test_curb.rb
|
60
75
|
has_rdoc: true
|
61
76
|
homepage: http://github.com/newrelic/rpm_contrib
|
62
77
|
licenses: []
|
@@ -73,21 +88,27 @@ rdoc_options:
|
|
73
88
|
require_paths:
|
74
89
|
- lib
|
75
90
|
required_ruby_version: !ruby/object:Gem::Requirement
|
91
|
+
none: false
|
76
92
|
requirements:
|
77
93
|
- - ">="
|
78
94
|
- !ruby/object:Gem::Version
|
95
|
+
hash: 3
|
96
|
+
segments:
|
97
|
+
- 0
|
79
98
|
version: "0"
|
80
|
-
version:
|
81
99
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
100
|
+
none: false
|
82
101
|
requirements:
|
83
102
|
- - ">="
|
84
103
|
- !ruby/object:Gem::Version
|
104
|
+
hash: 3
|
105
|
+
segments:
|
106
|
+
- 0
|
85
107
|
version: "0"
|
86
|
-
version:
|
87
108
|
requirements: []
|
88
109
|
|
89
110
|
rubyforge_project:
|
90
|
-
rubygems_version: 1.3.
|
111
|
+
rubygems_version: 1.3.7
|
91
112
|
signing_key:
|
92
113
|
specification_version: 3
|
93
114
|
summary: Contributed Instrumentation for New Relic RPM
|