I am trying to implement RUM APM in our frontend application. We use React SPA and first thing I noticed is that only initial page load is being recorded. To overcome that I added request interceptor to axios config in order to create custom transaction for each request but unfortunately it doesn't work. Nothing is shown in the dashboard.
rum.js
import { init as initApm } from "@elastic/apm-rum";
const apm = initApm({
serviceName: "admin-dashboard",
serviceVersion: "v1.0.0",
environment: "local",
serverUrl: "-- NOT SHARING --",
});
export default apm;
By default the dashboard only shows page-load transactions that's why you might not be seeing anything else, could you check if you have available the "custom" option in the selector?
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.