53
edits
(→telemetry.sync_bmk_validation_problems: added data to table) |
(→telemetry.sync_bmk_validation_problems: finished table and added table description) |
||
Line 202: | Line 202: | ||
==== telemetry.sync_bmk_validation_problems ==== | ==== telemetry.sync_bmk_validation_problems ==== | ||
This table was rolled-up using the following workbook: | |||
https://gist.github.com/kitcambridge/364f56182f3e96fb3131bf38ff648609 | |||
This table has a row for every validation problem detected during validation. | |||
'''Example:''' | |||
If a user has 4 different validation problems, we will log each problem in their own row. | |||
'''Logic used for format:''' | |||
This choice was made to avoid having endless amounts of columns representing each validation problem checked (which would mostly all be null) and to avoid having to add columns as we detect new types of validation problems. | |||
{| class="wikitable" | {| class="wikitable" | ||
Line 229: | Line 239: | ||
| status || row(sync varchar, service varchar) || The status of sync after completion, or null is both statuses record success. | | status || row(sync varchar, service varchar) || The status of sync after completion, or null is both statuses record success. | ||
|- | |- | ||
| engine_name || | | engine_name || varchar || Should always be '''bookmarks''' in this table. | ||
|- | |- | ||
| engine_status || varchar || The status of this engine after sync completed, or null if the status reflects success. | | engine_status || varchar || The status of this engine after sync completed, or null if the status reflects success. | ||
Line 235: | Line 245: | ||
| engine_failure_reason || row(name varchar, value varchar) || Details of any errors recorded during the sync of this engine, or null on success. | | engine_failure_reason || row(name varchar, value varchar) || Details of any errors recorded during the sync of this engine, or null on success. | ||
|- | |- | ||
| | | engine_has_problems || true/false || engine_has_problems is always going to be true in sync_bmk_validation_problems. Used to filter results out of all_engine_validation_results | ||
|- | |- | ||
| | | engine_validation_version || integer || Version of the validator used to get this data. | ||
|- | |- | ||
| | | engine_validation_checked || bigint || Number of records the validator checked in this engine. | ||
|- | |- | ||
| | | engine_validation_took || bigint || How long validation took for this engine. | ||
|- | |- | ||
| | | engine_validation_problem_name || varchar || Name of error recorded during the validation. Will never be null since this table only includes validation problems. | ||
|- | |- | ||
| | | engine_validation_problem_count || integer || Number of bookmarks afflicted by the problem during the validation check. | ||
|- | |- | ||
| | | run_start_date || integer || Date added to presto. (e.g. 20170331) | ||
|} | |} | ||
edits