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

dashboard: fix cluster overview for Grafana 11 #235

Merged

Conversation

DifferentialOrange
Copy link
Member

dashboard: fix cluster overview for Grafana 11

grafonnet doesn't fill up empty thresholds for hidden fields. After table code rework introduced in Grafana 11, empty thresholds result in panel crush.

Thanks to @0x501D for exploring the issue.

Closes #234

dashboard: use Grafana 11 color scheme in overview table

Before this patch, older Grafana 6 color scheme were used for overview panel. It was fine for Grafana from 8 to 10, but don't work properly with Grafana 11 [Figure 1]. After this patch, the panel works properly with Grafana 11 and newer [Figure 2]. For Grafana 9 and 10 everything works fine, except for row coloring: only single cell is colored [1, Figure 3]. For Grafana 8 and older, table column hiding no longer works properly so it's simpler for us to treat it as unsupported since it's EOLed 1 year and 3 months ago [2, Figure 4].

  1. Colorize Rows in Table Panel grafana/grafana#27542
  2. https://endoflife.date/grafana

Figure 1:
image

Figure 2:
image

Figure 3:
image

Figure 4:
image

Follows #234

Version below 2.22 rate graphs fail due to [1].

1. grafana/grafana#71052
grafonnet doesn't fill up empty thresholds for hidden fields. After
table code rework introduced in Grafana 11, empty thresholds result in
panel crush.

Thanks to @0x501D for exploring the issue.

Closes #234
Before this patch, older Grafana 6 color scheme were used for overview
panel. It was fine for Grafana from 8 to 10, but don't work properly
with Grafana 11. After this patch, the panel works properly with
Grafana 11 and newer. For Grafana 9 and 10 everything works fine, except
for row coloring: only single cell is colored [1]. For Grafana 8 and
older, table column hiding no longer works properly so it's simpler
for us to treat it as unsupported since it's EOLed 1 year and 3 months
ago [2].

1. grafana/grafana#27542
2. https://endoflife.date/grafana

Follows #234
@DifferentialOrange DifferentialOrange merged commit c044e9b into master Oct 4, 2024
1 check passed
@DifferentialOrange DifferentialOrange deleted the DifferentialOrange/gh-234-fix-table-on-new-versions branch October 4, 2024 07:06
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.

dashboard: table is broken on Grafana 11
2 participants