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 d635d58  Enhance eBPF Access Log collecting data (#90)
d635d58 is described below

commit d635d586ed9e0c6e3e95c6da82ee23b91f583d51
Author: mrproliu <[email protected]>
AuthorDate: Mon Dec 25 16:39:33 2023 +0800

    Enhance eBPF Access Log collecting data (#90)
---
 ebpf/accesslog.proto | 18 ++++++++++++++----
 1 file changed, 14 insertions(+), 4 deletions(-)

diff --git a/ebpf/accesslog.proto b/ebpf/accesslog.proto
index 090249f..ef560a3 100644
--- a/ebpf/accesslog.proto
+++ b/ebpf/accesslog.proto
@@ -101,9 +101,10 @@ enum AccessLogConnectionTLSMode {
 message AccessLogKernelLog {
     oneof operation {
         AccessLogKernelConnectOperation connect = 1;
-        AccessLogKernelCloseOperation close = 2;
-        AccessLogKernelReadOperation read = 3;
-        AccessLogKernelWriteOperation write = 4;
+        AccessLogKernelAcceptOperation accept = 2;
+        AccessLogKernelCloseOperation close = 3;
+        AccessLogKernelReadOperation read = 4;
+        AccessLogKernelWriteOperation write = 5;
     }
 }
 
@@ -188,6 +189,13 @@ message AccessLogKernelConnectOperation {
     bool success = 3;
 }
 
+message AccessLogKernelAcceptOperation {
+    // Starting to accept socket timestamp
+    EBPFTimestamp startTime = 1;
+    // Finish accept operation timestamp
+    EBPFTimestamp endTime = 2;
+}
+
 message AccessLogKernelCloseOperation {
     // Starting to close the connection timestamp
     EBPFTimestamp startTime = 1;
@@ -278,8 +286,10 @@ message AccessLogKernelReadL2Metrics {
     uint32 totalPackageCount = 2;
     // total package size
     uint64 totalPackageSize = 3;
-    // total package from receive to enqueue(wait for reading) 
duration(nanosecond)
+    // total duration(nanosecond) of all data packets queued (waiting to be 
read).
     uint64 totalPackageToQueueDuration = 4;
+    // total duration(nanosecond) of all data packets read from the queue.
+    uint64 totalRcvPackageFromQueueDuration = 5;
 }
 
 message AccessLogKernelReadL3Metrics {

Reply via email to