You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@skywalking.apache.org by wu...@apache.org on 2020/02/03 03:32:52 UTC
[skywalking-data-collect-protocol] branch master updated: Add
Browser Error Category (#17)
This is an automated email from the ASF dual-hosted git repository.
wusheng pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/skywalking-data-collect-protocol.git
The following commit(s) were added to refs/heads/master by this push:
new 0cb7d90 Add Browser Error Category (#17)
0cb7d90 is described below
commit 0cb7d90d97b1f9478c041b0a2feb789580b6492f
Author: zhang-wei <pk...@outlook.com>
AuthorDate: Mon Feb 3 11:32:42 2020 +0800
Add Browser Error Category (#17)
* error category
* error category
---
browser/BrowserPerf.proto | 11 ++++++++++-
1 file changed, 10 insertions(+), 1 deletion(-)
diff --git a/browser/BrowserPerf.proto b/browser/BrowserPerf.proto
index b2729f2..ec3d011 100644
--- a/browser/BrowserPerf.proto
+++ b/browser/BrowserPerf.proto
@@ -46,7 +46,7 @@ message BrowserPerfData {
}
message BrowserErrorLog {
- string catalog = 1;
+ ErrorCategory category = 1;
string grade = 2;
string message = 3;
int32 line = 4;
@@ -57,6 +57,15 @@ message BrowserErrorLog {
int64 time = 8;
}
+enum ErrorCategory {
+ ajax = 0;
+ resource = 1;
+ vue = 2;
+ promise = 3;
+ js = 4;
+ unknown = 5;
+}
+
message PerfDetail {
// Unit of all time related field should be `ms`.
int32 redirectTime = 1;