newrelic-elasticsearch 0.1.1 → 0.1.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/newrelic/elasticsearch.rb +1 -6
- data/lib/newrelic/elasticsearch/version.rb +1 -1
- metadata +1 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 3066767a18763e54c5f8bfbcba170ce1c47d7470
|
4
|
+
data.tar.gz: 21c5355934a6e2b8de09ae4e3f8fcdf4d546183f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8d1b7bae4579942e68660cb53ffa8cb27966a651124d2284e4fcbe7103e0d9e4547e2c48c0148f4216f5c86a43cf4151bfe41638291000189809b1bf17e7086c
|
7
|
+
data.tar.gz: 196027f6d2006c93cc84ff3c9378a44fdbfc999519a536958291a4a4b06175b6a52c6b67df34323329ca2f8da7634984ff52d6b8daf8353ee001a78d4ceb954a
|
@@ -23,12 +23,7 @@ DependencyDetection.defer do
|
|
23
23
|
resolver = NewRelic::ElasticsearchOperationResolver.new(method, path)
|
24
24
|
|
25
25
|
callback = proc do |result, metric, elapsed|
|
26
|
-
|
27
|
-
if body && params
|
28
|
-
statement = body.merge(params)
|
29
|
-
else
|
30
|
-
statement = body || params
|
31
|
-
end
|
26
|
+
statement = { body: body, params: params }
|
32
27
|
statement[:scope] = resolver.scope
|
33
28
|
statement[:additional_parameters] = resolver.operands
|
34
29
|
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: newrelic-elasticsearch
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Stephen Prater
|
@@ -135,4 +135,3 @@ signing_key:
|
|
135
135
|
specification_version: 4
|
136
136
|
summary: Provides NewRelic datastore instrumentation for Elasticsearch
|
137
137
|
test_files: []
|
138
|
-
has_rdoc:
|