1
0
Fork 0

docs: comments and phrasing

This commit is contained in:
ssube 2019-06-26 07:10:05 -05:00
parent f2579d4a5a
commit 79e115be08
2 changed files with 4 additions and 2 deletions

View File

@ -172,7 +172,8 @@ rules:
Schema used to filter selected nodes.
If a node was `select`ed but but does not match this schema, it will be skipped and the rule will check the next node.
If a node was `select`ed but but does not match this schema, it will be skipped and the rule will move on to the next
node.
Uses [ajv syntax](https://ajv.js.org/keywords.html) in an object.

View File

@ -7,6 +7,8 @@ rules:
- grafana
- dashboard
# this is not the ideal selector for this rule, but tags are located at $.dashboard.tags, while notification
# channels are nested under $.dashboard.panels[*].alert.notifications[*].uid
select: '$'
filter:
@ -41,7 +43,6 @@ rules:
items:
type: object
required: [uid]
additionalProperties: false
properties:
uid:
type: string