Skip to main content
Metadata is key-value pairs attached to traces or spans — useful for model versions, request IDs, feature flags, or any structured context you want to search on.

Using observe

Pass static metadata to observe for values known at definition time:

Using using_attributes / usingAttributes

Propagate metadata to all traces and spans within a block: