kennel 1.61.3 → 1.61.4

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: 4fee65e3dbf0bb1646062d6a308050c4a92bcc7e65148e72d1ae3b58a9f3671c
4
- data.tar.gz: 566a1a1f668a99ff129f3fb51f3e29d1803e95310cc56892bc1b81b5c2d06de7
3
+ metadata.gz: ddec1e52bda24d78c94d0cce08ef0ec8069831d21fa7b5c708093173a1d17b7e
4
+ data.tar.gz: 16ce37dbdfdd641b358800a75c54183a430d31536e68ad821fe48d7ada98129c
5
5
  SHA512:
6
- metadata.gz: 2fbdb4dbd6f2446dd2644e4583bf3f85f1e19e3d1d50258e8865a286f1fda26039def220d433d9af3d130bee8ad39e2d31e1258ca68f876804ab70c28784e005
7
- data.tar.gz: 1168eab35eb98e39db85910d1c1d83c436cfb0cb5b574beb61fafa0c429040570d5baa8d3a5e846a35834d5df6ee600d6a130104f5863213f284b94dd05e777f
6
+ metadata.gz: 76747928bf1fc2b8208add017d9f43953366f5de8c0b305cfe74b725ddd8bc40a02d2593b4c00a9d4f1f43652c32e83bd3261424ef2e9fe55a0f01b61a5b7190
7
+ data.tar.gz: 34ec05f6b7d198fea07a20c7bcf4fdd580c4551fc07d0c61c9820f37da9968994f6da9f4301db37d31d3a76a73ed63cb3f3529b1f2838ade6974607e02b784a8
data/Readme.md CHANGED
@@ -6,8 +6,7 @@ Keep datadog monitors/dashboards/etc in version control, avoid chaotic managemen
6
6
 
7
7
  - Documented, reusable, automated, and searchable configuration
8
8
  - Changes are PR reviewed and auditable
9
- - Good defaults like no-data / re-notify are preselected
10
- - Reliable cleanup with automated deletion
9
+ - Automated deletion when removed from code
11
10
 
12
11
  ![](template/github/screen.png?raw=true)
13
12
  <!-- NOT IN template/Readme.md -->
@@ -18,7 +17,7 @@ Keep datadog monitors/dashboards/etc in version control, avoid chaotic managemen
18
17
  ```Bash
19
18
  git clone git@github.com:your-org/kennel.git
20
19
  git clone git@github.com:grosser/kennel.git seed
21
- mv seed/teamplate/* kennel/
20
+ mv seed/template/* kennel/
22
21
  cd kennel && git add . && git commit -m 'initial'
23
22
  ```
24
23
  - add a basic projects and teams so others can copy-paste to get started
@@ -31,7 +30,7 @@ Keep datadog monitors/dashboards/etc in version control, avoid chaotic managemen
31
30
 
32
31
  - `projects/` monitors/dashboards/etc scoped by project
33
32
  - `teams/` team definitions
34
- - `parts/` monitors/dashes/etc that are used by multiple projects
33
+ - `parts/` monitors/dashboards/etc that are used by multiple projects
35
34
  - `generated/` projects as json, to show current state and proposed changes in PRs
36
35
 
37
36
  ## Workflows
@@ -125,7 +125,8 @@ module Kennel
125
125
  end
126
126
 
127
127
  def resolve_linked_tracking_ids(id_map)
128
- as_json[:widgets].each do |widget|
128
+ widgets = as_json[:widgets].flat_map { |w| [w, *w.dig(:definition, :widgets) || []] }
129
+ widgets.each do |widget|
129
130
  next unless definition = widget[:definition]
130
131
  case definition[:type]
131
132
  when "uptime"
@@ -1,4 +1,4 @@
1
1
  # frozen_string_literal: true
2
2
  module Kennel
3
- VERSION = "1.61.3"
3
+ VERSION = "1.61.4"
4
4
  end
@@ -6,8 +6,7 @@ Keep datadog monitors/dashboards/etc in version control, avoid chaotic managemen
6
6
 
7
7
  - Documented, reusable, automated, and searchable configuration
8
8
  - Changes are PR reviewed and auditable
9
- - Good defaults like no-data / re-notify are preselected
10
- - Reliable cleanup with automated deletion
9
+ - Automated deletion when removed from code
11
10
 
12
11
  ![](github/screen.png?raw=true)
13
12
 
@@ -15,7 +14,7 @@ Keep datadog monitors/dashboards/etc in version control, avoid chaotic managemen
15
14
 
16
15
  - `projects/` monitors/dashboards/etc scoped by project
17
16
  - `teams/` team definitions
18
- - `parts/` monitors/dashes/etc that are used by multiple projects
17
+ - `parts/` monitors/dashboards/etc that are used by multiple projects
19
18
  - `generated/` projects as json, to show current state and proposed changes in PRs
20
19
 
21
20
  ## Workflows
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.61.3
4
+ version: 1.61.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Michael Grosser
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-01-05 00:00:00.000000000 Z
11
+ date: 2020-01-20 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: faraday