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
Branches
Tags
No related merge requests found
......@@ -268,7 +268,9 @@ def get_nren_interface_data(services, interfaces, excluded_dashboards, region_cu
name = service.get('name')
sid = service.get('sid')
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'
......@@ -315,6 +317,7 @@ def get_nren_interface_data(services, interfaces, excluded_dashboards, region_cu
'measurement': measurement,
'title': title,
'scid': scid,
'is_lambda': is_lambda,
'sort': (sid[:2], name),
'has_v6': has_v6_interface
})
......
......@@ -181,6 +181,7 @@ def create_panel(
y_axis_type="bits",
targets=None,
panel_targets=None,
is_lambda=False,
**_
):
"""
......@@ -193,6 +194,8 @@ def create_panel(
"""
yaxes = create_yaxes(y_axis_type)
interval = 5 if not is_lambda else 15
result = {
"aliasColors": alias_colors or {},
"bars": False,
......@@ -207,6 +210,7 @@ def create_panel(
"gridPos": {"h": height, "w": width, "x": x, "y": y},
"hiddenSeries": False,
"id": id,
"interval": f"{interval}m",
"lines": True,
"linewidth": linewidth,
"nullPointMode": "null",
......
......@@ -2,6 +2,10 @@
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
- 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.
......
......@@ -2,7 +2,7 @@ from setuptools import setup, find_packages
setup(
name='brian-dashboard-manager',
version="0.72",
version="0.73",
author='GEANT',
author_email='swd@geant.org',
description='',
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment