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

Finished release 0.73.

parents 350aee07 c85f698d
No related branches found
No related tags found
No related merge requests found
...@@ -268,7 +268,9 @@ def get_nren_interface_data(services, interfaces, excluded_dashboards, region_cu ...@@ -268,7 +268,9 @@ def get_nren_interface_data(services, interfaces, excluded_dashboards, region_cu
name = service.get('name') name = service.get('name')
sid = service.get('sid') sid = service.get('sid')
scid = service.get('scid') scid = service.get('scid')
service_type = service.get('service_type') service_type = service.get('service_type', '')
is_lambda = service_type.lower() in ['geant managed wavelength service', 'geant lambda']
measurement = 'scid_rates' measurement = 'scid_rates'
...@@ -315,6 +317,7 @@ def get_nren_interface_data(services, interfaces, excluded_dashboards, region_cu ...@@ -315,6 +317,7 @@ def get_nren_interface_data(services, interfaces, excluded_dashboards, region_cu
'measurement': measurement, 'measurement': measurement,
'title': title, 'title': title,
'scid': scid, 'scid': scid,
'is_lambda': is_lambda,
'sort': (sid[:2], name), 'sort': (sid[:2], name),
'has_v6': has_v6_interface 'has_v6': has_v6_interface
}) })
......
...@@ -181,6 +181,7 @@ def create_panel( ...@@ -181,6 +181,7 @@ def create_panel(
y_axis_type="bits", y_axis_type="bits",
targets=None, targets=None,
panel_targets=None, panel_targets=None,
is_lambda=False,
**_ **_
): ):
""" """
...@@ -193,6 +194,8 @@ def create_panel( ...@@ -193,6 +194,8 @@ def create_panel(
""" """
yaxes = create_yaxes(y_axis_type) yaxes = create_yaxes(y_axis_type)
interval = 5 if not is_lambda else 15
result = { result = {
"aliasColors": alias_colors or {}, "aliasColors": alias_colors or {},
"bars": False, "bars": False,
...@@ -207,6 +210,7 @@ def create_panel( ...@@ -207,6 +210,7 @@ def create_panel(
"gridPos": {"h": height, "w": width, "x": x, "y": y}, "gridPos": {"h": height, "w": width, "x": x, "y": y},
"hiddenSeries": False, "hiddenSeries": False,
"id": id, "id": id,
"interval": f"{interval}m",
"lines": True, "lines": True,
"linewidth": linewidth, "linewidth": linewidth,
"nullPointMode": "null", "nullPointMode": "null",
......
...@@ -2,6 +2,10 @@ ...@@ -2,6 +2,10 @@
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.73] - 2024-11-05
- Set minimum interval per panel rather than globally, to avoid issues with panels using data from different sources with different intervals.
- Set 15m minimum interval for GEANT LAMBDA / Managed Wavelength Service panels since the polling interval is 15m in the TNMS data source.
## [0.72] - 2024-11-05 ## [0.72] - 2024-11-05
- Refactor codebase to remove use of multiple python processes, and only use threads for requests to Grafana. - Refactor codebase to remove use of multiple python processes, and only use threads for requests to Grafana.
- Simplify provision_maybe functionality to be local to the process, since we only have one gunicorn process now as well. - Simplify provision_maybe functionality to be local to the process, since we only have one gunicorn process now as well.
......
...@@ -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.72", version="0.73",
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.
Please register or to comment