class Grafana::ImageCouldNotBeRenderedError

Raised if a {Panel} could not be rendered as an image.

Most likely this happens, because the image renderer is not configures properly in grafana, or the panel rendering ran into a timeout. @param panel [Panel] panel object, which could not be rendered

Public Class Methods

new(panel) click to toggle source
Calls superclass method Grafana::GrafanaError::new
# File lib/grafana/errors.rb, line 54
def initialize(panel)
  super("The specified panel '#{panel.id}' from dashboard '#{panel.dashboard.id}' could not be "\
    'rendered to an image.')
end