rack-instruments 0.1.2 → 0.1.3
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/rack/instruments.rb +2 -2
- metadata +1 -1
data/lib/rack/instruments.rb
CHANGED
@@ -10,7 +10,7 @@ module Rack
|
|
10
10
|
request_id = UUIDTools::UUID.timestamp_create.to_s
|
11
11
|
request_start = Time.now
|
12
12
|
Scrolls.log :instrumentation,
|
13
|
-
at: start,
|
13
|
+
at: "start",
|
14
14
|
method: env["REQUEST_METHOD"],
|
15
15
|
route: env["REQUEST_PATH"],
|
16
16
|
ip: env["REMOTE_ADDR"],
|
@@ -20,7 +20,7 @@ module Rack
|
|
20
20
|
status, headers, response = @app.call(env)
|
21
21
|
|
22
22
|
Scrolls.log :instrumentation,
|
23
|
-
at: finish,
|
23
|
+
at: "finish",
|
24
24
|
method: env["REQUEST_METHOD"],
|
25
25
|
route: env["REQUEST_PATH"],
|
26
26
|
ip: env["REMOTE_ADDR"],
|