datadog-json_logger 0.1.9 → 0.1.10
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/datadog/loggers/version.rb +1 -1
- data/lib/datadog/sinatra_middleware.rb +3 -3
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 1d0c02babef6e388ad340895406b3c9c088728f38eff51ea3bc6e9f9a84d2796
|
4
|
+
data.tar.gz: 3298782aa523410c1cb4940eb21808231cdeac4e1dff9a8f79b6864d18d0c3fc
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9377e79244682e0ec17e155332ac8222b28a08dc2217bba131cde3f03c0799db5c9c7723f3144a4d54d72ae7263c62fbeaefd1a3ca8e6a7510765faaa686dfd6
|
7
|
+
data.tar.gz: 9ab7e3df424b17f978380002ecc618483d0010317949ab3112c1add7330d2e2a5e47208a34ba89f813ede0570c2eb2e8550ec35ee0f1b32d8a891515f19a2abc
|
@@ -66,9 +66,9 @@ module Datadog
|
|
66
66
|
|
67
67
|
def message(log_data)
|
68
68
|
"Received #{log_data[:method]} request from #{log_data[:request_ip]} " \
|
69
|
-
"
|
70
|
-
"
|
71
|
-
"in #{log_data[:duration]}ms.
|
69
|
+
"at #{log_data[:path]} " \
|
70
|
+
"Responded with status #{log_data[:status]} " \
|
71
|
+
"in #{log_data[:duration]}ms."
|
72
72
|
end
|
73
73
|
|
74
74
|
def calculate_duration(start_time, end_time)
|