-
Notifications
You must be signed in to change notification settings - Fork 56
Add support for _msearch, _bulk and _doc operations #853
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #853 +/- ##
==========================================
+ Coverage 46.27% 55.16% +8.88%
==========================================
Files 251 251
Lines 21483 21481 -2
==========================================
+ Hits 9942 11850 +1908
+ Misses 10899 8815 -2084
- Partials 642 816 +174
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
|
Forgot to mention, https://github.com/open-telemetry/opentelemetry-ebpf-instrumentation/blob/main/devdocs/features.md should be updated |
grcevski
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM! Great work, good to merge as soon as tests pass.
|
The shard-4 failure looks related, it's failing in the ES test. |
Let me investigate it! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nice!
|
Hi everyone, I've been doing some research on the tests that fail. |
edit: we are still looking for the root cause |
994b416 to
f0d594a
Compare
I'm good with that plan, let's disable the test if you'd like and continue on another PR. |
|
I can also take a look at the BPF logs to see if anything is weird, unix_stream_sendmsg should be triggering for unix socks, I wonder if another traffic somehow passes through there and it's impacting this code path. |
Hi @grcevski, my comment on the |
|
No problem, let me know what you want to do. I re-ran the test one more time to see if it passes and it failed again in the same spot. I haven't had time today to look into it to see if I can spot the issue. I'm at a company offsite this week, but I'll try tomorrow. |
1a214e2 to
7c00bb1
Compare
|
Increasing the timeout seems to have helped. The integration tests passed and the only failure seems a compile issue of unit tests. The k8s netolly test was a temporary issue and I've re-started it. |
Hi @grcevski we tried increasing the timeout but the tests still failed so we decided to comment out the call to the Basically, we discovered that the Unfortunately we were unable to understand why this happens, I tried several times to run them locally and they always pass and I can see the span for the I would like to try just one last thing to test the |
7c00bb1 to
0ac0f63
Compare
…ements Signed-off-by: Giuseppe Ognibene <[email protected]>
0ac0f63 to
2f0bb21
Compare
|
Hm okay, one thing to try is to set high_request_volume to be true for the test, which will make us terminate the response right away, rather than waiting. I noticed a flaky behaviour caused by this last week, I haven't been able to look into it yet. We have userspace code that checks for stuck requests, but I suspect it doesn't work for some reason. |
|
Apart from one test not related to PR everything works. To confirm that the spans are created correctly, we only check if the Elasticsearch server responds in a way that OBI can check the header and labels the traffic as ES. Therefore, the spans are still created correctly. However, I still can't understand why the Elasticsearch server in CI doesn't respond to POSTs of the |
This PR continues the work done in #801 and it:
_msearch,_bulkand_docElasticsearch operations.extractDBQueryTextfunction: we just return the body and we don't check if it's a valid JSON because from an observability point of view it is still an Elasticsearch request/response. This way, we gain performance and provide the user with the query of the request.