Skip to content

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

2 participants