Setting up RUM
In the previous recipe, we saw how to instrument a sample microservice application with Elastic APM agents. This recipe will show us how to extend our monitoring capabilities to not only observe server-side metrics but also directly capture user interactions from within the browser. This approach will provide insights into real user experiences, offering detailed performance data from the user’s perspective.
Getting ready
Ensure you have cloned the book’s GitHub repository.
Verify that a functional Docker engine is installed on your local machine.
For your Elastic Cloud deployment, note the saved password for our default user, elastic
, and Elasticsearch endpoint URL (refer to Chapter 1).
Confirm that no programs are running on the following ports of your local machine: 5000
, 5001
, 5002
, 3001
, and 9000
.
The snippets for this recipe can be found at the following link: https://github.com/PacktPublishing/Elastic-Stack-8.x-Cookbook/blob/main...