[processor/transform] Optimize the use of trace_state in condition #10849
Labels
data:traces
Trace related issues
enhancement
New feature or request
good first issue
Good for newcomers
priority:p3
Lowest
processor/transform
Transform processor
Is your feature request related to a problem? Please describe.
In open-telemetry spec,
trace_state
is a key-valued struct. Nowtrace_state
seems being used as a string in a condition. Maybe we can make it easier to use.Describe the solution you'd like
In example, when
trace_state
having the value ofkey1=val1,key2=val2
in spans, we can give a query configuration like this:set(status.code, 1) where trace_state["key1"] == "val1"
The text was updated successfully, but these errors were encountered: