kennel 2.8.0 → 2.8.2
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 +4 -4
- data/lib/kennel/models/monitor.rb +1 -1
- data/lib/kennel/models/slo.rb +6 -0
- data/lib/kennel/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: ec30baa34fa9cd6ea5ada65125548347ec92fa0b97a3c1e58ea4bb590850bf48
|
|
4
|
+
data.tar.gz: 650ffef2c083b084a71e7c04083a2405be8d03da974e4c45374a56cfd5c3ac0b
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 0053b7f8135a408f04db94cb055640c5dc5a928381e70736f41a5d79581fadd3071a1cdc1e7d3f8f6c867c972b18843204474d103b81377b5ed6b15183999aaa
|
|
7
|
+
data.tar.gz: e32878d2a099fb1067f5af7f06c7f09bf69b41f82b1f407ceb5edce8d3ab5a3c50da97d7ce8df1b86ae1b225cef7c9d23fb038bf1c09c9fd698d254b93bff480
|
|
@@ -6,7 +6,7 @@ module Kennel
|
|
|
6
6
|
|
|
7
7
|
OPTIONAL_SERVICE_CHECK_THRESHOLDS = [:ok, :warning].freeze
|
|
8
8
|
READONLY_ATTRIBUTES = superclass::READONLY_ATTRIBUTES + [
|
|
9
|
-
:multi, :matching_downtimes, :overall_state_modified, :overall_state, :restricted_roles, :draft_status
|
|
9
|
+
:multi, :matching_downtimes, :overall_state_modified, :overall_state, :restricted_roles, :draft_status, :assets
|
|
10
10
|
]
|
|
11
11
|
TRACKING_FIELD = :message
|
|
12
12
|
|
data/lib/kennel/models/slo.rb
CHANGED
|
@@ -50,6 +50,7 @@ module Kennel
|
|
|
50
50
|
data[:target_threshold] = threshold[:target]
|
|
51
51
|
end
|
|
52
52
|
|
|
53
|
+
# TODO: if user set sli_specification but we don't use it we should raise, but sadly we can't detect that easily
|
|
53
54
|
if type == "time_slice"
|
|
54
55
|
data[:sli_specification] = sli_specification
|
|
55
56
|
elsif (v = query)
|
|
@@ -101,6 +102,11 @@ module Kennel
|
|
|
101
102
|
[:timeframe, :warning_threshold, :target_threshold].each { |k| actual.delete k }
|
|
102
103
|
end
|
|
103
104
|
|
|
105
|
+
# datadog always sets this, but we only set it for time_slice, so discard it for everything else to avoid diff
|
|
106
|
+
if expected[:type] != "time_slice"
|
|
107
|
+
actual.delete :sli_specification
|
|
108
|
+
end
|
|
109
|
+
|
|
104
110
|
ignore_default(expected, actual, DEFAULTS)
|
|
105
111
|
end
|
|
106
112
|
|
data/lib/kennel/version.rb
CHANGED
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: 2.8.
|
|
4
|
+
version: 2.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: 2025-
|
|
11
|
+
date: 2025-12-19 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: diff-lcs
|