Skip to content
Snippets Groups Projects
Commit 0675fc12 authored by geant-release-service's avatar geant-release-service
Browse files

Finished release 0.57.

parents ff384876 cdb79e5c
No related branches found
No related tags found
No related merge requests found
...@@ -34,7 +34,7 @@ def num_generator(start=30): ...@@ -34,7 +34,7 @@ def num_generator(start=30):
num += 1 num += 1
def gridPos_generator(id_generator, start=0, agg=False): def gridPos_generator(id_generator, start=1, agg=False):
""" """
Generator of gridPos objects used in Grafana dashboards to position panels. Generator of gridPos objects used in Grafana dashboards to position panels.
...@@ -573,16 +573,14 @@ def get_nren_dashboard_data_single(data, datasource, tag): ...@@ -573,16 +573,14 @@ def get_nren_dashboard_data_single(data, datasource, tag):
nren, dash = data nren, dash = data
id_gen = num_generator() id_gen = num_generator()
gridPos = gridPos_generator(id_gen, start=1)
if len(dash['AGGREGATES']) > 0: if len(dash['AGGREGATES']) > 0:
agg_panels = create_aggregate_panel( agg_panels = create_aggregate_panel(
f'Aggregate - {nren}', f'Aggregate - {nren}',
gridPos_generator(id_gen, agg=True), gridPos_generator(id_gen, agg=True),
dash['AGGREGATES'], datasource) dash['AGGREGATES'], datasource)
gridPos = gridPos_generator(id_gen, start=2)
else: else:
# if there's no aggregate panel(s), start other stuff at y=0. gridPos = gridPos_generator(id_gen)
gridPos = gridPos_generator(id_gen, start=0)
agg_panels = [] agg_panels = []
panel_gen = default_interface_panel_generator(gridPos) panel_gen = default_interface_panel_generator(gridPos)
......
...@@ -42,18 +42,17 @@ ...@@ -42,18 +42,17 @@
{ {
"datasource": null, "datasource": null,
"gridPos": { "gridPos": {
"h": 1, "h": 2,
"w": 24, "w": 15,
"x": 0, "x": 4,
"y": 0 "y": 0
}, },
"id": 1, "id": 1,
"options": { "options": {
"content": "", "content": "<div style=\"display: flex; justify-content: center; align-items: center; height: 100%;\"><span>INFO: The average values displayed are only mean values for timescales of 2 days or less</span></div>",
"mode": "html" "mode": "html"
}, },
"pluginVersion": "8.2.5", "title": "",
"title": "INFO: The average values displayed are only mean values for timescales of 2 days or less",
"type": "text" "type": "text"
}, },
{% for panel in aggregate_panels %} {% for panel in aggregate_panels %}
......
...@@ -42,18 +42,17 @@ ...@@ -42,18 +42,17 @@
{ {
"datasource": null, "datasource": null,
"gridPos": { "gridPos": {
"h": 1, "h": 2,
"w": 24, "w": 15,
"x": 0, "x": 4,
"y": 0 "y": 0
}, },
"id": 1, "id": 1,
"options": { "options": {
"content": "", "content": "<div style=\"display: flex; justify-content: center; align-items: center; height: 100%;\"><span>INFO: The average values displayed are only mean values for timescales of 2 days or less</span></div>",
"mode": "html" "mode": "html"
}, },
"pluginVersion": "8.2.5", "title": "",
"title": "INFO: The average values displayed are only mean values for timescales of 2 days or less",
"type": "text" "type": "text"
}{{ "," if panels }} }{{ "," if panels }}
{% for panel in panels %} {% for panel in panels %}
......
...@@ -2,13 +2,16 @@ ...@@ -2,13 +2,16 @@
All notable changes to this project will be documented in this file. All notable changes to this project will be documented in this file.
## [0.56] - 2023-02-15 ## [0.57] - 2024-02-27
- Fix layout for Grafana 10.3.3
## [0.56] - 2024-02-15
- Change Customers on home dashboard to be the first series shown - Change Customers on home dashboard to be the first series shown
## [0.55] - 2023-02-12 ## [0.55] - 2024-02-12
- POL1-648 minor change/fix: don't show IPv6 graph sections for dashboards lacking IPv6 graphs - POL1-648 minor change/fix: don't show IPv6 graph sections for dashboards lacking IPv6 graphs
## [0.54] - 2023-02-09 ## [0.54] - 2024-02-09
- POL1-648: Added IPv6 graphs for NREN dashboards - POL1-648: Added IPv6 graphs for NREN dashboards
## [0.53] - 2023-06-21 ## [0.53] - 2023-06-21
......
...@@ -3,16 +3,28 @@ ...@@ -3,16 +3,28 @@
"admin_password": "admin", "admin_password": "admin",
"hostname": "localhost:3000", "hostname": "localhost:3000",
"inventory_provider": "http://inventory-provider01.geant.org:8080", "inventory_provider": "http://inventory-provider01.geant.org:8080",
"reporting_provider": "http://prod-tableau-wdc.geant.org:9090",
"datasources": { "datasources": {
"influxdb": { "influxdb": {
"name": "PollerInfluxDB", "name": "PollerInfluxDB",
"type": "influxdb", "type": "influxdb",
"access": "proxy", "access": "proxy",
"url": "http://test-poller-ui01.geant.org:8086", "jsonData": {
"database": "poller", "httpMode": "POST",
"timeInterval": "5m"
},
"url": "https://prod-influxdb-data01.geant.org:8086",
"database": "brian",
"basicAuth": false, "basicAuth": false,
"isDefault": true, "isDefault": true,
"readOnly": false "readOnly": false,
"user": "username",
"secureJsonData": {
"password": "password"
}
} }
} },
"ignored_folders": [
"web"
]
} }
\ No newline at end of file
...@@ -2,7 +2,7 @@ from setuptools import setup, find_packages ...@@ -2,7 +2,7 @@ from setuptools import setup, find_packages
setup( setup(
name='brian-dashboard-manager', name='brian-dashboard-manager',
version="0.56", version="0.57",
author='GEANT', author='GEANT',
author_email='swd@geant.org', author_email='swd@geant.org',
description='', description='',
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment