Skip to content

Commit a3f18b6

Browse files
committed
formatting
1 parent 6841d04 commit a3f18b6

File tree

12 files changed

+777
-113
lines changed

12 files changed

+777
-113
lines changed

postgres-observ-lib/.lint

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,14 +5,14 @@ exclusions:
55
template-instance-rule:
66
reason: "Instance selector is single-select for instance-specific dashboards; Cluster dashboard is cluster-wide"
77
entries:
8-
- dashboard: "PostgreSQL Cluster Overview"
9-
- dashboard: "PostgreSQL Instance Overview"
10-
- dashboard: "PostgreSQL Query Performance"
8+
- dashboard: "PostgreSQL cluster overview"
9+
- dashboard: "PostgreSQL instance overview"
10+
- dashboard: "PostgreSQL query performance"
1111

1212
target-instance-rule:
1313
reason: "Cluster level dashboard shows all instances"
1414
entries:
15-
- dashboard: "PostgreSQL Cluster Overview"
15+
- dashboard: "PostgreSQL cluster overview"
1616

1717
panel-units-rule:
1818
reason: "rows/s is semantically correct; table panels don't require units"

postgres-observ-lib/dashboards.libsonnet

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ local g = import './g.libsonnet';
5454

5555
{
5656
'postgres-cluster.json':
57-
g.dashboard.new(this.config.dashboardNamePrefix + 'PostgreSQL Cluster Overview')
57+
g.dashboard.new(this.config.dashboardNamePrefix + 'PostgreSQL cluster overview')
5858
+ g.dashboard.withVariables(clusterVariables)
5959
+ g.dashboard.withTags(this.config.dashboardTags + ['cluster'])
6060
+ g.dashboard.withUid(this.config.uid + '-cluster')
@@ -88,7 +88,7 @@ local g = import './g.libsonnet';
8888
),
8989

9090
'postgres-overview.json':
91-
g.dashboard.new(this.config.dashboardNamePrefix + 'PostgreSQL Instance Overview')
91+
g.dashboard.new(this.config.dashboardNamePrefix + 'PostgreSQL instance overview')
9292
+ g.dashboard.withVariables(
9393
instanceVariables
9494
+ [settingsFilterVar]
@@ -123,7 +123,7 @@ local g = import './g.libsonnet';
123123
),
124124

125125
'postgres-queries.json':
126-
g.dashboard.new(this.config.dashboardNamePrefix + 'PostgreSQL Query Performance')
126+
g.dashboard.new(this.config.dashboardNamePrefix + 'PostgreSQL query performance')
127127
+ g.dashboard.withVariables(queriesVariables)
128128
+ g.dashboard.withTags(this.config.dashboardTags + ['pg_stat_statements'])
129129
+ g.dashboard.withUid(this.config.uid + '-queries')

0 commit comments

Comments
 (0)