There was an error while loading. Please reload this page.
1 parent f60a483 commit 286fe4bCopy full SHA for 286fe4b
src/report.js
@@ -15,7 +15,6 @@ function str2hex(str) {
15
16
exports.reportHttp = async function(context, { latency, method, path, statusCode }) {
17
try {
18
- context = JSON.parse(decodeURIComponent(context))
19
// 自定级监控上报的指标名只支持【a-zA-Z0-9_-】,所以把path进行转义上报
20
path = str2hex(path)
21
const ServiceType = 'monitor'
0 commit comments