rpm_contrib 2.1.2 → 2.1.3
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/CHANGELOG +5 -0
- data/README.md +6 -2
- data/lib/rpm_contrib/instrumentation/aws.rb +0 -1
- data/lib/rpm_contrib/instrumentation/resque.rb +1 -1
- metadata +6 -7
data/CHANGELOG
CHANGED
data/README.md
CHANGED
|
@@ -84,9 +84,13 @@ You can disable it by setting 'disable_mongodb' to true in your newrelic.yml fil
|
|
|
84
84
|
Make sure that your jobs either inherit from Resque::Job or else include our instrumentation:
|
|
85
85
|
|
|
86
86
|
```ruby
|
|
87
|
+
require 'rpm_contrib/instrumentation/resque'
|
|
87
88
|
class MyJob
|
|
88
|
-
|
|
89
|
-
|
|
89
|
+
extend Resque::Plugins::NewRelicInstrumentation
|
|
90
|
+
|
|
91
|
+
def self.perform(*args)
|
|
92
|
+
# perform your job here...
|
|
93
|
+
end
|
|
90
94
|
end
|
|
91
95
|
```
|
|
92
96
|
|
metadata
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: rpm_contrib
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
hash:
|
|
5
|
-
prerelease:
|
|
4
|
+
hash: 13
|
|
5
|
+
prerelease:
|
|
6
6
|
segments:
|
|
7
7
|
- 2
|
|
8
8
|
- 1
|
|
9
|
-
-
|
|
10
|
-
version: 2.1.
|
|
9
|
+
- 3
|
|
10
|
+
version: 2.1.3
|
|
11
11
|
platform: ruby
|
|
12
12
|
authors:
|
|
13
13
|
- Bill Kayser
|
|
@@ -15,7 +15,7 @@ autorequire:
|
|
|
15
15
|
bindir: bin
|
|
16
16
|
cert_chain: []
|
|
17
17
|
|
|
18
|
-
date: 2011-
|
|
18
|
+
date: 2011-06-14 00:00:00 -07:00
|
|
19
19
|
default_executable:
|
|
20
20
|
dependencies:
|
|
21
21
|
- !ruby/object:Gem::Dependency
|
|
@@ -86,7 +86,6 @@ licenses: []
|
|
|
86
86
|
|
|
87
87
|
post_install_message:
|
|
88
88
|
rdoc_options:
|
|
89
|
-
- --charset=UTF-8
|
|
90
89
|
- --line-numbers
|
|
91
90
|
- --inline-source
|
|
92
91
|
- --title
|
|
@@ -116,7 +115,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
116
115
|
requirements: []
|
|
117
116
|
|
|
118
117
|
rubyforge_project:
|
|
119
|
-
rubygems_version: 1.
|
|
118
|
+
rubygems_version: 1.4.2
|
|
120
119
|
signing_key:
|
|
121
120
|
specification_version: 3
|
|
122
121
|
summary: Contributed Instrumentation for New Relic RPM
|