class GrafanaReporter::Asciidoctor::PanelQueryTableIncludeProcessor

Implements the hook

include::grafana_panel_query_table:<panel_id>[<options>]

Returns the results of the SQL query as a asciidoctor table.

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

All other variables starting with var- will be used to replace grafana templating strings in the given SQL query.

Supported options

query - query letter, which shall be used, e.g. C (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

format - see {AbstractQuery#format_columns}

replace_values - see {AbstractQuery#replace_values}

filter_columns - see {AbstractQuery#filter_columns}