@request-metrics/browser-agent
TypeScript icon, indicating that this package has built-in type declarations

2.4.1 • Public • Published

Request Metrics Browser Agent

The browser agent for collecting web performance metrics.

You'll need a Request Metrics account to use this agent. If you don't have one, why not start a free trial today?

Quick Start

  1. Signup for Request Metrics and get your token.
  2. Add a dependency on Request Metrics with npm i @request-metrics/browser-agent --save
  3. Install the agent in your app:
import { RM } from '@request-metrics/browser-agent';
RM.install({ token: 'YOUR_TOKEN_HERE' });
  1. Test it out by loading any page in your website. You'll see calls to in.requestmetrics.com.
  2. You should see traffic on Request Metrics within a few seconds.

More Information

You can find more information about how to install and configure the agent in the Request Metrics Documentation. If you run into any trouble, let us know right away at hello@requestmetrics.com

Readme

Keywords

none

Package Sidebar

Install

npm i @request-metrics/browser-agent

Weekly Downloads

1,165

Version

2.4.1

License

SEE LICENSE IN LICENSE.md

Unpacked Size

200 kB

Total Files

6

Last publish

Collaborators

  • jordan.trackjs
  • eric.brandes
  • toddhgardner