Skip to content

Commit e786c0a

Browse files
dashboard: add timeseries panel requirement
Follows up #133
1 parent 15af73f commit e786c0a

File tree

6 files changed

+34
-0
lines changed

6 files changed

+34
-0
lines changed

dashboard/influxdb_dashboard.libsonnet

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,11 @@ dashboard.new(
2424
id='graph',
2525
name='Graph',
2626
version=''
27+
).addRequired(
28+
type='panel',
29+
id='timeseries',
30+
name='Timeseries',
31+
version=''
2732
).addRequired(
2833
type='panel',
2934
id='text',

dashboard/prometheus_dashboard.libsonnet

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,11 @@ dashboard.new(
2424
id='graph',
2525
name='Graph',
2626
version=''
27+
).addRequired(
28+
type='panel',
29+
id='timeseries',
30+
name='Timeseries',
31+
version=''
2732
).addRequired(
2833
type='panel',
2934
id='text',

tests/InfluxDB/dashboard_compiled.json

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,12 @@
3535
"type": "panel",
3636
"version": ""
3737
},
38+
{
39+
"id": "timeseries",
40+
"name": "Timeseries",
41+
"type": "panel",
42+
"version": ""
43+
},
3844
{
3945
"id": "text",
4046
"name": "Text",

tests/InfluxDB/dashboard_with_custom_panels_compiled.json

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,12 @@
3535
"type": "panel",
3636
"version": ""
3737
},
38+
{
39+
"id": "timeseries",
40+
"name": "Timeseries",
41+
"type": "panel",
42+
"version": ""
43+
},
3844
{
3945
"id": "text",
4046
"name": "Text",

tests/Prometheus/dashboard_compiled.json

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,12 @@
3535
"type": "panel",
3636
"version": ""
3737
},
38+
{
39+
"id": "timeseries",
40+
"name": "Timeseries",
41+
"type": "panel",
42+
"version": ""
43+
},
3844
{
3945
"id": "text",
4046
"name": "Text",

tests/Prometheus/dashboard_with_custom_panels_compiled.json

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,12 @@
3535
"type": "panel",
3636
"version": ""
3737
},
38+
{
39+
"id": "timeseries",
40+
"name": "Timeseries",
41+
"type": "panel",
42+
"version": ""
43+
},
3844
{
3945
"id": "text",
4046
"name": "Text",

0 commit comments

Comments
 (0)