Final answer:
To set up agentless Real User Monitoring (RUM) for an application, custom JavaScript injection is used. A JavaScript snippet provided by the RUM solution is embedded into the web application's pages to capture and send user interaction data to the monitoring servers.
Step-by-step explanation:
To configure agentless Real User Monitoring (RUM) for an application, the correct option is b) setting up custom JavaScript injection. This is often employed by Real User Monitoring solutions to monitor user interactions with web applications without the need for an agent installed on the server or the user's device. The process involves adding a snippet of JavaScript code to the header or footer of the web pages you wish to monitor. This script captures relevant performance data as users interact with the application and sends this information back to the RUM solution's processing servers.
The process for setting this up generally involves the following steps:
- Acquisition of the JavaScript snippet from your RUM provider.
- Insertion of this snippet into the HTML code of your web pages, often close to the opening <head> tag.
- Configuration of any required settings or parameters within the script to tailor the monitoring to your specific needs.
This approach enables the passive collection of data, ensuring that the real-world performance experienced by end-users is captured without the overhead of traditional agent-based monitoring systems.