newrelic-grape 1.2.1 → 1.3.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +4 -0
- data/lib/newrelic-grape/instrument.rb +3 -1
- data/lib/newrelic-grape/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e488e3ffd6f19d710fc88adb7b8a55d3c267422f
|
4
|
+
data.tar.gz: 9cf3c8a50671f9b0bc064b4b2ee18796305b704d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: dfac099bed3b4fde1d402e7a71d6f5705615f12a2a2fa1f0f08b80a114746cbb77777197c15fa61d80061cadf20d83a7667f6fc6925dd2c8af653363964540e2
|
7
|
+
data.tar.gz: 1bffac344bd8b8d1d6aeb771e3b3a07fc8c90dd04fef4b6500a1ad553a753c973f00fce40da45cb07f787bfacef934efe49184c1fdf78455c724356a335533c7
|
data/CHANGELOG.md
CHANGED
@@ -1,3 +1,4 @@
|
|
1
|
+
require 'newrelic_rpm'
|
1
2
|
require 'new_relic/agent/instrumentation/controller_instrumentation'
|
2
3
|
|
3
4
|
module NewRelic
|
@@ -12,7 +13,8 @@ module NewRelic
|
|
12
13
|
trace_options = {
|
13
14
|
:category => :rack,
|
14
15
|
:path => "#{request_method} #{request_path}",
|
15
|
-
:request => @newrelic_request
|
16
|
+
:request => @newrelic_request,
|
17
|
+
:params => @newrelic_request.params
|
16
18
|
}
|
17
19
|
perform_action_with_newrelic_trace(trace_options) do
|
18
20
|
@app_response = @app.call(@env)
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: newrelic-grape
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.3.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Richard Huang
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2013-
|
11
|
+
date: 2013-05-10 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: grape
|