Browser Protocol

Browser protocol describes the data format between skywalking-client-js and the backend.

Overview

Browser protocol is defined and provided in gRPC format, and also implemented in HTTP 1.1

Send performance data and error logs

You can send performance data and error logs using the following services:

  1. BrowserPerfService#collectPerfData for performance data format.
  2. BrowserPerfService#collectErrorLogs for error log format.

For error log format, note that:

  1. BrowserErrorLog#uniqueId should be unique in all distributed environments.