- Record session information, like stack trace, start reason, total token usage. - Trace llm function calls time and token usage.