kennel 1.8.1 → 1.8.2

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
  SHA256:
3
- metadata.gz: 84f566da019d8df53e963bfe62415b806cd73782c4650e3870922e1e7e917c74
4
- data.tar.gz: 147e17aa0363ae9098126cba7e60277d6c168096d843e2816c8321ad094459f6
3
+ metadata.gz: bc2eae7d6995e1152994850eead9b1666cbd033db33e267101d6a8cf78cf285d
4
+ data.tar.gz: 33ab1665449a0fce99fdceae08af2c175dfa2d05838832af604b059cd534c92d
5
5
  SHA512:
6
- metadata.gz: 9b5bfba186a80b3838f5bdea144f47993ef9cf29120a735c322ab31b44bb471509ad6dc8a832e372718593ce5193397e5012df73f63c61bfef8e6965b521fbd4
7
- data.tar.gz: c053b60495a1d0a269047330f8a8924368d87a12a93f877b710ba8380bcf23c97a812fcd5989fcd13a219ac7a1c753a6050a5ac95556f47f48f4fd9a0e71c1f8
6
+ metadata.gz: 1ea629f41a6296d03b0fc73f539794498470e21f4bef92d1bc16fe7f2febf37312908cf95cb3b8db43b930c0f6442a5a11b0f68d515b8d5c4de3c3a9147e19b1
7
+ data.tar.gz: c5b310fdee53840db03e9f557e3c18468a283e0a34c26dbf6cbd511282e875bf940493cd632b3729132170c54eadc7fd96d849e70ffc3dd1b9f659305643879b
@@ -11,7 +11,7 @@ module Kennel
11
11
 
12
12
  settings(
13
13
  :query, :name, :message, :escalation_message, :critical, :kennel_id, :type, :renotify_interval, :warning,
14
- :ok, :id, :no_data_timeframe, :notify_no_data, :tags, :multi, :critical_recovery, :warning_recovery, :require_full_window
14
+ :ok, :id, :no_data_timeframe, :notify_no_data, :notify_audit, :tags, :multi, :critical_recovery, :warning_recovery, :require_full_window
15
15
  )
16
16
  defaults(
17
17
  message: -> { "\n\n@slack-#{project.team.slack}" },
@@ -23,6 +23,7 @@ module Kennel
23
23
  id: -> { nil },
24
24
  notify_no_data: -> { true },
25
25
  no_data_timeframe: -> { notify_no_data ? 60 : nil },
26
+ notify_audit: -> { true },
26
27
  tags: -> { @project.tags },
27
28
  multi: -> { type != "query alert" || query.include?(" by ") },
28
29
  critical_recovery: -> { nil },
@@ -49,7 +50,7 @@ module Kennel
49
50
  timeout_h: 0,
50
51
  notify_no_data: notify_no_data,
51
52
  no_data_timeframe: no_data_timeframe,
52
- notify_audit: true,
53
+ notify_audit: notify_audit,
53
54
  require_full_window: require_full_window,
54
55
  new_host_delay: 300,
55
56
  include_tags: true,
@@ -1,4 +1,4 @@
1
1
  # frozen_string_literal: true
2
2
  module Kennel
3
- VERSION = "1.8.1"
3
+ VERSION = "1.8.2"
4
4
  end
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.8.1
4
+ version: 1.8.2
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-06-21 00:00:00.000000000 Z
11
+ date: 2018-06-22 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: faraday