puma-stats-logger 0.2.0 → 0.2.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +3 -3
- data/lib/puma_stats_logger/middleware.rb +1 -1
- data/lib/puma_stats_logger/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c07c2cb4ec85e97627a9504c0b71fe81c4c1916b
|
4
|
+
data.tar.gz: 5b8e48a38da4068bd75db991a855a4ffa09e30f7
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: bd0f22fee59388d44ba823cba806f888e02e9c5ac746df2c11f640cfa90e4f4fb89b92ec07e23fb9c10a40a67e9d5f972fa3bc5376764f2422dc7115bfcba2ae
|
7
|
+
data.tar.gz: 3ca7deec503d98779783f343fde832205266b3eae16b6d5ecea224b661f1884f591a4d22705575c27a0a87cdd15b115e90275604ad63d821d6b72f94fe02c4f3
|
data/Gemfile.lock
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
puma-stats-logger (0.
|
4
|
+
puma-stats-logger (0.2.0)
|
5
5
|
json
|
6
6
|
puma
|
7
7
|
|
@@ -9,8 +9,8 @@ GEM
|
|
9
9
|
remote: https://rubygems.org/
|
10
10
|
specs:
|
11
11
|
diff-lcs (1.2.5)
|
12
|
-
json (1.8.
|
13
|
-
puma (2.
|
12
|
+
json (1.8.2)
|
13
|
+
puma (2.11.1)
|
14
14
|
rack (>= 1.1, < 2.0)
|
15
15
|
rack (1.5.2)
|
16
16
|
rack-test (0.6.2)
|
@@ -32,7 +32,7 @@ module PumaStatsLogger
|
|
32
32
|
|
33
33
|
stats = JSON.parse(stats.split("\r\n").last)
|
34
34
|
line = String.new.tap do |s|
|
35
|
-
s << "source=#{ENV['DYNO']}" if ENV['DYNO']
|
35
|
+
s << "source=#{ENV['DYNO']} " if ENV['DYNO']
|
36
36
|
s << stats.map{|k,v| "measure#puma.#{k}=#{v}"}.join(' ')
|
37
37
|
end
|
38
38
|
|