|
@@ -177,9 +177,11 @@ async function clyRequest(method, url, reqData) {
|
|
|
let traceparent = `00-${newrelicData.d.tr}-${newrelicData.d.id}-00`;
|
|
let traceparent = `00-${newrelicData.d.tr}-${newrelicData.d.id}-00`;
|
|
|
|
|
|
|
|
let headers = gCaiLeHeaders;
|
|
let headers = gCaiLeHeaders;
|
|
|
- // headers.newrelic = base64encodeStr(JSON.stringify(newrelicData));
|
|
|
|
|
|
|
+ // 这三个参数不重要 可有可无
|
|
|
|
|
+ headers.newrelic = base64encodeStr(JSON.stringify(newrelicData));
|
|
|
headers.tracestate = tracestate;
|
|
headers.tracestate = tracestate;
|
|
|
headers.traceparent = traceparent;
|
|
headers.traceparent = traceparent;
|
|
|
|
|
+ // 重要的时这个appuid参数
|
|
|
// headers.apuid = 'sg282MjNFMbRl';
|
|
// headers.apuid = 'sg282MjNFMbRl';
|
|
|
|
|
|
|
|
let body = '';
|
|
let body = '';
|