kennel 1.61.3 → 1.61.4
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/Readme.md +3 -4
- data/lib/kennel/models/dashboard.rb +2 -1
- data/lib/kennel/version.rb +1 -1
- data/template/Readme.md +2 -3
- 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: ddec1e52bda24d78c94d0cce08ef0ec8069831d21fa7b5c708093173a1d17b7e
|
|
4
|
+
data.tar.gz: 16ce37dbdfdd641b358800a75c54183a430d31536e68ad821fe48d7ada98129c
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
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
|
-
-
|
|
10
|
-
- Reliable cleanup with automated deletion
|
|
9
|
+
- Automated deletion when removed from code
|
|
11
10
|
|
|
12
11
|

|
|
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/
|
|
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/
|
|
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].
|
|
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"
|
data/lib/kennel/version.rb
CHANGED
data/template/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
|
-
-
|
|
10
|
-
- Reliable cleanup with automated deletion
|
|
9
|
+
- Automated deletion when removed from code
|
|
11
10
|
|
|
12
11
|

|
|
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/
|
|
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.
|
|
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-
|
|
11
|
+
date: 2020-01-20 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: faraday
|