Explore metrics: Remove operators =| and !=| from adhoc filters (#100300)
Remove operators =| and !=| from adhoc filters
This commit is contained in:
@@ -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
|
||||
}),
|
||||
|
||||
Reference in New Issue
Block a user