Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Lens][TSVB][Agg based] TSDB warning handling support for Lens, Agg b…
…ased and TSVB (elastic#136833) * start integrating TSDB into Lens * current state * make new type filter work * fix translations * handle warnings * clean up and make warnings better * split function list for referenced fields too and extend list of unsupported functions * improve warnings * fix a bug * add todo for utc timezone * adding TSDB support to DataViews * adding test * date_histogram: force fixed interval for tsdb rollups * fixing types * fixing types * fixing types * fixing types * handling edge cases * removing undefined entries from FieldSpec * renaming .meta property * enforce UTC timezone * isRolledUpField helper * updating snapshot * adjust fixed interval and utc timezone for timelion and tsvb * fixed interval mapping * fixing test * add showWarning to search service * add comments * add unit tests * test foo * cleanup * add s to property name in test * comments for api items * fixing test * use the warnings when calling showWarnings * change showWarning to just show a single warning * put handleWarnings on the request adapter * comment * simplify 1 * fix lens unit test * fix PR * remove duplicate identifier * remove underscoring for unused variables * revert inspector changes, extract the response warnings in the search service * fix bug * remove console.log * re-apply typescript fixes to app test code * declutter * add test, improve comments * fix some unexported public api items * include rawResponse in the warning structure * fix lint * tweak clean up example app * SearchResponseWarnings and SearchResponseWarningNotification * fix export bug * not include shardStats if there are no warnings * Update src/plugins/data/common/search/types.ts * fix duplicated entries * remove empty line * simplify SearchResponseWarnings interface * remove array copying * [CI] Auto-commit changed files from 'node scripts/eslint --no-cache --fix' * comments for api_docs * simplify per feedback * Pass callback to handleResponse in showWarnings * export more public types * update example to make possible to show shard failure * pr cleanup * eslint fix * allow example app to not show default warnings * move extractWarning and related types to inspector plugin * wip functional test of example app * fix test references * finish functional test * relocate extractWarnings back to search/fetch * fix test * remove need for isTimeout, isShardFailure * ts fix * improve test * Change showWarnings to accept the RequestAdapter * use showWarnings in vis_types/timeseries * more tests * use handle_warning name * fix ts * add reason field to SearchResponseWarning * fix component snapshot * update comments * test cleanup * fix test * ensure notification appears only once * fix and cleanup * fix ts * fix response.json bug * use top-level type, and lower-level reason.type * cleanup * change warning structure * change warning infrastructure * fix * allows to disable automatic handling of shard warnings on expressions * [CI] Auto-commit changed files from 'node scripts/precommit_hook.js --ref HEAD~1..HEAD --fix' * fix tests * fix tsconfig json * allows to disable automatic handling of shard warnings on expressions * fix tests * allows to disable automatic handling of shard warnings on expressions * disable warnings the right way * fix stuff and clean up * random cleanup * fix test * remove unused function * review comments * [CI] Auto-commit changed files from 'node scripts/precommit_hook.js --ref HEAD~1..HEAD --fix' * style warnings and switch to real error message Co-authored-by: ppisljar <[email protected]> Co-authored-by: Timothy Sullivan <[email protected]> Co-authored-by: Tim Sullivan <[email protected]> Co-authored-by: kibanamachine <[email protected]>
- Loading branch information