rosyben commented on issue #13596:
URL: https://github.com/apache/skywalking/issues/13596#issuecomment-3599691889
web配置:
import ClientMonitor from 'skywalking-client-js';
ClientMonitor.setPerformance({
collector: 'http://127.0.0.1:6030',
service: 'ace',
serviceVersion: '1.0.0',
pagePath: location.href,
useWebVitals: true
});
post对象:
{
"pagePath": "http://localhost:6030/ace/environment/app",
"serviceVersion": "v1.0.0",
"service": "ace",
"lcpTime": 184,
"clsTime": 0.8822447102115916,
"fmpTime": 1844
}
请求headers:
{
"User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64)
AppleWebKit/537.36 (KHTML, like Gecko) Chrome/142.0.0.0 Safari/537.36",
"Connection": "keep-alive",
"Accept": "*/*",
"Accept-Encoding": "gzip, deflate, br",
"Content-Type": "application/json",
"Cookie": "token=<xxx>",
"Accept-Language": "zh-CN,zh;q=0.9",
"Cache-Control": "no-cache",
"Origin": "http://localhost:6030",
"Pragma": "no-cache",
"Referer": "http://localhost:6030/ace/environment/app",
"Sec-Fetch-Dest": "empty",
"Sec-Fetch-Mode": "cors",
"Sec-Fetch-Site": "same-origin",
"sec-ch-ua": "\"Chromium\";v=\"142\", \"Google Chrome\";v=\"142\", \"Not_A
Brand\";v=\"99\"",
"sec-ch-ua-mobile": "?0",
"sec-ch-ua-platform": "\"Windows\"",
"sw8": "<xxxx>"
}
url:http://localhost:6030/skywalking/browser/perfData/webVitals
method:post
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]