Explore metrics: Add option to use regex (#100146)

add option to use regex
This commit is contained in:
Brendan O'Handley
2025-02-05 15:11:43 -06:00
committed by GitHub
parent 69e4d8468b
commit 0fe4b15d00
+4
View File
@@ -653,6 +653,8 @@ function getVariableSet(
layout: 'vertical',
defaultKeys: [],
applyMode: 'manual',
supportsMultiValueOperators: true,
allowCustomValue: true,
}),
new AdHocFiltersVariable({
name: VAR_FILTERS,
@@ -666,6 +668,7 @@ function getVariableSet(
applyMode: 'manual',
// since we only support prometheus datasources, this is always true
supportsMultiValueOperators: true,
allowCustomValue: true,
}),
...getVariablesWithOtelJoinQueryConstant(otelJoinQuery ?? ''),
new ConstantVariable({
@@ -689,6 +692,7 @@ function getVariableSet(
applyMode: 'manual',
// since we only support prometheus datasources, this is always true
supportsMultiValueOperators: true,
allowCustomValue: true,
// skipUrlSync: true
}),
// Legacy variable needed for bookmarking which is necessary because