Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

mimir-mixin: update dashboards to not use deprecated "Table (old)" plugin #8181

Merged
merged 4 commits into from
May 24, 2024

Conversation

narqo
Copy link
Contributor

@narqo narqo commented May 24, 2024

What this PR does

Grafana 10+ (maybe even earlier) comes with two versions of table plugins: "Table" and "Table (old)". The later one is deprecated, and messes up with the dashboards that use it in Grafana 11.


Note that, similar to #7413, I don't think it's worth it trying to resolve that in grafana-builder at this point. Instead, we should consider completely revisiting how dashboards are built, moving to grafonnet, imho (+1 to grafana/jsonnet-libs#1010).


This PR updates the dashboards, that use a Table panel, to follow the newer plugin's JSON model. Below screenshots are from Grafana 11, showing the updated version of the dashboard:

Screenshot 2024-05-24 at 13 49 12

Mimir / Scaling

Screenshot 2024-05-24 at 13 47 14

Mimir / Top tenants

Checklist

  • Tests updated.
  • Documentation added.
  • CHANGELOG.md updated - the order of entries should be [CHANGE], [FEATURE], [ENHANCEMENT], [BUGFIX].
  • about-versioning.md updated with experimental features.

narqo added 2 commits May 24, 2024 13:58
Signed-off-by: Vladimir Varankin <vladimir.varankin@grafana.com>
Signed-off-by: Vladimir Varankin <vladimir.varankin@grafana.com>
@narqo narqo requested a review from a team as a code owner May 24, 2024 12:16
narqo added 2 commits May 24, 2024 14:20
Signed-off-by: Vladimir Varankin <vladimir.varankin@grafana.com>
Signed-off-by: Vladimir Varankin <vladimir.varankin@grafana.com>
@narqo narqo force-pushed the mimir-mixin-g11-dashboards branch from c8614cf to 54a2691 Compare May 24, 2024 13:03
@@ -4,7 +4,9 @@
set -e

SCRIPT_DIR=$(cd `dirname $0` && pwd)
DOCKER_CONTAINER_NAME="mixin-serve-grafana"
# Ensure we run recent Grafana.
GRAFANA_VERSION=11.0.0
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Note that, as of today, latest tag is Grafana 10.x, which isn't what we want in dev

Copy link
Member

@pstibrany pstibrany left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you!

@pstibrany pstibrany merged commit 5f01872 into main May 24, 2024
31 checks passed
@pstibrany pstibrany deleted the mimir-mixin-g11-dashboards branch May 24, 2024 15:05
narqo added a commit to narqo/grafana-mimir that referenced this pull request Jun 6, 2024
…ugin (grafana#8181)

* mimir-mixin: update tablePanel from use of deprecated plugin

Signed-off-by: Vladimir Varankin <vladimir.varankin@grafana.com>

* rebuild assets

Signed-off-by: Vladimir Varankin <vladimir.varankin@grafana.com>

* update changelog

Signed-off-by: Vladimir Varankin <vladimir.varankin@grafana.com>

* mimir-mixin-tools: improve run script to serve with Grafana 11

Signed-off-by: Vladimir Varankin <vladimir.varankin@grafana.com>

---------

Signed-off-by: Vladimir Varankin <vladimir.varankin@grafana.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants