QueryVariable🔗
Constructor🔗
Methods🔗
build🔗
Builds the object.
all_format🔗
Format to use while fetching all values from data source, eg: wildcard, glob, regex, pipe, etc.
all_value🔗
Custom all value
current🔗
Shows current selected variable text/value on the dashboard
datasource🔗
Data source used to fetch values for a variable. It can be defined but null
.
description🔗
Description of variable. It can be defined but null
.
hide🔗
Visibility configuration for the variable
id_val🔗
Unique numeric identifier for the variable.
include_all🔗
Whether all value option is available or not
label🔗
Optional display name
multi🔗
Whether multiple values can be selected or not from variable value list
name🔗
Name of variable
options🔗
Options that can be selected for a variable.
query🔗
Query used to fetch values for a variable
refresh🔗
Options to config when to refresh a variable
regex🔗
Optional field, if you want to extract part of a series name or metric node segment.
Named capture groups can be used to separate the display text and value.
sort🔗
Options sort order