mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
graphite: tag is required for values autocomplete
This commit is contained in:
parent
2374e91bfa
commit
ac2e72f22a
@ -302,13 +302,11 @@ export function GraphiteDatasource(instanceSettings, $q, backendSrv, templateSrv
|
|||||||
method: 'GET',
|
method: 'GET',
|
||||||
url: '/tags/autoComplete/values',
|
url: '/tags/autoComplete/values',
|
||||||
params: {
|
params: {
|
||||||
expr: expression
|
expr: expression,
|
||||||
|
tag: tag
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
if (tag) {
|
|
||||||
httpOptions.params.tag = tag;
|
|
||||||
}
|
|
||||||
if (valuePrefix) {
|
if (valuePrefix) {
|
||||||
httpOptions.params.valuePrefix = valuePrefix;
|
httpOptions.params.valuePrefix = valuePrefix;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user