Skip to content

Commit 1ebf6f3

Browse files
committed
fix: allow edit of trace search fields
Signed-off-by: Patrik Cyvoct <patrik@ptrk.io>
1 parent 00f9f19 commit 1ebf6f3

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

src/components/QueryEditor/MetricAggregationsEditor/SettingsEditor/TraceSearchSettingsEditor.tsx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,7 @@ export const TraceSearchSettingsEditor = ({ metric }: Props) => {
6767
<InlineField label="Service name" labelWidth={16}>
6868
<SegmentAsync
6969
allowCustomValue={true}
70+
allowEmptyValue={true}
7071
className={segmentStyles}
7172
loadOptions={loadFieldValues('service_name')}
7273
onChange={(e) => changeSetting('serviceName', e.value)}
@@ -77,6 +78,7 @@ export const TraceSearchSettingsEditor = ({ metric }: Props) => {
7778
<InlineField label="Span name" labelWidth={16}>
7879
<SegmentAsync
7980
allowCustomValue={true}
81+
allowEmptyValue={true}
8082
className={segmentStyles}
8183
loadOptions={loadFieldValues('span_name')}
8284
onChange={(e) => changeSetting('spanName', e.value)}

0 commit comments

Comments
 (0)