* use uiSettingsClient instead of angular config service * replace timefilter service with singleton * remove all other uses of timefilter service, get timefilter singleton working * remove Private from brush event * globalState * fix timefilter jest test * clean up rebase artifacts * lint errors * another lint error * fix broken functional test _shared_links * fix broken mocha test doc.js * fix service load order breaking status page * remove Provider from change_time_filter * another round of mocha test updates * convert create_brush_handler test to jest * fix kbnGlobalTimepicker toogle mocha test * remove _root_search_source - removed in another PR and somehow I added it back during rebase * better comments around Object.assign and proper js-docs format * use so listerners get cleaned up when scope is destroyed * listen to correct timefilter update event * update APM to use timefilter singleton * update angular scope when timefilter changes * fix APM jest test * add listenAndDigestAsync to listen.js * fix apm breadcrumbs jest test * move diffTime and diffInterval into timefilter * pass mode to updateFilter to resolve functional test failure * call registerTimefilterWithGlobalState from APM application * remove rootScope from kbn_global_timepicker * use to subscribe to timefilter in cases where results need to happen in digest async * spalger review changes * ensure monitoring timefilter callbacks are executed inside evalAsync * remove unneeded evalAsync calls around setTime |
||
---|---|---|
.. | ||
common | ||
public | ||
server | ||
.prettierrc | ||
index.js | ||
readme.md |
Documentation for APM in x-pack-kibana
Format with Prettier
npx prettier "./plugins/apm/**/*.js" --write
Run tests
node scripts/jest.js plugins/apm --watch
Update snapshots
node scripts/jest.js plugins/apm --updateSnapshot
Lint code
npx eslint ./plugins/apm
Ensure everything from master has been backported to 6.x
git fetch origin && git checkout 6.x && git diff origin/6.x..origin/master ./plugins/apm | git apply