Skip to content

Commit 06e35de

Browse files
authored
Merge pull request #458 from grafana/sharedtooltip_convention
Set shared tooltip to false by default in grafana-builder but don't enforce it.
2 parents c8b75df + 5a902e9 commit 06e35de

File tree

2 files changed

+1
-15
lines changed

2 files changed

+1
-15
lines changed

grafana-builder/grafana.libsonnet

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -196,7 +196,7 @@
196196
timeShift: null,
197197
title: title,
198198
tooltip: {
199-
shared: true,
199+
shared: false,
200200
sort: 0,
201201
value_type: 'individual',
202202
},

prometheus-ksonnet/grafana/dashboards.libsonnet

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -52,20 +52,6 @@
5252
dashboard {
5353
uid: $.uidForDashboard(filename, dashboard),
5454
timezone: '',
55-
56-
[if std.objectHas(dashboard, 'rows') then 'rows']: [
57-
row {
58-
panels: [
59-
panel {
60-
tooltip+: {
61-
shared: false,
62-
},
63-
}
64-
for panel in super.panels
65-
],
66-
}
67-
for row in super.rows
68-
],
6955
}
7056
for filename in std.objectFields(grafanaDashboards)
7157
},

0 commit comments

Comments
 (0)