Skip to content

Commit 027ebfe

Browse files
committed
Manually update agent with pkt translation pkgs
Signed-off-by: Mohamed Mahmoud <[email protected]>
1 parent 9592b66 commit 027ebfe

File tree

18 files changed

+688
-335
lines changed

18 files changed

+688
-335
lines changed

go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ require (
1616
github.com/mitchellh/mapstructure v1.5.0
1717
github.com/netobserv/gopipes v0.3.0
1818
github.com/netobserv/loki-client-go v0.0.0-20220927092034-f37122a54500
19-
github.com/netobserv/netobserv-ebpf-agent v1.7.0-community.0.20241126155236-02d1817b5770
19+
github.com/netobserv/netobserv-ebpf-agent v1.7.0-community.0.20241213131924-a76ccd3fceb0
2020
github.com/netsampler/goflow2 v1.3.7
2121
github.com/pkg/errors v0.9.1
2222
github.com/prometheus/client_golang v1.20.5

go.sum

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -696,8 +696,8 @@ github.com/netobserv/gopipes v0.3.0 h1:IYmPnnAVCdSK7VmHmpFhrVBOEm45qpgbZmJz1sSW+
696696
github.com/netobserv/gopipes v0.3.0/go.mod h1:N7/Gz05EOF0CQQSKWsv3eof22Cj2PB08Pbttw98YFYU=
697697
github.com/netobserv/loki-client-go v0.0.0-20220927092034-f37122a54500 h1:RmnoJe/ci5q+QdM7upFdxiU+D8F3L3qTd5wXCwwHefw=
698698
github.com/netobserv/loki-client-go v0.0.0-20220927092034-f37122a54500/go.mod h1:LHXpc5tjKvsfZn0pwLKrvlgEhZcCaw3Di9mUEZGAI4E=
699-
github.com/netobserv/netobserv-ebpf-agent v1.7.0-community.0.20241126155236-02d1817b5770 h1:yMtrrgEXBxONkxrE/ASC5hAkT42edXy/XyQGydaNdD0=
700-
github.com/netobserv/netobserv-ebpf-agent v1.7.0-community.0.20241126155236-02d1817b5770/go.mod h1:20e1OPAs7h3k9PvNZWS9D6BnXEtkTk2LlfzD66uhvxY=
699+
github.com/netobserv/netobserv-ebpf-agent v1.7.0-community.0.20241213131924-a76ccd3fceb0 h1:D4pwGJYz1iEmPhFe/22zotNUbCJUSEbUnKhkCxntq+8=
700+
github.com/netobserv/netobserv-ebpf-agent v1.7.0-community.0.20241213131924-a76ccd3fceb0/go.mod h1:20e1OPAs7h3k9PvNZWS9D6BnXEtkTk2LlfzD66uhvxY=
701701
github.com/netsampler/goflow2 v1.3.7 h1:XZaTy8kkMnGXpJ9hS3KbO1McyrFTpVNhVFEx9rNhMmc=
702702
github.com/netsampler/goflow2 v1.3.7/go.mod h1:4UZsVGVAs//iMCptUHn3WNScztJeUhZH7kDW2+/vDdQ=
703703
github.com/nxadm/tail v1.4.4/go.mod h1:kenIhsEOeOJmVchQTgglprH7qJGnHDVpk1VPCcaMI8A=

pkg/pipeline/pipeline_test.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -213,7 +213,7 @@ parameters:
213213
DnsLatency: durationpb.New(someDuration),
214214
DnsId: 1,
215215
DnsFlags: 0x80,
216-
DnsErrno: 0,
216+
DnsErrno: 1,
217217
TimeFlowRtt: durationpb.New(someDuration),
218218
}},
219219
})
@@ -252,7 +252,7 @@ parameters:
252252
"DnsLatencyMs": float64(someDuration.Milliseconds()),
253253
"DnsId": float64(1),
254254
"DnsFlags": float64(0x80),
255-
"DnsErrno": float64(0),
255+
"DnsErrno": float64(1),
256256
"DnsFlagsResponseCode": "NoError",
257257
"TimeFlowRttNs": float64(someDuration.Nanoseconds()),
258258
}, capturedRecord)

vendor/github.com/netobserv/netobserv-ebpf-agent/pkg/decode/decode_protobuf.go

Lines changed: 41 additions & 28 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

vendor/github.com/netobserv/netobserv-ebpf-agent/pkg/ebpf/bpf_arm64_bpfel.go

Lines changed: 68 additions & 35 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Binary file not shown.

0 commit comments

Comments
 (0)