Skip to content

[Bug] Panels in repeated rows render while still loading #757

@joelasagne

Description

@joelasagne

What happened:

I have a dashboard with a multi-value variable, that I use to repeat a row, containing panels using the variable to have different queries to the datasources. When generating an image for one of the panels from these rows (except the very first one), most the the time I get an image of the panel loading (see image below).

Image

I get the following logs when generating the panels that are in a repeated row or not (see the -clone-1%2Fgrid-item-38%2Fpanel-38 difference):

logger=rendering renderer=plugin t=2025-09-04T10:25:55.436306502+02:00 level=debug msg="Successfully rendered image" path="d-solo/c7d2eb8d-78a5-4938-88ef-dc4cf9526ea1/_?dashUid=c7d2eb8d-78a5-4938-88ef-dc4cf9526ea1&from=now-6h&height=252&panelId=panel-38&theme=light&#anonymisedvariables#"

logger=rendering renderer=plugin t=2025-09-04T10:26:00.700234101+02:00 level=debug msg="Successfully rendered image" path="d-solo/c7d2eb8d-78a5-4938-88ef-dc4cf9526ea1/_?dashUid=c7d2eb8d-78a5-4938-88ef-dc4cf9526ea1&from=now-6h&height=252&panelId=panel-51-clone-1%2Fgrid-item-38%2Fpanel-38&theme=light&#anonymisedvaraibles#"

When checking the links for the path in the log for the cloned panel, as I refresh, sometimes I get the panel correctly, and some other times I just get the panel loading forever, so my guess it hat the issue is on the way the d-solo paths are done ?

What you expected to happen:

For the images to be rendered correctly even if it's from a panel in a repeated row.

How to reproduce it (as minimally and precisely as possible):

Dashboard with multi-value variable in the "repeat for" part a a row, with some panels doing queries to datasources in these rows.

Anything else we need to know?:

Environment:

  • Grafana Image Renderer version: 3.12.9
  • Grafana version: v12.1.1 (df5de8219b)
  • Installed plugin or remote renderer service:
  • OS Grafana Image Renderer is installed on: Debian 11 (6.8.12-11-pve)
  • User OS & Browser: Ubuntu 24.04.3, Chrome (139.0.7258.154)
  • Others:

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions