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/08/10 00:44:21 UTC

[skywalking-data-collect-protocol] branch master updated: add more performance detail (#31)

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 b2f381e  add more performance detail (#31)
b2f381e is described below

commit b2f381e63702bc43216ef5576637195102302c6e
Author: zhang-wei <pk...@outlook.com>
AuthorDate: Mon Aug 10 08:44:10 2020 +0800

    add more performance detail (#31)
---
 browser/BrowserPerf.proto | 35 +++++++++++++++++++++++++++--------
 1 file changed, 27 insertions(+), 8 deletions(-)

diff --git a/browser/BrowserPerf.proto b/browser/BrowserPerf.proto
index 793492d..eea162d 100644
--- a/browser/BrowserPerf.proto
+++ b/browser/BrowserPerf.proto
@@ -41,20 +41,39 @@ message BrowserPerfData {
     string service = 1;
     // Service version in browser is the Instance concept in the backend.
     string serviceVersion = 2;
-    // Perf data time
+    // Perf data time, set by the backend side.
     int64 time = 3;
     // Page path in browser is the endpoint concept in the backend
     // Page path in the browser, mostly it is URI, without parameter
     string pagePath = 4;
     // Unit of all time related field should be `ms`.
     int32 redirectTime = 5;
+    // DNS query time
     int32 dnsTime = 6;
-    int32 reqTime = 7;
-    // analysis dom tree time
-    int32 domAnalysisTime = 8;
-    int32 domReadyTime = 9;
-    // page blank time
-    int32 blankTime = 10;
+    // Time to first Byte
+    int32 ttfbTime = 7;
+    //  TCP connection time
+    int32 tcpTime = 8;
+    // Content transfer time
+    int32 transTime = 9;
+    // Dom parsing time
+    int32 domAnalysisTime = 10;
+    // First paint time or blank screen time
+    int32 fptTime = 11;
+    // Dom ready time
+    int32 domReadyTime = 12;
+    // Page full load time
+    int32 loadPageTime = 13;
+    // Synchronous load resources in the page
+    int32 resTime = 14;
+    // Only valid for HTTPS
+    int32 sslTime = 15;
+    // Time to interact
+    int32 ttlTime = 16;
+    // First pack time
+    int32 firstPackTime = 17;
+    // First Meaningful Paint
+    int32 fmpTime = 18;
 }
 
 message BrowserErrorLog {
@@ -63,7 +82,7 @@ message BrowserErrorLog {
     string service = 2;
     // Service version in browser is the Instance concept in the backend.
     string serviceVersion = 3;
-    // Error log time
+    // Error log time, set by the backend side.
     int64 time = 4;
     // Page path in browser is the endpoint concept in the backend
     // Page path in the browser, mostly it is URI, without parameter