Commit ac2e72f2 by Alexander Zobnin

graphite: tag is required for values autocomplete

parent 2374e91b
......@@ -302,13 +302,11 @@ export function GraphiteDatasource(instanceSettings, $q, backendSrv, templateSrv
method: 'GET',
url: '/tags/autoComplete/values',
params: {
expr: expression
expr: expression,
tag: tag
}
};
if (tag) {
httpOptions.params.tag = tag;
}
if (valuePrefix) {
httpOptions.params.valuePrefix = valuePrefix;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment