unicorn_wrangler 0.1.2 → 0.2.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 1f72e32d0f738e4a21905f59649fde3906f7fb69
4
- data.tar.gz: bd03778e2a04de0023ca93e5ad84b9a7a5f64c47
3
+ metadata.gz: 82e546ee3d77b187e7cac827c3d04cf8c15524f6
4
+ data.tar.gz: c8129c73c35008e431c4ef014ff99b3367b4b252
5
5
  SHA512:
6
- metadata.gz: 25e32ab650825a5c57bd71bda348ca6178945d4828c6e2cfcc839f6c2b0d299b8197d2c2b98a688e1fefcd4e80d7ffd8df1bb2f6f2e07b30cf3e6653d19675d6
7
- data.tar.gz: a33421c807480547c3508fdbcff4e03e87b46a15e20735146194b16a087cb664b4bdaa635f357523409de7c64dce8434fbaa9ea51366421e929c9467a9f1049d
6
+ metadata.gz: 36f6702fe7ae1963cc7ce6b34ff1d4587cfe386f949e410efda4941bdc81f4451ed5872c78d2a80a02d5ff43d135ca035539716be0280fad6c24198f88bf7149
7
+ data.tar.gz: d39351c904a9b848e4cda23a7c30f5e181eba6232b3fb50736f82303c47c22595d8989f57a114f9de0334ef8619411f8f0f57fe33ffacea5ccb449d25caf0f08
@@ -60,7 +60,7 @@ module UnicornWrangler
60
60
  # Possible issue: kill_worker is not meant to kill the server pid ... might have strange side effects
61
61
  def kill(reason, memory, requests, request_time)
62
62
  if @stats
63
- @stats.increment("#{STATS_NAMESPACE}.kill.#{reason}")
63
+ @stats.increment("#{STATS_NAMESPACE}.killed", tags: ["reason:#{reason}"])
64
64
 
65
65
  @stats.histogram("#{STATS_NAMESPACE}.kill.memory", memory)
66
66
  @stats.histogram("#{STATS_NAMESPACE}.kill.total_requests", requests)
@@ -1,3 +1,3 @@
1
1
  module UnicornWrangler
2
- VERSION = "0.1.2"
2
+ VERSION = "0.2.0"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: unicorn_wrangler
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.2
4
+ version: 0.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Michael Grosser
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-02-28 00:00:00.000000000 Z
11
+ date: 2017-06-01 00:00:00.000000000 Z
12
12
  dependencies: []
13
13
  description:
14
14
  email: michael@grosser.it