We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2c12699 commit 59ab239Copy full SHA for 59ab239
dashboard/panels/runtime.libsonnet
@@ -39,13 +39,7 @@ local variable = import 'dashboard/variable.libsonnet';
39
labelY1='in bytes',
40
panel_width=8,
41
).addTarget(
42
- if cfg.type == variable.datasource_type.prometheus then
43
- prometheus.target(
44
- expr='rate(tnt_memory[$__rate_interval]) + rate(tnt_memory_virt[$__rate_interval])',
45
- legendFormat='{{alias}}'
46
- )
47
- else if cfg.type == variable.datasource_type.influxdb then
48
- influxdb.target()
+ common.target(cfg, 'tnt_memory + tnt_memory_virt')
49
),
50
51
resident_memory_per_instance(
0 commit comments