mirror of
https://github.com/etcd-io/etcd.git
synced 2024-09-27 06:25:44 +00:00
Added lint config & alert summaries
Signed-off-by: Vitaly Zhuravlev <v-zhuravlev@users.noreply.github.com>
This commit is contained in:
parent
882edb3d63
commit
f8d4b4ef91
18
contrib/mixin/.lint
Normal file
18
contrib/mixin/.lint
Normal file
@ -0,0 +1,18 @@
|
||||
---
|
||||
exclusions:
|
||||
template-instance-rule:
|
||||
reason: The mixin only uses `instance` for alerts, and `cluster` for dashboard queries
|
||||
template-job-rule:
|
||||
reason: The dashboards use 'cluster' label as selector, rather than 'job'
|
||||
target-job-rule:
|
||||
reason: The mixin uses 'cluster' instead of 'job'
|
||||
target-instance-rule:
|
||||
reason: The mixin only uses `instance` for alerts, and `cluster` for dashboard queries
|
||||
alert-name-camelcase:
|
||||
reason: etcd is spelled all lowercase, meaning all alert name start with a lowercase
|
||||
alert-summary-style:
|
||||
reason: etcd is spelled all lowercase, meaning summaries starting with 'etcd' are still valid
|
||||
panel-units-rule:
|
||||
reason: Stat panels have no unit, and some panels use custom unit or text
|
||||
panel-title-description-rule:
|
||||
reason: Suppress noisy linting rule until we can address minor tech debt like this
|
Loading…
x
Reference in New Issue
Block a user