Explore metrics: Remove operators =| and !=| from adhoc filters (#100300)

Remove operators =| and !=| from adhoc filters
This commit is contained in:
Brendan O'Handley 2025-02-13 12:58:07 -06:00 committed by GitHub
parent d81c4b3c42
commit 964f3d0cad
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -653,7 +653,6 @@ function getVariableSet(
layout: 'vertical',
defaultKeys: [],
applyMode: 'manual',
supportsMultiValueOperators: true,
allowCustomValue: true,
}),
new AdHocFiltersVariable({
@ -666,8 +665,6 @@ function getVariableSet(
filters: initialFilters ?? [],
baseFilters: getBaseFiltersForMetric(metric),
applyMode: 'manual',
// since we only support prometheus datasources, this is always true
supportsMultiValueOperators: true,
allowCustomValue: true,
expressionBuilder: (filters: AdHocVariableFilter[]) => {
return [...getBaseFiltersForMetric(metric), ...filters]
@ -695,8 +692,6 @@ function getVariableSet(
filters: initialFilters ?? [],
baseFilters: getBaseFiltersForMetric(metric),
applyMode: 'manual',
// since we only support prometheus datasources, this is always true
supportsMultiValueOperators: true,
allowCustomValue: true,
// skipUrlSync: true
}),