You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@skywalking.apache.org by wu...@apache.org on 2025/01/21 09:04:16 UTC

(skywalking) branch master updated: docs: update browser protocol (#12996)

This is an automated email from the ASF dual-hosted git repository.

wusheng pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/skywalking.git


The following commit(s) were added to refs/heads/master by this push:
     new 23beabe03e docs: update browser protocol (#12996)
23beabe03e is described below

commit 23beabe03eda7596bfafcc781783d39ff7c72d8c
Author: Fine0830 <fa...@gmail.com>
AuthorDate: Tue Jan 21 17:04:10 2025 +0800

    docs: update browser protocol (#12996)
---
 docs/en/api/browser-http-api-protocol.md | 29 ++++++++++++++++++++++++-----
 1 file changed, 24 insertions(+), 5 deletions(-)

diff --git a/docs/en/api/browser-http-api-protocol.md b/docs/en/api/browser-http-api-protocol.md
index fcf45389a0..3e3b626971 100644
--- a/docs/en/api/browser-http-api-protocol.md
+++ b/docs/en/api/browser-http-api-protocol.md
@@ -36,7 +36,7 @@ Input:
 
 OutPut:
 
-Http Status: 204
+HTTP Status: 204
 
 ### POST http://localhost:12800/browser/perfData/webVitals
 
@@ -57,7 +57,26 @@ Input:
 
 OutPut:
 
-Http Status: 204
+HTTP Status: 204
+
+### POST http://localhost:12800/browser/perfData/webInteractions
+
+Send a performance data object in JSON format. Since client-js 1.0.0, the following attached metrics are reported.
+
+Input:
+
+```json
+{
+  "service": "web",
+  "serviceVersion": "v0.0.1",
+  "pagePath": "/index.html",
+  "inpTime": 10,
+}
+```
+
+OutPut:
+
+HTTP Status: 204
 
 ### POST http://localhost:12800/browser/perfData/resources
 
@@ -80,7 +99,7 @@ Input:
 
 OutPut:
 
-Http Status: 204
+HTTP Status: 204
 
 ## Error Log Report
 
@@ -123,7 +142,7 @@ Input:
 
 OutPut:
 
-Http Status: 204
+HTTP Status: 204
 
 ### POST http://localhost:12800/browser/errorLog
 
@@ -148,4 +167,4 @@ Input:
 
 OutPut:
 
-Http Status: 204
+HTTP Status: 204