Skip to content

Commit d87bcea

Browse files
dashboard: remove job default variable
Part of #206 Part of #207
1 parent be826fc commit d87bcea

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

dashboard/build/config.libsonnet

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ local variable = import 'dashboard/variable.libsonnet';
2424
description: 'Dashboard for Tarantool application and database server monitoring, based on grafonnet library.',
2525
grafana_tags: ['tarantool'],
2626
datasource: variable.datasource.prometheus,
27-
filters: { job: ['=~', variable.prometheus.job] },
27+
filters: {},
2828
sections: [
2929
'cluster',
3030
'replication',

tests/Prometheus/dashboard_with_custom_panels.jsonnet

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ local variable = import 'dashboard/variable.libsonnet';
77

88
local cfg = config.prepare({
99
type: variable.datasource_type.prometheus,
10-
filters: { alias: ['=~', variable.prometheus.alias] },
10+
filters: { job: ['=~', variable.prometheus.job], alias: ['=~', variable.prometheus.alias] },
1111
});
1212

1313
dashboard.addPanels([

0 commit comments

Comments
 (0)