twitter / rezolus

Systems performance telemetry
Apache License 2.0
1.56k stars 116 forks source link

Fix tcp/connection/accepted|initiated metrics for kernel 5.10 #266

Closed WUMUXIAN closed 2 years ago

WUMUXIAN commented 2 years ago

Problem

We have deployed Rezolus 2.15 on T3 canary instances and it showed that tcp/connection/accepted tcp/connection/initiated are not working

I upgraded my VM to the same kernel version as T3 instances and confirmed that these two metrics stops working on kernel 5.10.

Solution

Made changes to the code to make sure these two metrics are compatible to 5.10.

Result

The two metrics work correctly on my 5.4 kernel as well as 5.10 kernel now.