Project

General

Profile

Actions

action #151307

open

[grafana] migrate deprecated angular plugins

Added by okurz 6 months ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
-
Target version:
Start date:
2023-11-23
Due date:
% Done:

0%

Estimated time:

Description

Motivation

Upstream grafana is deprecating use of AngularJS impacting plugins or visualizations that we use. For example on https://monitor.qa.suse.de/d/nRDab3Jiz/openqa-jobs-test?orgId=1&from=now-2d&to=now&editPanel=26 one can see the notice

Angular plugin
This plugin uses a deprecated, legacy platform based on AngularJS and will stop working in future releases of Grafana.

pointing to https://grafana.com/docs/grafana/latest/developers/angular_deprecation/
which states

Our plan is to completely remove support for Angular plugins in version 11, which will be released in 2024. This means that all plugins that depend on Angular will stop working […]

hence we must adjust our dashboards

Acceptance criteria

  • AC1: No deprecation notice on monitor.qa.suse.de related to deprecated angular plugins
  • AC2: Graphs still work as before

Suggestions

  • Migrate one graph manually, export the JSON and look how it differs
  • Apply the same change to all affected visualizations, e.g. by grepping for the according changed JSON content in other panels and then either migrate manually or by code replacement
  • Ensure that common graphs still look reasonable and usable in the grafana UI after migration

No data to display

Actions

Also available in: Atom PDF