feat(recorder): add Metadata field to RecorderObject for plugin recorder metadata forwarding (#412)

This commit is contained in:
ginuerzh
2026-06-21 13:24:33 +08:00
parent b878e7a161
commit 53f7941f92
+3
View File
@@ -39,6 +39,9 @@ type RecorderObject struct {
Record string
// Options configures what data is recorded.
Options *Options
// Metadata is arbitrary metadata attached to the recorder,
// forwarded to plugin recorders on every Record call.
Metadata map[string]any
}
// Options configures a Recorder's behavior.