class GrafanaReporter::Asciidoctor::PanelImageBlockMacro
Implements the hook
grafana_panel_image::<panel_id>[<options>]
Stores the queried panel as a temporary image file and returns an asciidoctor link to be included in the report.
Used document parameters¶ ↑
grafana_default_instance
- name of grafana instance, 'default' if not specified
grafana_default_dashboard
- uid of grafana default dashboard to use
from
- 'from' time for the sql query
to
- 'to' time for the sql query
Supported options¶ ↑
field
- property to query for, e.g. description
or title
(mandatory)
instance
- name of grafana instance, 'default' if not specified
dashboard
- uid of grafana dashboard to use
from
- 'from' time for the sql query
to
- 'to' time for the sql query