class GrafanaReporter::Asciidoctor::AlertsTableIncludeProcessor
Implements the hook
include::grafana_alerts[<options>]
Returns the results of alerts 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
Supported options¶ ↑
columns
- see {AlertsTableQuery#pre_process} (mandatory)
instance
- name of grafana instance, 'default' if not specified
dashboard
- uid of grafana dashboard to query for, empty string if no filter is wanted
panel
- id of the panel to query for
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}