Skip to content

Latest commit

 

History

History
34 lines (21 loc) · 1014 Bytes

File metadata and controls

34 lines (21 loc) · 1014 Bytes

Overview

This example shows how to use @opentelemetry/web with different plugins and setup to instrument your JavaScript code running in the browser.

Installation

$ # from this directory
$ npm install

Run the Application

$ # from this directory
$ npm start

By default, the application will run on port 8090.

To see the results, open the browser at http://localhost:8090/ and make sure you have the browser console open. The application is using the ConsoleSpanExporter and will post the created spans to the browser console.

The screen will look as follows:

Screenshot of the running example

Useful links

LICENSE

Apache License 2.0