Skip to content

Commit 7a817b8

Browse files
move minstep interval to targets (#1343)
1 parent 74b527b commit 7a817b8

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

mssql-mixin/dashboards/mssql-overview.libsonnet

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -105,6 +105,7 @@ local batchRequestsPanel(matcher) = {
105105
'rate(mssql_batch_requests_total{' + matcher + '}[$__rate_interval])',
106106
datasource=promDatasource,
107107
legendFormat='{{instance}}',
108+
interval='1m',
108109
),
109110
],
110111
type: 'timeseries',
@@ -163,7 +164,6 @@ local batchRequestsPanel(matcher) = {
163164
},
164165
overrides: [],
165166
},
166-
interval: '1m',
167167
options: {
168168
legend: {
169169
calcs: [],
@@ -185,6 +185,7 @@ local severeErrorsPanel(matcher) = {
185185
'increase(mssql_kill_connection_errors_total{' + matcher + '}[$__rate_interval:])',
186186
datasource=promDatasource,
187187
legendFormat='{{instance}}',
188+
interval='1m',
188189
),
189190
],
190191
type: 'timeseries',
@@ -243,7 +244,6 @@ local severeErrorsPanel(matcher) = {
243244
},
244245
overrides: [],
245246
},
246-
interval: '1m',
247247
options: {
248248
legend: {
249249
calcs: [],
@@ -265,6 +265,7 @@ local deadlocksPanel(matcher) = {
265265
'rate(mssql_deadlocks_total{' + matcher + '}[$__rate_interval])',
266266
datasource=promDatasource,
267267
legendFormat='{{instance}}',
268+
interval='1m',
268269
),
269270
],
270271
type: 'timeseries',
@@ -323,7 +324,6 @@ local deadlocksPanel(matcher) = {
323324
},
324325
overrides: [],
325326
},
326-
interval: '1m',
327327
options: {
328328
legend: {
329329
calcs: [],
@@ -590,6 +590,7 @@ local databaseWriteStallDurationPanel(matcher) = {
590590
'increase(mssql_io_stall_seconds_total{' + matcher + ', db=~"$database", operation="write"}[$__rate_interval:])',
591591
datasource=promDatasource,
592592
legendFormat='{{instance}} - {{db}}',
593+
interval='1m',
593594
),
594595
],
595596
type: 'timeseries',
@@ -644,7 +645,6 @@ local databaseWriteStallDurationPanel(matcher) = {
644645
},
645646
overrides: [],
646647
},
647-
interval: '1m',
648648
options: {
649649
legend: {
650650
calcs: [],
@@ -666,6 +666,7 @@ local databaseReadStallDurationPanel(matcher) = {
666666
'increase(mssql_io_stall_seconds_total{' + matcher + ', db=~"$database", operation="read"}[$__rate_interval:])',
667667
datasource=promDatasource,
668668
legendFormat='{{instance}} - {{db}}',
669+
interval='1m',
669670
),
670671
],
671672
type: 'timeseries',
@@ -720,7 +721,6 @@ local databaseReadStallDurationPanel(matcher) = {
720721
},
721722
overrides: [],
722723
},
723-
interval: '1m',
724724
options: {
725725
legend: {
726726
calcs: [],
@@ -742,6 +742,7 @@ local transactionLogExpansionsPanel(matcher) = {
742742
'increase(mssql_log_growths_total{' + matcher + ', db=~"$database"}[$__rate_interval:])',
743743
datasource=promDatasource,
744744
legendFormat='{{instance}} - {{db}}',
745+
interval='1m',
745746
),
746747
],
747748
type: 'timeseries',
@@ -800,7 +801,6 @@ local transactionLogExpansionsPanel(matcher) = {
800801
},
801802
overrides: [],
802803
},
803-
interval: '1m',
804804
options: {
805805
legend: {
806806
calcs: [],

mssql-mixin/dashboards/mssql-pages.libsonnet

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -256,6 +256,7 @@ local pageFaultsPanel(matcher) = {
256256
'increase(mssql_page_fault_count_total{' + matcher + '}[$__rate_interval:])',
257257
datasource=promDatasource,
258258
legendFormat='{{instance}}',
259+
interval='1m',
259260
),
260261
],
261262
type: 'timeseries',
@@ -314,7 +315,6 @@ local pageFaultsPanel(matcher) = {
314315
},
315316
overrides: [],
316317
},
317-
interval: '1m',
318318
options: {
319319
legend: {
320320
calcs: [],

0 commit comments

Comments
 (0)