mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
Explore metrics: Remove operators =| and !=| from adhoc filters (#100300)
Remove operators =| and !=| from adhoc filters
This commit is contained in:
parent
d81c4b3c42
commit
964f3d0cad
@ -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
|
||||
}),
|
||||
|
Loading…
Reference in New Issue
Block a user