Skip to content

Commit 357eee0

Browse files
authored
Update mongodb-atlas job labels to disallow all as an option (#1431)
* Remove `all` as an allowed option for templated `job` variables * Update generated dashboard files * Add pint override file for mongodb-atlas Added to suppress `promql/fragile` warnings re: usage of `without()` in queries
1 parent b837743 commit 357eee0

10 files changed

+11
-18
lines changed

mongodb-atlas-mixin/.pint.hcl

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
checks {
2+
disabled = ["promql/fragile"]
3+
}

mongodb-atlas-mixin/dashboards/mongodb-atlas-cluster-overview.libsonnet

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2103,9 +2103,7 @@ local databaseWaitsAcquiringLockPanel = {
21032103
'label_values(mongodb_network_bytesIn,job)',
21042104
label='Job',
21052105
refresh=2,
2106-
includeAll=true,
21072106
multi=true,
2108-
allValues='.+',
21092107
sort=0
21102108
),
21112109
template.new(

mongodb-atlas-mixin/dashboards/mongodb-atlas-elections-overview.libsonnet

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -856,9 +856,7 @@ local averageCatchupOperationsPanel = {
856856
'label_values(mongodb_network_bytesIn,job)',
857857
label='Job',
858858
refresh=2,
859-
includeAll=true,
860859
multi=true,
861-
allValues='.+',
862860
sort=0
863861
),
864862
template.new(

mongodb-atlas-mixin/dashboards/mongodb-atlas-operations-overview.libsonnet

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1270,9 +1270,7 @@ local collectionWaitTimePanel = {
12701270
'label_values(mongodb_network_bytesIn,job)',
12711271
label='Job',
12721272
refresh=2,
1273-
includeAll=true,
12741273
multi=true,
1275-
allValues='.+',
12761274
sort=0
12771275
),
12781276
template.new(

mongodb-atlas-mixin/dashboards/mongodb-atlas-performance-overview.libsonnet

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -771,9 +771,7 @@ local hardwareIOWaitTimePanel = {
771771
'label_values(mongodb_network_bytesIn,job)',
772772
label='Job',
773773
refresh=2,
774-
includeAll=true,
775774
multi=true,
776-
allValues='.+',
777775
sort=0
778776
),
779777
template.new(

mongodb-atlas-mixin/dashboards/mongodb-atlas-sharding-overview.libsonnet

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1266,9 +1266,7 @@ local unshardedPanel = {
12661266
'label_values(mongodb_network_bytesIn,job)',
12671267
label='Job',
12681268
refresh=2,
1269-
includeAll=true,
12701269
multi=true,
1271-
allValues='.+',
12721270
sort=0
12731271
),
12741272
template.new(

mongodb-atlas-mixin/dashboards_out/mongodb-atlas-cluster-overview.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

mongodb-atlas-mixin/dashboards_out/mongodb-atlas-elections-overview.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

mongodb-atlas-mixin/dashboards_out/mongodb-atlas-operations-overview.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

mongodb-atlas-mixin/dashboards_out/mongodb-atlas-performance-overview.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)