feat(telemetry): add mongo_query_completed event

Adds the strict mongo_query_completed schema (driver, isDemoConnection,
stageCount, durationMs, outcome, errorClass) for the upcoming
ktx mongo-query command, registered in both the catalog object and the
name/description/fields catalog list, and mirrors it to the Python
daemon schema copy.
This commit is contained in:
Kevin Messiaen 2026-07-06 20:05:22 +07:00
parent 89b8729950
commit cd9a6f5dc2
No known key found for this signature in database
GPG key ID: 19FF750A17315202
5 changed files with 185 additions and 0 deletions

View file

@ -31,6 +31,7 @@ describe('telemetry event schemas', () => {
'sl_validate_completed',
'sl_query_completed',
'sql_completed',
'mongo_query_completed',
'wiki_query_completed',
'mcp_request_completed',
'daemon_started',