Commit Graph

19 Commits

Author SHA1 Message Date
Patrick Seidensal f9f3999f48 Create panelGroupData function
to provide a clear API of what data is to be expected for
createPanelGroup function. Also refactor all dashboards to use this new
function instead of creating objects without a clear API.
2024-06-14 09:01:33 +02:00
Patrick Seidensal f8eac8fbce Clean up bundle deployments dashboard 2024-06-14 08:39:22 +02:00
Patrick Seidensal 69df87730c Fix issue in createPanelGroup 2024-06-14 07:45:29 +02:00
Patrick Seidensal f491389f02 Clean up cluster group dashboard 2024-06-14 06:46:40 +02:00
Patrick Seidensal a843094a40 Add name template variable to bundle dashboard 2024-06-13 12:34:18 +02:00
Patrick Seidensal 9c21ec5b4c Add template variable `name` to cluster dashboard 2024-06-12 22:45:00 +02:00
Patrick Seidensal 39a3e05cb0 Take height from panels
instead of assuming a default height. At the same time the height needs
to be set for all panels from the default height, if not defined
individually.
2024-06-12 22:21:48 +02:00
Patrick Seidensal c6867b403d Set decimals by default to 0 2024-06-12 18:06:08 +02:00
Patrick Seidensal f0dcd73c29 Refactor funcs
- makes createXPanel functions really small
2024-06-12 18:04:35 +02:00
Patrick Seidensal b5544cbf42 GitRepo dashboard looks clean 2024-06-12 15:28:50 +02:00
Patrick Seidensal 63b503426b Rework template variables
Each dashboard now gets their own metric and label for the template
variables. Having the values retrieved from a single metric, which would
only be shown on one dashboard, would probably not have caused any
issues. But it does feel weird to take values from a metric to filter a
dashboard that does not use this metric at all.
2024-06-12 11:40:50 +02:00
Patrick Seidensal 3e42f43412 Introduce automatic layout manager 2024-06-12 09:59:22 +02:00
Patrick Seidensal a7d7151d43 Refactor newline 2024-06-11 15:40:29 +02:00
Patrick Seidensal 421fad7ec1 Refactoring
Extract repeated code into `fromQueries`.
2024-06-11 15:38:58 +02:00
Patrick Seidensal 0eb4b55720 Refactoring
- Makefile
- createStatPanel
- createTimeSeriesPanel
2024-06-11 15:33:54 +02:00
Patrick Seidensal d7dead6dbd GitRepo: Create stats panels 2024-06-10 23:36:47 +02:00
Patrick Seidensal 95572d194d Set time range by default to 1h to now 2024-06-07 17:10:14 +02:00
Patrick Seidensal ad774e376c Rename createPanel to createTimeSeriesPanel 2024-06-07 16:41:02 +02:00
Patrick Seidensal f0877b2142 Improve project structure 2024-06-05 18:00:59 +02:00