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 2024/05/09 15:54:41 UTC

(skywalking-data-collect-protocol) 01/01: Revert "Wrap the node info to metadata in the Access Log Protocol (#93)"

This is an automated email from the ASF dual-hosted git repository.

wusheng pushed a commit to branch revert-93-access-log-metadata
in repository https://gitbox.apache.org/repos/asf/skywalking-data-collect-protocol.git

commit 5f9bdf6dcea50fe84246bc301282bdeef19a3d3e
Author: 吴晟 Wu Sheng <wu...@foxmail.com>
AuthorDate: Thu May 9 23:54:36 2024 +0800

    Revert "Wrap the node info to metadata in the Access Log Protocol (#93)"
    
    This reverts commit cc8aa8ca4ee53a44487982a55762f72825824d73.
---
 ebpf/accesslog.proto | 16 ++--------------
 1 file changed, 2 insertions(+), 14 deletions(-)

diff --git a/ebpf/accesslog.proto b/ebpf/accesslog.proto
index de5477f..324094b 100644
--- a/ebpf/accesslog.proto
+++ b/ebpf/accesslog.proto
@@ -32,8 +32,8 @@ service EBPFAccessLogService {
 }
 
 message EBPFAccessLogMessage {
-    // metadata of access log, only not null when first message
-    EBPFAccessLogMetadata metadata = 1;
+    // current node information, only not null when first message or have update
+    EBPFAccessLogNodeInfo node = 1;
     // local process and remote process connection information
     AccessLogConnection connection = 2;
     // kernel level metrics
@@ -44,18 +44,6 @@ message EBPFAccessLogMessage {
     AccessLogProtocolLogs protocolLog = 4;
 }
 
-message EBPFAccessLogMetadata {
-    // current node information
-    EBPFAccessLogNodeInfo node = 1;
-    // policy for access logs
-    EBPFAccessLogPolicy policy = 2;
-}
-
-message EBPFAccessLogPolicy {
-    // which namespaces should be excluded to generate the connection
-    repeated string excludeNamespaces = 1;
-}
-
 message EBPFAccessLogNodeInfo {
     // Node name
     string name = 1;