From 0fe4b15d0082bd72a1392a7b16ab78d69e6bb0fd Mon Sep 17 00:00:00 2001 From: Brendan O'Handley Date: Wed, 5 Feb 2025 15:11:43 -0600 Subject: [PATCH] Explore metrics: Add option to use regex (#100146) add option to use regex --- public/app/features/trails/DataTrail.tsx | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/public/app/features/trails/DataTrail.tsx b/public/app/features/trails/DataTrail.tsx index 46a854ffdb1..fa85dd32773 100644 --- a/public/app/features/trails/DataTrail.tsx +++ b/public/app/features/trails/DataTrail.tsx @@ -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