docs: comments and phrasing
This commit is contained in:
parent
f2579d4a5a
commit
79e115be08
|
@ -172,7 +172,8 @@ rules:
|
||||||
|
|
||||||
Schema used to filter selected nodes.
|
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.
|
Uses [ajv syntax](https://ajv.js.org/keywords.html) in an object.
|
||||||
|
|
||||||
|
|
|
@ -7,6 +7,8 @@ rules:
|
||||||
- grafana
|
- grafana
|
||||||
- dashboard
|
- 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: '$'
|
select: '$'
|
||||||
|
|
||||||
filter:
|
filter:
|
||||||
|
@ -41,7 +43,6 @@ rules:
|
||||||
items:
|
items:
|
||||||
type: object
|
type: object
|
||||||
required: [uid]
|
required: [uid]
|
||||||
additionalProperties: false
|
|
||||||
properties:
|
properties:
|
||||||
uid:
|
uid:
|
||||||
type: string
|
type: string
|
||||||
|
|
Loading…
Reference in New Issue