mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
Graphite: Tag values are queried with dashboard time range (#92167)
add time range to get tag values in graphite
This commit is contained in:
parent
2a1a43fc9b
commit
e0a0942203
@ -199,6 +199,7 @@ async function getTagValues(
|
|||||||
const tagExpressions = state.queryModel.renderTagExpressions(index);
|
const tagExpressions = state.queryModel.renderTagExpressions(index);
|
||||||
const tagKey = tag.key;
|
const tagKey = tag.key;
|
||||||
const values = await state.datasource.getTagValuesAutoComplete(tagExpressions, tagKey, valuePrefix, {
|
const values = await state.datasource.getTagValuesAutoComplete(tagExpressions, tagKey, valuePrefix, {
|
||||||
|
range: state.range,
|
||||||
limit: MAX_SUGGESTIONS,
|
limit: MAX_SUGGESTIONS,
|
||||||
});
|
});
|
||||||
const altValues = map(values, 'text');
|
const altValues = map(values, 'text');
|
||||||
|
Loading…
Reference in New Issue
Block a user