Skip to content

Commit

Permalink
Adding fields into access log protocol (#91)
Browse files Browse the repository at this point in the history
  • Loading branch information
mrproliu authored Jan 4, 2024
1 parent d635d58 commit 46d5558
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions ebpf/accesslog.proto
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,8 @@ message EBPFAccessLogNodeInfo {
repeated EBPFAccessLogNodeNetInterface netInterfaces = 2;
// System boot time
Instant bootTime = 3;
// Cluster name
string clusterName = 4;
}

message EBPFAccessLogNodeNetInterface {
Expand All @@ -69,6 +71,8 @@ message AccessLogConnection {
DetectPoint role = 3;
// is the connection using TLS or not
AccessLogConnectionTLSMode tlsMode = 4;
// application protocol type
AccessLogProtocolType protocol = 5;
}

message ConnectionAddress {
Expand Down Expand Up @@ -327,6 +331,11 @@ enum AccessLogKernelReadSyscall {
RecvMmsg = 5;
}

enum AccessLogProtocolType {
TCP = 0;
HTTP = 1;
}

message EBPFTimestamp {
oneof timestamp {
EBPFOffsetTimestamp offset = 1;
Expand Down

0 comments on commit 46d5558

Please sign in to comment.