Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 15 additions & 0 deletions postgres_mixin/.lint
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
---
exclusions:
panel-units-rule:
reason: Ignoring so far, need to address this in future
panel-title-description-rule:
reason: Ignoring so far, need to address this in future
panel-datasource-rule:
reason: "Loki datasource variable is being named as loki_datasource now while linter expects 'datasource'"
template-datasource-rule:
reason: "Based on new convention we are using variable names prometheus_datasource and loki_datasource where as linter expects 'datasource'"
alert-name-camelcase:
reason: QPS is a common acronym (Queries Per Second) and should be allowed
entries:
- alert: PostgreSQLQPS

6 changes: 3 additions & 3 deletions postgres_mixin/dashboards/postgres-overview.libsonnet
Original file line number Diff line number Diff line change
Expand Up @@ -1338,7 +1338,7 @@
"query": "label_values(pg_up, job)",
"refId": "StandardVariableQuery"
},
"refresh": 1,
"refresh": 2,
"regex": "",
"skipUrlSync": false,
"sort": 0,
Expand Down Expand Up @@ -1372,7 +1372,7 @@
"query": "label_values(pg_up{job=~\"$job\"},instance)",
"refId": "StandardVariableQuery"
},
"refresh": 1,
"refresh": 2,
"regex": "",
"skipUrlSync": false,
"sort": 0,
Expand All @@ -1397,7 +1397,7 @@
"query": "label_values(pg_stat_database_tup_fetched{%(postgresExporterSelector)s,datname!~\"template.*|postgres\"},datname)" % $._config,
"refId": "StandardVariableQuery"
},
"refresh": 1,
"refresh": 2,
"regex": "",
"skipUrlSync": false,
"sort": 0,
Expand Down