newrelic-moped 0.0.2 → 0.0.3
Sign up to get free protection for your applications and to get access to all the features.
- data/VERSION +1 -1
- data/lib/newrelic-moped/instrument.rb +3 -0
- data/newrelic-moped.gemspec +2 -2
- metadata +3 -3
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.0.
|
1
|
+
0.0.3
|
@@ -24,6 +24,9 @@ DependencyDetection.defer do
|
|
24
24
|
if operation_name == 'COMMAND' && log_statement.include?(":mapreduce")
|
25
25
|
operation_name = 'MAPREDUCE'
|
26
26
|
collection = log_statement[/:mapreduce=>"([^"]+)/,1]
|
27
|
+
elsif operation_name == 'COMMAND' && log_statement.include?(":count")
|
28
|
+
operation_name = 'COUNT'
|
29
|
+
collection = log_statement[/:count=>:([^,]+)/,1]
|
27
30
|
end
|
28
31
|
|
29
32
|
self.class.trace_execution_scoped("Database/#{collection}/#{operation_name}") do
|
data/newrelic-moped.gemspec
CHANGED
@@ -5,11 +5,11 @@
|
|
5
5
|
|
6
6
|
Gem::Specification.new do |s|
|
7
7
|
s.name = "newrelic-moped"
|
8
|
-
s.version = "0.0.
|
8
|
+
s.version = "0.0.3"
|
9
9
|
|
10
10
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
11
11
|
s.authors = ["Daren Desjardins"]
|
12
|
-
s.date = "2012-07-
|
12
|
+
s.date = "2012-07-30"
|
13
13
|
s.description = "Adds support for recording database operations in your web transactions. It does not add data\n to the Database view in New Relic, nor instrument Active Record activity. "
|
14
14
|
s.email = "daren@pipewise.com"
|
15
15
|
s.extra_rdoc_files = [
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: newrelic-moped
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.3
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2012-07-
|
12
|
+
date: 2012-07-30 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: newrelic_rpm
|
@@ -94,7 +94,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
94
94
|
version: '0'
|
95
95
|
segments:
|
96
96
|
- 0
|
97
|
-
hash: -
|
97
|
+
hash: -4060946221931748119
|
98
98
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
99
99
|
none: false
|
100
100
|
requirements:
|