kennel 1.21.0 → 1.21.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: f1f69dd4a6316d9bcf55251a7a1242d4933f4e367db322b17d3a0f3a73f53739
4
- data.tar.gz: 1c30f6568e29ff26e778f4da3f47db5272c1a7161bc0c03ca035ef8df6baf02c
3
+ metadata.gz: 8090eb6362c9cddbd3510dc79a6af5e40baeedde0ef9691d0403b7a0336f371d
4
+ data.tar.gz: 61911837385e040944b75c3d7d9d734d880f8e1b62bee15be7c6862ee321f8e8
5
5
  SHA512:
6
- metadata.gz: e780b23f4d1bc971891df5bacf79e390d73d539ee2142d28f5f0b2b5418a5d0667eb8004ee5fc7d916571420e704547b40c157d284c253af90d58cf8a2794712
7
- data.tar.gz: 02b6786dfbc2139cd8aae30204cb51062aa997124b4ebb1b0dd4f9f281b64a8520734c017fe1be2df70ca38b6c79ff79ca88bd291ce515eaaa9900f38cab7377
6
+ metadata.gz: beeb87558d2dac74212feb9f9e17ea1f6c4d6b14ea985ef9edb152e4a6a6ea464b0170801ae7332104304c79a07cbb76bc655399d06b2bf16dd0fe5136c8016d
7
+ data.tar.gz: a5a1ab6f8fe0a3ebcce5551756bb29281076df25f1a2832a334924755d505e37188bfead6c0b2fbea7b3e909fffbe38ddf222e579939eba779e81259360b4919
data/Readme.md CHANGED
@@ -177,7 +177,10 @@ to unblock use the `validate: -> { false }` option.
177
177
 
178
178
  ### Linking with kennel_ids
179
179
 
180
- Screens `uptime` widgets can use `monitor: {id: "foo:bar"}` to link to existing monitors via their kennel_id
180
+ To link to existing monitors via their kennel_id
181
+
182
+ - Screens `uptime` widgets can use `monitor: {id: "foo:bar"}`
183
+ - Screens `alert_graph` widgets can use `alert_id: "foo:bar"`
181
184
 
182
185
  ### Debugging locally
183
186
 
@@ -7,8 +7,7 @@ module Kennel
7
7
  COLORS = {
8
8
  "Alert" => :red,
9
9
  "Warn" => :yellow,
10
- "No Data" => :cyan,
11
- "Ignored" => :magenta # resolved but still broken
10
+ "No Data" => :cyan
12
11
  }.freeze
13
12
 
14
13
  class << self
@@ -56,7 +55,7 @@ module Kennel
56
55
  monitors.reject! { |m| m[:options][:silenced].key?(:*) }
57
56
 
58
57
  # only keep groups that are alerting
59
- monitors.each { |m| m[:state][:groups].reject! { |_, g| g[:status] == "OK" } }
58
+ monitors.each { |m| m[:state][:groups].reject! { |_, g| g[:status] == "OK" || g[:status] == "Ignored" } }
60
59
 
61
60
  # only keep alerting groups that are not silenced
62
61
  monitors.each do |m|
@@ -1,4 +1,4 @@
1
1
  # frozen_string_literal: true
2
2
  module Kennel
3
- VERSION = "1.21.0"
3
+ VERSION = "1.21.1"
4
4
  end
data/template/Readme.md CHANGED
@@ -159,7 +159,10 @@ to unblock use the `validate: -> { false }` option.
159
159
 
160
160
  ### Linking with kennel_ids
161
161
 
162
- Screens `uptime` widgets can use `monitor: {id: "foo:bar"}` to link to existing monitors via their kennel_id
162
+ To link to existing monitors via their kennel_id
163
+
164
+ - Screens `uptime` widgets can use `monitor: {id: "foo:bar"}`
165
+ - Screens `alert_graph` widgets can use `alert_id: "foo:bar"`
163
166
 
164
167
  ### Debugging locally
165
168
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: kennel
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.21.0
4
+ version: 1.21.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Michael Grosser
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-11-02 00:00:00.000000000 Z
11
+ date: 2018-11-06 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: faraday