InfluxDB: Fix fetching tag values only for selected measurement (#83353)

show tag values only for selected measurement
This commit is contained in:
ismail simsek
2024-02-26 17:28:37 +01:00
committed by GitHub
parent af76b8937e
commit 949156e842

View File

@@ -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
)
}