docs: update browser protocol (#12996)

This commit is contained in:
Fine0830 2025-01-21 17:04:10 +08:00 committed by GitHub
parent 8fbc1eb95a
commit 23beabe03e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 24 additions and 5 deletions

View File

@ -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