We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2557117 commit 46578c1Copy full SHA for 46578c1
dashboards/windows.libsonnet
@@ -68,7 +68,7 @@ local var = g.dashboard.variable;
68
+ var.query.withDatasourceFromVariable(self.datasource)
69
+ var.query.queryTypes.withLabelValues(
70
'instance',
71
- 'windows_system_system_up_time{%(clusterLabel)s="$cluster"}' % $._config
+ 'windows_system_boot_time_timestamp_seconds{%(clusterLabel)s="$cluster"}' % $._config
72
)
73
+ var.query.generalOptions.withLabel('instance')
74
+ var.query.refresh.onTime()
rules/windows.libsonnet
@@ -9,7 +9,7 @@
9
record: 'node:windows_node:sum',
10
expr: |||
11
count by (%(clusterLabel)s) (
12
- windows_system_system_up_time{%(windowsExporterSelector)s}
+ windows_system_boot_time_timestamp_seconds{%(windowsExporterSelector)s}
13
14
||| % $._config,
15
},
0 commit comments