From e0a0942203904e5572f03d175a75a05ef7b26686 Mon Sep 17 00:00:00 2001 From: Andrew Hackmann <5140848+bossinc@users.noreply.github.com> Date: Wed, 28 Aug 2024 09:08:46 -0500 Subject: [PATCH] Graphite: Tag values are queried with dashboard time range (#92167) add time range to get tag values in graphite --- public/app/plugins/datasource/graphite/state/providers.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/public/app/plugins/datasource/graphite/state/providers.ts b/public/app/plugins/datasource/graphite/state/providers.ts index 4c59e641339..15138eecbe6 100644 --- a/public/app/plugins/datasource/graphite/state/providers.ts +++ b/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');