Skip to content

Commit

Permalink
Wrap the node info to metadata in the Access Log Protocol (#93)
Browse files Browse the repository at this point in the history
  • Loading branch information
mrproliu authored Jan 21, 2024
1 parent f2f3005 commit cc8aa8c
Showing 1 changed file with 14 additions and 2 deletions.
16 changes: 14 additions & 2 deletions ebpf/accesslog.proto
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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;
Expand Down

0 comments on commit cc8aa8c

Please sign in to comment.