> hypequery

CLI telemetry preferences

Inspect and control anonymous CLI usage telemetry preferences

The CLI provides telemetry preferences and a staged telemetry core. Normal runs do not collect or send events yet. To audit locally, set HYPEQUERY_TELEMETRY_DEBUG=1: valid event envelopes are printed to stderr and nothing is sent. Maintainers can set HYPEQUERY_TELEMETRY_URL to a staging or self-hosted first-party ingest endpoint. Opt-outs apply in both modes.

hypequery telemetry status
hypequery telemetry disable
hypequery telemetry enable

status (also the default action) prints the effective preference, the setting that determined it, and a random install ID. Saving enable does not override environment variables or the global flag.

To disable for one invocation, pass --no-telemetry before or after the command, or set DO_NOT_TRACK=1 or HYPEQUERY_TELEMETRY_DISABLED=1. These take precedence over saved preferences. Test environments and Hypequery's own CI also disable telemetry; customer CI follows the saved preference, which defaults to enabled.

Settings are stored in telemetry.json in the CLI config directory. They contain the preference, a random install ID, a schema version, and an optional notice timestamp reserved for the first-run notice. The install ID is generated randomly, not from hardware, a username, or a hostname. Corrupt or unavailable settings disable telemetry for that run. A failed explicit save reports an error so you can use an environment variable or the flag instead.

See the CLI reference for precedence and config-directory details. The planned event reference is below; data-handling policy will be documented before default collection is released.

Staging and debugging

HYPEQUERY_TELEMETRY_DEBUG=1 hypequery --version
HYPEQUERY_TELEMETRY_DEBUG=1 hypequery init --no-telemetry # Prints no events

Debug output contains the exact validated event envelopes, including their timestamps and the transport-owned $process_person_profile: false and $geoip_disable: true properties. Invalid events are dropped with a fixed diagnostic that does not echo rejected input. All telemetry output uses stderr.

Staging delivery uses one in-memory batch per invocation, a built-in Node HTTP(S) request, a 40 ms flush timeout, and a 64 KiB / 32-event cap. Unsent events are dropped; there is no retry process or disk queue. Only HTTPS endpoints and HTTP loopback test endpoints are accepted; URLs with credentials, query strings or fragments are rejected, and redirects are refused. The first-party proxy holds the real PostHog API key and must remove client IP information before forwarding.

HTTP 410 from the proxy disables the current CLI version in local settings, best-effort. Later versions remain eligible; telemetry status reports kill_switch when it applies. A read-only config cannot persist the response.

The disclosure appears once on enabled interactive runs, after a successful stderr write. It is suppressed in CI, on non-TTY streams, during preference commands, and under MCP. Before default collection is enabled, this disclosure appears only when the staged core is activated as described above.

Known command failures reach the bounded exit flush. Dev shutdown flushes after runtime teardown, and SIGINT/SIGTERM endings are classified as interrupted. Crash events use Node's exception monitor so native fatal-error output and exit behavior are preserved; network delivery during a fatal crash is best-effort.

In staged mode, init adds onboarding progress to its single command completion event: the furthest stage reached, the failing stage on errors, connection results, scaffold and authentication choices, bucketed schema/dataset counts, and whether configuration files were created, updated, unchanged, or skipped. Declining setup is recorded as cancellation. Connection retries share the same invocation and produce one completion event. Table selections are recorded only as a selection mode; table names, connection details, and output paths are never included.

Generation commands report bucketed counts from the schema they already introspect. Type fallbacks are reduced to built-in family names (or unknown), including unsupported fragments inside supported wrappers. Dataset generation records write/check/diff modes, read-only check outcomes, and counts of known tenant-scaffolding warnings. Manifest generation counts already loaded registry entries and generated routes. Schema names, full type expressions, warning text, and manifest contents are excluded, and telemetry adds no database queries.

Event reference

Schema version: 1. Default collection is inactive. Debug or explicitly configured ingest mode emits command/crash lifecycle events, init and generation metrics, and dev/MCP session events. Cloud command and project-feature instrumentation follows separately.

Unknown events, properties, record keys, flag names, enum values, and malformed identities or versions are rejected. No argument values, paths, names, SQL, messages, stacks, hosts, tenants, or credentials are permitted.

Counts use inclusive integer ranges: 0, 1, 2–5, 6–20, 21–100, and 101 or more. Duration and nonzero size buckets include their lower bound and exclude their upper bound. Raw counts, durations, ports and byte sizes are never sent.

Common properties

Every event includes these fields. Unknown environment details use the documented unknown value; unavailable optional fields are omitted.

PropertyPresenceAllowed valuesQuestion answered
schema_versionRequired1Which event contract does this payload use?
cli_versionRequiredExact major.minor.patch (1–3 digits per component); optional canary/alpha/beta/rc/dev/snapshot suffix with 1–14 digit numeric components, or unknown; at most 80 charactersWhich CLI releases are in use?
node_versionRequiredNumeric major.minor (1–3 digits per component), or unknownWhich Node major.minor releases need support?
osRequireddarwin, linux, win32, aix, freebsd, openbsd, sunos, android, unknownWhich operating systems need support?
archRequiredarm, arm64, ia32, x64, loong64, mips, mipsel, ppc, ppc64, riscv64, s390, s390x, unknownWhich CPU architectures need support?
is_ciRequiredtrue, falseHow much usage happens in CI?
ci_nameRequirednone, github_actions, gitlab, circleci, buildkite, jenkins, vercel, netlify, azure, bitbucket, teamcity, travis, codebuild, unknownWhich CI providers need support?
is_ttyRequiredtrue, falseHow much usage is interactive?
is_dockerRequiredtrue, falseHow much usage runs in containers?
is_wslRequiredtrue, falseHow much usage runs in WSL?
package_managerRequirednpm, pnpm, yarn, bun, unknownWhich package managers need support?
package_manager_majorOptionalNumeric major (1–3 digits), or unknownWhich package-manager major releases need support?
invoked_viaRequirednpx, pnpm_dlx, bunx, global, local_bin, unknownHow is the CLI invoked?
install_idRequiredRandom UUID v4 (36 characters)Count active installations without hardware or account identifiers.
project_idOptional64 lowercase hexadecimal characters (salted SHA-256)Count active projects across installations; omit when no signal exists.
session_idRequiredRandom UUID v4 (36 characters)Group events from the same invocation.
is_first_runRequiredtrue, falseHow many installations are new?
hypequery_packagesOptionalObject with only the documented keys belowWhich toolkit packages and exact versions are adopted? No project dependencies or names.
hypequery_packages.@hypequery/clickhouseOptionalExact major.minor.patch (1–3 digits per component); optional canary/alpha/beta/rc/dev/snapshot suffix with 1–14 digit numeric components, or unknown; at most 80 charactersInstalled exact release version, or unknown.
hypequery_packages.@hypequery/datasetsOptionalExact major.minor.patch (1–3 digits per component); optional canary/alpha/beta/rc/dev/snapshot suffix with 1–14 digit numeric components, or unknown; at most 80 charactersInstalled exact release version, or unknown.
hypequery_packages.@hypequery/serveOptionalExact major.minor.patch (1–3 digits per component); optional canary/alpha/beta/rc/dev/snapshot suffix with 1–14 digit numeric components, or unknown; at most 80 charactersInstalled exact release version, or unknown.
hypequery_packages.@hypequery/reactOptionalExact major.minor.patch (1–3 digits per component); optional canary/alpha/beta/rc/dev/snapshot suffix with 1–14 digit numeric components, or unknown; at most 80 charactersInstalled exact release version, or unknown.
hypequery_packages.@hypequery/cliOptionalExact major.minor.patch (1–3 digits per component); optional canary/alpha/beta/rc/dev/snapshot suffix with 1–14 digit numeric components, or unknown; at most 80 charactersInstalled exact release version, or unknown.
hypequery_packages.@hypequery/mcpOptionalExact major.minor.patch (1–3 digits per component); optional canary/alpha/beta/rc/dev/snapshot suffix with 1–14 digit numeric components, or unknown; at most 80 charactersInstalled exact release version, or unknown.
hypequery_packages.@hypequery/protocolOptionalExact major.minor.patch (1–3 digits per component); optional canary/alpha/beta/rc/dev/snapshot suffix with 1–14 digit numeric components, or unknown; at most 80 charactersInstalled exact release version, or unknown.
hypequery_packages.@hypequery/protocol-conformanceOptionalExact major.minor.patch (1–3 digits per component); optional canary/alpha/beta/rc/dev/snapshot suffix with 1–14 digit numeric components, or unknown; at most 80 charactersInstalled exact release version, or unknown.
hypequery_packages.@hypequery/deploymentOptionalExact major.minor.patch (1–3 digits per component); optional canary/alpha/beta/rc/dev/snapshot suffix with 1–14 digit numeric components, or unknown; at most 80 charactersInstalled exact release version, or unknown.
databaseRequiredclickhouse, chdb, bigquery, unknownWhich database backends merit investment?

cli_command_completed

Measure command adoption, onboarding drop-off and release reliability. Exactly once per invocation; never emit for telemetry disable.

PropertyPresenceAllowed valuesQuestion answered
commandRequiredinit, dev, mcp, generate, generate:types, generate:datasets, generate:manifest, login, logout, deploy, deployment:build, deployment:validate, deployment:release, deployment:submit, deployment:status, pull, diff, help, version, telemetry, unknownWhich known command was requested? Raw unknown input is never retained.
flags_usedRequiredUnique list of: --path, --style, --database, --chdb-path, --auth, --all-tables, --tables, --exclude-tables, --no-example, --no-interactive, --force, --skip-connection, --port, --hostname, --no-watch, --no-cache, --cache, --redis-url, --open, --cors, --quiet, --tenant, --self-test, --url, --output, --tenant-column, --check, --diff, --cloud-url, --environment, --bundle-output, --release-output, --project, --no-source, --endpoint, --replace-restored, --mcp-config, --release, --no-telemetry, --help, --versionWhich documented flags are adopted? Canonical names only, never values.
outcomeRequiredsuccess, failure, cancelled, interruptedWhich commands fail, succeed or are aborted?
duration_bucketRequired<100ms, 100ms-1s, 1s-10s, 10s-1m, 1m-10m, 10m-1h, 1h+Which commands need performance work?
error_codeOptionalunknown, connection_failed, auth_failed, entrypoint_not_found, compile_error, prompt_cancelled, validation_failed, cloud_network_error, cloud_rejected, not_installed, engine_error, no_tables, no_datasets, tenant_required, load_error, output_missing, output_out_of_date, unknown_command, unknown_optionWhich known failures need reliability work?

cli_command_completed: init

Allowed flags_used: --path, --style, --database, --chdb-path, --auth, --all-tables, --tables, --exclude-tables, --no-example, --no-interactive, --force, --skip-connection, --no-telemetry, --help, --version. The two type-generation aliases remain distinct command values.

PropertyPresenceAllowed valuesQuestion answered
stage_reachedOptionalstarted, database_selected, connection_tested, style_selected, files_written, dependencies_installed, completedWhere does onboarding stop?
failed_stageOptionalstarted, database_selected, connection_tested, style_selected, files_written, dependencies_installed, completedWhich onboarding stage needs reliability work?
styleOptionalqueries, datasetsWhich scaffold style is adopted?
authOptionalnone, contextIs context authentication adopted?
interactiveOptionaltrue, falseHow much onboarding is interactive?
forceOptionaltrue, falseHow often are scaffold files overwritten?
exampleOptionaltrue, falseAre example queries requested?
skip_connectionOptionaltrue, falseAre offline scaffolds used?
connection_resultOptionalok, failed, skippedWhere does connection setup fail?
chdb_failure_reasonOptionalnot_installed, engine_errorDoes embedded onboarding fail at installation or execution?
table_count_bucketOptional0, 1, 2-5, 6-20, 21-100, 101+How large are onboarding schemas?
datasets_generated_bucketOptional0, 1, 2-5, 6-20, 21-100, 101+How many datasets are scaffolded?
table_selectionOptionalall, list, exclude, promptWhich table-selection workflows are used?
env_fileOptionalcreated, updated, unchanged, skippedDoes onboarding create or update environment config?
gitignoreOptionalcreated, updated, unchanged, skippedDoes onboarding create or update ignore config?
package_json_presentOptionaltrue, falseDoes onboarding start in an existing project?
analytics_directory_presentOptionaltrue, falseDoes onboarding reuse an analytics directory?

cli_command_completed: dev

Allowed flags_used: --port, --hostname, --no-watch, --no-cache, --cache, --redis-url, --open, --cors, --path, --quiet, --no-telemetry, --help, --version. The two type-generation aliases remain distinct command values.

No additional properties.

cli_command_completed: mcp

Allowed flags_used: --path, --tenant, --self-test, --url, --no-telemetry, --help, --version. The two type-generation aliases remain distinct command values.

PropertyPresenceAllowed valuesQuestion answered
modeOptionalself_test, serveIs MCP used for validation or serving?
hostedOptionaltrue, falseIs MCP self-test targeting a hosted endpoint?
dataset_count_bucketOptional0, 1, 2-5, 6-20, 21-100, 101+How many datasets are exposed to agents?
tenant_usedOptionaltrue, falseIs a trusted tenant supplied? Never its value.
tenant_dataset_count_bucketOptional0, 1, 2-5, 6-20, 21-100, 101+How many datasets require tenant scope?

cli_command_completed: generate

Allowed flags_used: --output, --path, --tables, --database, --chdb-path, --no-telemetry, --help, --version. The two type-generation aliases remain distinct command values.

PropertyPresenceAllowed valuesQuestion answered
chdb_path_givenOptionaltrue, falseIs persistent embedded ClickHouse adopted?
tables_filter_usedOptionaltrue, falseAre targeted type-generation workflows used?
table_count_bucketOptional0, 1, 2-5, 6-20, 21-100, 101+How large are introspected schemas?
column_count_bucketOptional0, 1, 2-5, 6-20, 21-100, 101+How many columns need type generation?
unsupported_type_count_bucketOptional0, 1, 2-5, 6-20, 21-100, 101+How often does type mapping need improvement?
unsupported_type_familiesOptionalUnique list of: AggregateFunction, SimpleAggregateFunction, Variant, Dynamic, Object, JSON, Nested, Tuple, Map, Array, Nullable, LowCardinality, Decimal, Enum, DateTime, DateTime64, unknownWhich built-in type families need mapping? Never full type expressions.
custom_outputOptionaltrue, falseWas a custom output location supplied? Never the path.

cli_command_completed: generate:types

Allowed flags_used: --output, --path, --tables, --database, --chdb-path, --no-telemetry, --help, --version. The two type-generation aliases remain distinct command values.

PropertyPresenceAllowed valuesQuestion answered
chdb_path_givenOptionaltrue, falseIs persistent embedded ClickHouse adopted?
tables_filter_usedOptionaltrue, falseAre targeted type-generation workflows used?
table_count_bucketOptional0, 1, 2-5, 6-20, 21-100, 101+How large are introspected schemas?
column_count_bucketOptional0, 1, 2-5, 6-20, 21-100, 101+How many columns need type generation?
unsupported_type_count_bucketOptional0, 1, 2-5, 6-20, 21-100, 101+How often does type mapping need improvement?
unsupported_type_familiesOptionalUnique list of: AggregateFunction, SimpleAggregateFunction, Variant, Dynamic, Object, JSON, Nested, Tuple, Map, Array, Nullable, LowCardinality, Decimal, Enum, DateTime, DateTime64, unknownWhich built-in type families need mapping? Never full type expressions.
custom_outputOptionaltrue, falseWas a custom output location supplied? Never the path.

cli_command_completed: generate:datasets

Allowed flags_used: --output, --path, --tables, --exclude-tables, --tenant-column, --force, --check, --diff, --no-telemetry, --help, --version. The two type-generation aliases remain distinct command values.

PropertyPresenceAllowed valuesQuestion answered
modeOptionalwrite, check, diffAre datasets generated locally or checked in CI?
check_resultOptionalup_to_date, out_of_date, missingDoes CI find stale dataset definitions?
forceOptionaltrue, falseAre existing definitions replaced?
tenant_column_usedOptionaltrue, falseIs tenant isolation explicitly scaffolded? Never the column.
tables_filter_usedOptionaltrue, falseIs include filtering adopted?
exclude_filter_usedOptionaltrue, falseIs exclude filtering adopted?
datasets_generated_bucketOptional0, 1, 2-5, 6-20, 21-100, 101+How many dataset definitions are generated?
warning_countsOptionalObject with only the documented keys belowWhich tenant-scaffolding warnings need improvement?
warning_counts.tenant-key-candidateOptional0, 1, 2-5, 6-20, 21-100, 101+Bucketed warning occurrences.
warning_counts.tenant-column-missingOptional0, 1, 2-5, 6-20, 21-100, 101+Bucketed warning occurrences.

cli_command_completed: generate:manifest

Allowed flags_used: --output, --no-telemetry, --help, --version. The two type-generation aliases remain distinct command values.

PropertyPresenceAllowed valuesQuestion answered
query_count_bucketOptional0, 1, 2-5, 6-20, 21-100, 101+How much query-based React integration is adopted?
endpoint_count_bucketOptional0, 1, 2-5, 6-20, 21-100, 101+How much endpoint-based React integration is adopted?
custom_outputOptionaltrue, falseWas a custom output location supplied? Never the path.

cli_command_completed: login

Allowed flags_used: --cloud-url, --environment, --no-telemetry, --help, --version. The two type-generation aliases remain distinct command values.

No additional properties.

cli_command_completed: logout

Allowed flags_used: --no-telemetry, --help, --version. The two type-generation aliases remain distinct command values.

No additional properties.

cli_command_completed: deploy

Allowed flags_used: --bundle-output, --release-output, --project, --environment, --no-source, --endpoint, --replace-restored, --mcp-config, --no-telemetry, --help, --version. The two type-generation aliases remain distinct command values.

No additional properties.

cli_command_completed: deployment:build

Allowed flags_used: --bundle-output, --no-source, --no-telemetry, --help, --version. The two type-generation aliases remain distinct command values.

No additional properties.

cli_command_completed: deployment:validate

Allowed flags_used: --no-telemetry, --help, --version. The two type-generation aliases remain distinct command values.

No additional properties.

cli_command_completed: deployment:release

Allowed flags_used: --project, --environment, --output, --no-telemetry, --help, --version. The two type-generation aliases remain distinct command values.

No additional properties.

cli_command_completed: deployment:submit

Allowed flags_used: --release, --endpoint, --replace-restored, --no-telemetry, --help, --version. The two type-generation aliases remain distinct command values.

No additional properties.

cli_command_completed: deployment:status

Allowed flags_used: --project, --environment, --endpoint, --mcp-config, --no-telemetry, --help, --version. The two type-generation aliases remain distinct command values.

No additional properties.

cli_command_completed: pull

Allowed flags_used: --output, --project, --environment, --endpoint, --no-telemetry, --help, --version. The two type-generation aliases remain distinct command values.

No additional properties.

cli_command_completed: diff

Allowed flags_used: --project, --environment, --endpoint, --no-telemetry, --help, --version. The two type-generation aliases remain distinct command values.

No additional properties.

cli_command_completed: version

Allowed flags_used: --no-telemetry, --help, --version. The two type-generation aliases remain distinct command values.

No additional properties.

cli_command_completed: telemetry

Allowed flags_used: --no-telemetry, --help, --version. The two type-generation aliases remain distinct command values.

No additional properties.

cli_command_completed: unknown

Allowed flags_used: --no-telemetry, --help, --version. The two type-generation aliases remain distinct command values.

No additional properties.

cli_command_completed: help

Allowed flags_used: --no-telemetry, --help, --version. The two type-generation aliases remain distinct command values.

PropertyPresenceAllowed valuesQuestion answered
help_topicOptionalroot, init, dev, mcp, generate, generate:types, generate:datasets, generate:manifest, login, logout, deploy, deployment:build, deployment:validate, deployment:release, deployment:submit, deployment:status, pull, diff, help, version, telemetry, unknownWhich command help needs improvement? Unknown input becomes unknown.

cli_session_started

Measure development-server and MCP session configuration; never emit on every reload or request.

PropertyPresenceAllowed valuesQuestion answered
commandRequireddev, mcpWhich long-running command starts?

cli_session_started: dev

PropertyPresenceAllowed valuesQuestion answered
entry_typeRequiredhypequery.ts, api.ts, queries.ts, explicit_file, unknownWhich entrypoint convention is used? Never the path.
watchRequiredtrue, falseIs file watching used?
cache_providerRequirednone, memory, redis, unknownWhich cache providers are adopted?
corsRequiredtrue, falseIs cross-origin development adopted?
openRequiredtrue, falseIs the browser opened automatically?
custom_portRequiredtrue, falseIs a non-default port selected? Never its number or hostname.
quietRequiredtrue, falseIs quiet startup adopted?

cli_session_started: mcp

PropertyPresenceAllowed valuesQuestion answered
entry_typeRequiredhypequery.ts, api.ts, queries.ts, explicit_file, unknownWhich entrypoint convention is used? Never the path.
modeRequiredself_test, serveIs MCP serving or validating?
dataset_count_bucketRequired0, 1, 2-5, 6-20, 21-100, 101+How many datasets are exposed to agents?
tenant_usedRequiredtrue, falseIs tenant scope supplied? Never its value.
tenant_dataset_count_bucketRequired0, 1, 2-5, 6-20, 21-100, 101+How many exposed datasets require tenant scope?

cli_session_ended

Measure session duration and aggregated usage on shutdown, without individual requests or tool arguments.

PropertyPresenceAllowed valuesQuestion answered
commandRequireddev, mcpWhich long-running command ends?
outcomeRequiredsuccess, failure, cancelled, interruptedHow did the session end?
duration_bucketRequired<100ms, 100ms-1s, 1s-10s, 10s-1m, 1m-10m, 10m-1h, 1h+How long are development and agent sessions?

cli_session_ended: dev

PropertyPresenceAllowed valuesQuestion answered
reload_count_bucketRequired0, 1, 2-5, 6-20, 21-100, 101+How heavily is hot reload used?
reload_error_count_bucketRequired0, 1, 2-5, 6-20, 21-100, 101+How often does hot reload fail?
load_failuresRequiredObject with only the documented keys belowWhich load failures need reliability work?
load_failures.unknownOptional0, 1, 2-5, 6-20, 21-100, 101+Bucketed failures by stable code.
load_failures.connection_failedOptional0, 1, 2-5, 6-20, 21-100, 101+Bucketed failures by stable code.
load_failures.auth_failedOptional0, 1, 2-5, 6-20, 21-100, 101+Bucketed failures by stable code.
load_failures.entrypoint_not_foundOptional0, 1, 2-5, 6-20, 21-100, 101+Bucketed failures by stable code.
load_failures.compile_errorOptional0, 1, 2-5, 6-20, 21-100, 101+Bucketed failures by stable code.
load_failures.prompt_cancelledOptional0, 1, 2-5, 6-20, 21-100, 101+Bucketed failures by stable code.
load_failures.validation_failedOptional0, 1, 2-5, 6-20, 21-100, 101+Bucketed failures by stable code.
load_failures.cloud_network_errorOptional0, 1, 2-5, 6-20, 21-100, 101+Bucketed failures by stable code.
load_failures.cloud_rejectedOptional0, 1, 2-5, 6-20, 21-100, 101+Bucketed failures by stable code.
load_failures.not_installedOptional0, 1, 2-5, 6-20, 21-100, 101+Bucketed failures by stable code.
load_failures.engine_errorOptional0, 1, 2-5, 6-20, 21-100, 101+Bucketed failures by stable code.
load_failures.no_tablesOptional0, 1, 2-5, 6-20, 21-100, 101+Bucketed failures by stable code.
load_failures.no_datasetsOptional0, 1, 2-5, 6-20, 21-100, 101+Bucketed failures by stable code.
load_failures.tenant_requiredOptional0, 1, 2-5, 6-20, 21-100, 101+Bucketed failures by stable code.
load_failures.load_errorOptional0, 1, 2-5, 6-20, 21-100, 101+Bucketed failures by stable code.
load_failures.output_missingOptional0, 1, 2-5, 6-20, 21-100, 101+Bucketed failures by stable code.
load_failures.output_out_of_dateOptional0, 1, 2-5, 6-20, 21-100, 101+Bucketed failures by stable code.
load_failures.unknown_commandOptional0, 1, 2-5, 6-20, 21-100, 101+Bucketed failures by stable code.
load_failures.unknown_optionOptional0, 1, 2-5, 6-20, 21-100, 101+Bucketed failures by stable code.

cli_session_ended: mcp

PropertyPresenceAllowed valuesQuestion answered
tool_call_countsRequiredObject with only the documented keys belowWhich MCP tool kinds are adopted? No names or arguments.
tool_call_counts.listRequired0, 1, 2-5, 6-20, 21-100, 101+Bucketed calls by built-in tool kind.
tool_call_counts.describeRequired0, 1, 2-5, 6-20, 21-100, 101+Bucketed calls by built-in tool kind.
tool_call_counts.queryRequired0, 1, 2-5, 6-20, 21-100, 101+Bucketed calls by built-in tool kind.
error_count_bucketRequired0, 1, 2-5, 6-20, 21-100, 101+How often do MCP sessions encounter errors?

cli_crash

Measure uncaught failures by stable class and code, with no messages or stacks.

PropertyPresenceAllowed valuesQuestion answered
commandRequiredinit, dev, mcp, generate, generate:types, generate:datasets, generate:manifest, login, logout, deploy, deployment:build, deployment:validate, deployment:release, deployment:submit, deployment:status, pull, diff, help, version, telemetry, unknownWhich command crashed?
exception_classRequiredError, TypeError, RangeError, SyntaxError, ReferenceError, URIError, EvalError, AggregateError, unknownWhich built-in exception classes need investigation?
error_codeRequiredunknown, connection_failed, auth_failed, entrypoint_not_found, compile_error, prompt_cancelled, validation_failed, cloud_network_error, cloud_rejected, not_installed, engine_error, no_tables, no_datasets, tenant_required, load_error, output_missing, output_out_of_date, unknown_command, unknown_optionWhich known failure caused the crash?

MCP client identity/version is excluded from v1 pending the privacy decision. Auth strategies are recorded only as none/configured/unknown, since user-supplied functions have no safe built-in type identifier.

Cache scopes are classified only as unscoped/tenant/explicit/unknown from configuration presence. Explicit scopes are user content and are never read into a payload.

Project IDs follow HQ-233: the CLI uses the shared global salt, then the ingest proxy re-keys the digest with a server-side HMAC secret before storage. A hash is a pseudonymous project signal, not proof of anonymity. Cloud accounts are never linked to install IDs.

On this page