From 949156e842c099f3b980bbd4251326d23ce3bf54 Mon Sep 17 00:00:00 2001 From: ismail simsek Date: Mon, 26 Feb 2024 17:28:37 +0100 Subject: [PATCH] InfluxDB: Fix fetching tag values only for selected measurement (#83353) show tag values only for selected measurement --- .../editor/query/influxql/visual/VisualInfluxQLEditor.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/public/app/plugins/datasource/influxdb/components/editor/query/influxql/visual/VisualInfluxQLEditor.tsx b/public/app/plugins/datasource/influxdb/components/editor/query/influxql/visual/VisualInfluxQLEditor.tsx index c300ce9c5dc..374da6b752a 100644 --- a/public/app/plugins/datasource/influxdb/components/editor/query/influxql/visual/VisualInfluxQLEditor.tsx +++ b/public/app/plugins/datasource/influxdb/components/editor/query/influxql/visual/VisualInfluxQLEditor.tsx @@ -134,7 +134,7 @@ export const VisualInfluxQLEditor = (props: Props): JSX.Element => { getTagKeyOptions={getMemoizedTagKeys} getTagValueOptions={(key) => withTemplateVariableOptions( - allTagKeys.then((keys) => getTagValues(datasource, filterTags(query.tags ?? [], keys), key)), + allTagKeys.then((keys) => getTagValues(datasource, filterTags(query.tags ?? [], keys), key, measurement)), wrapRegex ) }