kibana/x-pack/plugins/apm
Nathan Reese 2341661cd8
Replace timefilter angular service with singleton (#19852)
* 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
2018-06-26 10:29:41 -06:00
..
common Migrate x-pack-kibana source to kibana 2018-04-24 13:48:10 -07:00
public Replace timefilter angular service with singleton (#19852) 2018-06-26 10:29:41 -06:00
server [APM] Fix missing _debug validator (#19639) 2018-06-03 22:43:29 +02:00
.prettierrc Migrate x-pack-kibana source to kibana 2018-04-24 13:48:10 -07:00
index.js Migrate x-pack-kibana source to kibana 2018-04-24 13:48:10 -07:00
readme.md Migrate x-pack-kibana source to kibana 2018-04-24 13:48:10 -07:00

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