local_ydb_healthcheck
Run a read-only healthcheck for a YDB tenant or root database using the official SelfCheck path, returning issue counts, types, capped raw output, and overall health status.
Instructions
Read-only YDB monitoring healthcheck for the configured tenant or root database. Uses the official YDB CLI SelfCheck path, returns selfCheckResult, issue counts, issue types, capped raw output, and whether the database is healthy; a requested noCache/noMerge option rejected with the exact recognized two-line legacy parser signature is reported through optionResolution and warnings, while compatibilityFallback says whether a retry actually started. Use after local_ydb_status_report for database-level diagnostics.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| noCache | No | Request cache-bypass semantics for this healthcheck. Newer YDB CLIs receive --no-cache. A rejection matching the exact recognized two-line legacy parser signature is recorded in optionResolution and warnings; when the shared deadline permits an actual retry without that option, compatibilityFallback is true. | |
| noMerge | No | Request unmerged healthcheck issue entries. Newer YDB CLIs receive --no-merge. A rejection matching the exact recognized two-line legacy parser signature is recorded in optionResolution and warnings; when the shared deadline permits an actual retry without that option, compatibilityFallback is true. | |
| profile | No | Named profile from local-ydb.config.json. Defaults to config.defaultProfile. | |
| maxIssues | No | Maximum number of issue_log entries returned in the issues field. Counts still cover the full response. Defaults to 100. | |
| timeoutMs | No | Server-side YDB healthcheck timeout in milliseconds. Defaults to 120000. | |
| configPath | No | Absolute path to an explicit local-ydb config file. Missing, unreadable, oversized, or invalid explicit files fail closed instead of using defaults. | |
| databasePath | No | YDB database path to check. Defaults to the configured tenant path; only the configured tenant path or root database path are accepted. | |
| maxOutputBytes | No | Maximum UTF-8 bytes returned per raw stdout/stderr stream. Defaults to 65536. |