SIGN IN SIGN UP

Chronicle: per-subcommand telemetry attribution for sessionStoreSql tool (#319054)

chronicle: per-subcommand telemetry attribution for sessionStoreSql tool

Add a 'subcommand' enum input on copilot_sessionStoreSql so each /chronicle slash command (standup, tips, cost-tips, search, improve, reindex) tags its tool calls. Plumb it through _invokeQuery/_invokeStandup/_invokeReindex and emit it on the chronicle.sqlQuery telemetry event (with 'unknown' for ad-hoc model calls). Also add command/target/success dimensions while preserving the legacy 'source' value so existing dashboards keep working. Update each chronicle-*.prompt.md to instruct the model to set the subcommand on every call.
V
Vijay Upadya committed
b365ecd0b8f3f3e37946c2bea2bc98bfafbb338e
Parent: b24c5e3
Committed by GitHub <noreply@github.com> on 5/29/2026, 9:16:38 PM