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 cc8aa8c  Wrap the node info to metadata in the Access Log Protocol 
(#93)
cc8aa8c is described below

commit cc8aa8ca4ee53a44487982a55762f72825824d73
Author: mrproliu <741550...@qq.com>
AuthorDate: Sun Jan 21 18:17:38 2024 +0800

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

diff --git a/ebpf/accesslog.proto b/ebpf/accesslog.proto
index 324094b..de5477f 100644
--- a/ebpf/accesslog.proto
+++ b/ebpf/accesslog.proto
@@ -32,8 +32,8 @@ service EBPFAccessLogService {
 }
 
 message EBPFAccessLogMessage {
-    // current node information, only not null when first message or have 
update
-    EBPFAccessLogNodeInfo node = 1;
+    // metadata of access log, only not null when first message
+    EBPFAccessLogMetadata metadata = 1;
     // local process and remote process connection information
     AccessLogConnection connection = 2;
     // kernel level metrics
@@ -44,6 +44,18 @@ 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;

Reply via email to