pub fn usage_key(agent: &str, session_id: Option<&str>, turn_id: &str) -> StringExpand description
Key under which a per-request usage figure is counted exactly once.
Both the adapter (when parsing) and the ingester (when rebuilding state from an existing store) must derive the same string, which is what makes usage attribution survive an interrupted run.