macro_rules! feedback_tags {
($( $key:ident = $value:expr ),+ $(,)?) => { ... };
}Expand description
Emit structured feedback metadata as key/value pairs.
This logs a tracing event with target: "feedback_tags". If
crate::product::feedback::CodexFeedback::metadata_layer() is installed, these fields are captured and
later attached as tags when feedback is uploaded.
Values are wrapped with tracing::field::DebugValue, so the expression only needs to
implement std::fmt::Debug.
Example:
crate::product::agent::feedback_tags!(model = "gpt-5", cached = true);
crate::product::agent::feedback_tags!(provider = provider_id, request_id = request_id);