* Fix: Avoid glob of single-value array variables Based on our current implementation of templates, when multi-select variables are part of a dashboard query the default/fallback formatting option is `glob`. Some data sources do not support glob (e.g. metrics.{a}.* instead of metrics.a.*) for single variable queries. This behaviour breaks dashboards. This commit introduces an alternative formatting option where globing is avoided if it's there is only one value as part of the query variable. This means, queries previously formatted as `query=metrics.{a}.*.*`, are now formatted as `query=metrics.a.*.*`. However, queries formatted as `query=metrics.{a,b}.*.*` continue to be as is.
Name |
Last commit
|
Last Update |
---|---|---|
.. | ||
dashboards | Loading commit data... | |
img | Loading commit data... | |
partials | Loading commit data... | |
specs | Loading commit data... | |
FunctionEditor.tsx | Loading commit data... | |
FunctionEditorControls.tsx | Loading commit data... | |
README.md | Loading commit data... | |
add_graphite_func.ts | Loading commit data... | |
config_ctrl.ts | Loading commit data... | |
datasource.ts | Loading commit data... | |
func_editor.ts | Loading commit data... | |
gfunc.ts | Loading commit data... | |
graphite_query.ts | Loading commit data... | |
lexer.ts | Loading commit data... | |
module.ts | Loading commit data... | |
parser.ts | Loading commit data... | |
plugin.json | Loading commit data... | |
query_ctrl.ts | Loading commit data... | |
query_help.md | Loading commit data... |