Attaches custom metadata to the current span.
Providers decide how to encode values. Safe to call multiple times.
void setMetadata(Map<String, Object?> metadata);