kibana/x-pack/plugins/searchprofiler
Spencer 2e232c2e31
[@kbn/expect] "fork" expect.js into repo (#33761)
* [@kbn/expect] "fork" expect.js into repo

* [eslint] autofix references to expect.js

* [tslint] autofix all expect.js imports

* now that expect.js is in strict mode, avoid reassigning fn.length
2019-03-25 09:56:48 -07:00
..
public [@kbn/expect] "fork" expect.js into repo (#33761) 2019-03-25 09:56:48 -07:00
server [@kbn/expect] "fork" expect.js into repo (#33761) 2019-03-25 09:56:48 -07:00
index.js [uiExports/styleSheetPaths] avoid string concatenation for paths (#27471) 2018-12-20 14:58:13 -08:00
README.md

Profiler

A UI for the query and aggregation profiler in Elasticsearch

Development

Assuming you've checked out x-plugins next to kibana...

  • Run yarn kbn bootstrap
  • Run yarn start to watch for and sync files on change
  • Open a new terminal to run Kibana - use yarn start to launch it in dev mode
    • Kibana will automatically restart as files are synced
    • If you need debugging output, run DEBUG=reporting yarn start instead

If you have installed this somewhere other than via x-plugins, and next to the kibana repo, you'll need to change the pathToKibana setting in gulpfile.js

Testing

To run the server tests, change into x-plugins/kibana and run:

mocha --debug --compilers js:babel/register plugins/profiler/**/__tests__/**/*.js

--kbnServer.tests_bundle.pluginId