From c76320ef5539e009133d6ae50a721e706cbf6d46 Mon Sep 17 00:00:00 2001 From: Fine0830 Date: Sat, 14 Sep 2024 11:34:51 +0800 Subject: [PATCH 1/3] update API Protocol --- docs/en/api/browser-http-api-protocol.md | 18 +++++++++++++++++- 1 file changed, 17 insertions(+), 1 deletion(-) diff --git a/docs/en/api/browser-http-api-protocol.md b/docs/en/api/browser-http-api-protocol.md index 6966c21f5b47..8dd598aaa1ef 100644 --- a/docs/en/api/browser-http-api-protocol.md +++ b/docs/en/api/browser-http-api-protocol.md @@ -31,7 +31,23 @@ Input: "sslTime": 10, "ttlTime": 10, "firstPackTime": 10, - "fmpTime": 10 + "isPV": true, +} +// or +{ + "service": "web", + "serviceVersion": "v0.0.1", + "pagePath": "/index.html", + "fmpTime": 10, + "clsTime": 10, + "lcpTime": 10, +} +// or +{ + "service": "web", + "serviceVersion": "v0.0.1", + "pagePath": "/index.html", + "fidTime": 10, } ``` From 83cdd53c9b64c26c08480288cd0246623f8a129e Mon Sep 17 00:00:00 2001 From: Fine0830 Date: Sat, 14 Sep 2024 11:36:58 +0800 Subject: [PATCH 2/3] update doc --- docs/en/changes/changes.md | 1 + 1 file changed, 1 insertion(+) diff --git a/docs/en/changes/changes.md b/docs/en/changes/changes.md index 3aa3cd7d130c..259b98224da2 100644 --- a/docs/en/changes/changes.md +++ b/docs/en/changes/changes.md @@ -90,5 +90,6 @@ * Move the Official Dashboard docs to marketplace docs. * Add marketplace introduction docs under `quick start` menu to reduce the confusion of finding feature docs. * Update Windows Metrics(Swap -> Virtual Memory) +* Update the browser API protocol doc. All issues and pull requests are [here](https://github.com/apache/skywalking/milestone/205?closed=1) From 52dc8e547f7e1a4848e102313ba75f27e7d0661d Mon Sep 17 00:00:00 2001 From: Fine0830 Date: Sat, 14 Sep 2024 13:24:57 +0800 Subject: [PATCH 3/3] Update docs/en/api/browser-http-api-protocol.md MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: 吴晟 Wu Sheng --- docs/en/api/browser-http-api-protocol.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/en/api/browser-http-api-protocol.md b/docs/en/api/browser-http-api-protocol.md index 8dd598aaa1ef..daaebea2d268 100644 --- a/docs/en/api/browser-http-api-protocol.md +++ b/docs/en/api/browser-http-api-protocol.md @@ -33,7 +33,7 @@ Input: "firstPackTime": 10, "isPV": true, } -// or +// Since client-js 1.0.0, the following attached metrics are reported. { "service": "web", "serviceVersion": "v0.0.1",