@apica-io/apica-rum
v1.0.0
Published
RUM browser instrumentation scripts
Readme
Apica RUM implementation based on OTEL Browser SDK and Web Vitals
- Build step
Need to use a build tool like parcel to get the final script
npx parcel build rum.js --dist-dir dist --no-source-maps
This can then be added to a page as below
This will launch auto instrumentation for the page and usage metrics will start ingestion
- Manual instrumentation
Manual instrumentation is not currently supported, though this can be easily made available by exporting the internal instrumentation meters to client scripts
- Code structure
At present entire script is in one file, in case the script grows the three signals (metrics, logs and traces) should be separated out to their own modules in separate files
