grafana-image-renderer icon indicating copy to clipboard operation
grafana-image-renderer copied to clipboard

Fix check condition to avoid timeouts in invalid panels

Open spinillos opened this issue 3 years ago • 1 comments

When we are trying to render a panel that isn't able to retrieve the information from the datasource, panelsRendered never exists.

It means, that we are waiting to fit a condition that is never met. For this reason, image renderer waiting until the timeout is reached.

Checking if panelsRendered exists, takes the screenshot of the invalid panel avoiding the timeout.

spinillos avatar Oct 26 '21 14:10 spinillos

CLA assistant check
All committers have signed the CLA.

CLAassistant avatar Jun 15 '22 17:06 CLAassistant