Browser Protocol

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

Overview

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

Send performance data and error log

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

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

For error log format, there are some notices

  1. BrowserErrorLog#uniqueId should be unique in the whole distributed environments.