未验证 提交 8ef271c9 编写于 作者: Z zhang-wei 提交者: GitHub

Move firstReportedError field to BrowserErrorLog (#20)

上级 37110723
...@@ -45,17 +45,15 @@ message BrowserPerfData { ...@@ -45,17 +45,15 @@ message BrowserPerfData {
// Page path in the browser, mostly it is URI, without parameter // Page path in the browser, mostly it is URI, without parameter
string pagePath = 4; string pagePath = 4;
int32 pagePathId = 5; int32 pagePathId = 5;
// Then the PV with error is only calculated when firstReportedError is true.
bool firstReportedError = 6;
// Unit of all time related field should be `ms`. // Unit of all time related field should be `ms`.
int32 redirectTime = 7; int32 redirectTime = 6;
int32 dnsTime = 8; int32 dnsTime = 7;
int32 reqTime = 9; int32 reqTime = 8;
// analysis dom tree time // analysis dom tree time
int32 domAnalysisTime = 10; int32 domAnalysisTime = 9;
int32 domReadyTime = 11; int32 domReadyTime = 10;
// page blank time // page blank time
int32 blankTime = 12; int32 blankTime = 11;
} }
message BrowserErrorLog { message BrowserErrorLog {
...@@ -77,6 +75,8 @@ message BrowserErrorLog { ...@@ -77,6 +75,8 @@ message BrowserErrorLog {
int32 col = 11; int32 col = 11;
string stack = 12; string stack = 12;
string errorUrl = 13; string errorUrl = 13;
// Then the PV with error is only calculated when firstReportedError is true.
bool firstReportedError = 14;
} }
enum ErrorCategory { enum ErrorCategory {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册