Tempo: Fix TraceQL Search escaping regex queries (#106693)

* Fix for TraceQL Search incorrectly escaping regex queries

* Update test

* Keep existing filter values when adding custom
This commit is contained in:
Joey
2025-06-18 12:21:45 +01:00
committed by GitHub
parent 0270152e35
commit ecf793ea05
7 changed files with 111 additions and 6 deletions
@@ -84,6 +84,8 @@ type TraceqlFilter struct {
ValueType *string `json:"valueType,omitempty"`
// The scope of the filter, can either be unscoped/all scopes, resource or span
Scope *TraceqlSearchScope `json:"scope,omitempty"`
// Whether the value is a custom value typed by the user
IsCustomValue *bool `json:"isCustomValue,omitempty"`
}
// NewTraceqlFilter creates a new TraceqlFilter object.