Exception: Grafana::ImageCouldNotBeRenderedError
- Inherits:
-
GrafanaError
- Object
- StandardError
- GrafanaError
- Grafana::ImageCouldNotBeRenderedError
- Defined in:
- lib/grafana/errors.rb
Overview
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.
Instance Method Summary collapse
-
#initialize(panel) ⇒ ImageCouldNotBeRenderedError
constructor
A new instance of ImageCouldNotBeRenderedError.
Constructor Details
#initialize(panel) ⇒ ImageCouldNotBeRenderedError
Returns a new instance of ImageCouldNotBeRenderedError.
54 55 56 57 58 |
# 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. Check if rendering is possible manually by selecting "Share" and then '\ '"Direct link rendered image" from a panel\'s options menu.') end |