I want to add the RUM scripts to kibana. I think that would be useful and fun. Can't seem to find out if it's possible and was looking for advice. Thanks!
While that's not officially supported, it's definitely a nice idea!
One way to do so would be to build Kibana yourself and add the agent directly to the bundle (https://www.elastic.co/guide/en/apm/agent/rum-js/current/getting-started.html#using-package-managers). In the repository it's explained how you can create your own build of Kibana: https://github.com/elastic/kibana/blob/master/CONTRIBUTING.md#testing-and-building
You could just add the code to a central file like
src/legacy/core_plugins/kibana/public/kibana.js and see whether it gets hooked up correctly. Let me know when you run into difficulties.
This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.