@openobserve/browser-rum
TypeScript icon, indicating that this package has built-in type declarations

0.2.11 • Public • Published

RUM Browser Monitoring

Openobserve Real User Monitoring (RUM) enables you to visualize and analyze the real-time performance and user journeys of your application's individual users.

Usage

To start collecting events, add @openobserve/browser-rum to your package.json file, then initialize it with:

import { openobserveRum } from '@openobserve/browser-rum'

openobserveRum.init({
  applicationId: '<OPENOBSERVE_APPLICATION_ID>',
  clientToken: '<OPENOBSERVE_CLIENT_TOKEN>',
  site: '<OPENOBSERVE_SITE>',
  organizationIdentifier: '<OPENOBSERVE_ORGANIZATION_IDENTIFIER>',
  service: 'my-web-application',
  env: 'production',
  version: '1.0.0',
  sessionSampleRate: 100,
  sessionReplaySampleRate: 100, // if not included, the default is 100
  trackResources: true,
  trackLongTasks: true,
  trackUserInteractions: true,
  apiVersion: 'v1',
  insecureHTTP: false,
})

Note: The trackUserInteractions parameter enables the automatic collection of user clicks in your application. Sensitive and private data contained in your pages may be included to identify the elements interacted with.

Readme

Keywords

none

Package Sidebar

Install

npm i @openobserve/browser-rum

Weekly Downloads

2,806

Version

0.2.11

License

Apache-2.0

Unpacked Size

847 kB

Total Files

349

Last publish

Collaborators

  • bhargav_oo
  • prabhatsharma