I added a defensive measure for the spans to check if they are valid and ignore them if not. This should prevent us from generating bad data if we don't update offsets on time.
The upgrade to http2 0.24 is purposefully not done to confirm our tests pass for the old version. We can then follow-up with a PR to upgrade our http2 dependency.
Amazing!! I guess that so many years of coding in languages that automatically initialize the data to zero makes us to forget that C does not do it for us! 😅
I've made a few fixes and defensive changes with this PR:
Closes https://github.com/grafana/beyla/issues/737 Closes https://github.com/grafana/beyla/issues/746 Closes https://github.com/grafana/beyla/issues/742
These fixes need to be backported to 1.4.1.
The upgrade to http2 0.24 is purposefully not done to confirm our tests pass for the old version. We can then follow-up with a PR to upgrade our http2 dependency.