You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Creates an empty dashboard. You can then add panels by using `add_dashboard_panel`.
90
-
**Arguments**
90
+
91
+
**Arguments**
91
92
-**name**: the name of the dashboard that will be created.
92
-
**Success Return Value**
93
+
94
+
**Success Return Value**
93
95
A dictionary showing the details of the new dashboard.
94
-
**Example**
96
+
97
+
**Example**
95
98
[examples/dashboard.py](examples/dashboard.py).
96
99
97
100
#### `find_dashboard_by(self, name)`
98
-
**Description**
101
+
**Description**
99
102
Finds dashboards with the specified name. You can then delete the dashboard (with `delete_dashboard`) or edit panels (with `add_dashboard_panel` and `remove_dashboard_panel`)
100
-
**Arguments**
103
+
104
+
**Arguments**
101
105
-**name**: the name of the dashboards to find.
102
-
**Success Return Value**
106
+
107
+
**Success Return Value**
103
108
A list of dictionaries of dashboards matching the specified name.
Adds a panel to the dashboard. A panel can be a time series, or a top chart (i.e. bar chart), or a number panel.
110
-
**Arguments**
116
+
117
+
**Arguments**
111
118
-**dashboard**: dashboard to edit
112
119
-**name**: name of the new panel
113
120
-**type**: type of the new panel. Valid values are: `timeSeries`, `top`, `number`
@@ -116,19 +123,24 @@ Adds a panel to the dashboard. A panel can be a time series, or a top chart (i.e
116
123
-**sort_by**: Data sorting; The parameter is optional and it's a dictionary of `metric` and `mode` (it can be `desc` or `asc`)
117
124
-**paging**: Data pagination; The parameter is optional and limits the data points returned. The parameter is a dictionary of `from` and `to` with the index of the first and last point respectively
118
125
-**layout**: Size and position of the panel
119
-
**Success Return Value**
126
+
127
+
**Success Return Value**
120
128
A dictionary showing the details of the edited dashboard.
0 commit comments