Hi, we use span.set_attribute(SpanAttributes.METADATA, json.dumps(...)) to set metadata. Just found that any subsequent call to span.set_attribute(SpanAttributes.METADATA, json.dumps(...)) will override the previous metadata. We cannot combine these as they are from 2 unrelated parts of the code operating on the same span. How should we handle this?
💡 Hint: Mention RunLLM in the thread for followups.
RunLLM attributes are not overwritten with subsequent calls right? Only metadata is overwritten?
💡 Hint: Mention RunLLM in the thread for followups.
I see, so this gets overwritten since SpanAttribute.METADATA is used as the key. Makes sense. RunLLM (or any humans 🙇) are there examples of how to query in phoenix using custom attributes? Because of the overwriting issue, I cannot use metadata for filtering and I can't find any example in phoenix docs to filter using custom attributes.
💡 Hint: Mention RunLLM in the thread for followups.
