Graphite: Tag values are queried with dashboard time range (#92167)

add time range to get tag values in graphite
pull/92602/head
Andrew Hackmann 9 months ago committed by GitHub
parent 2a1a43fc9b
commit e0a0942203
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
  1. 1
      public/app/plugins/datasource/graphite/state/providers.ts

@ -199,6 +199,7 @@ async function getTagValues(
const tagExpressions = state.queryModel.renderTagExpressions(index);
const tagKey = tag.key;
const values = await state.datasource.getTagValuesAutoComplete(tagExpressions, tagKey, valuePrefix, {
range: state.range,
limit: MAX_SUGGESTIONS,
});
const altValues = map(values, 'text');

Loading…
Cancel
Save