-
Notifications
You must be signed in to change notification settings - Fork 166
Collect trace_api.{requests,responses,errors} metrics in the background trace sender #2672
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 ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #2672 +/- ##
=========================================
Coverage 77.79% 77.80%
Complexity 2223 2223
=========================================
Files 226 226
Lines 26276 26339 +63
Branches 988 988
=========================================
+ Hits 20441 20492 +51
- Misses 5309 5321 +12
Partials 526 526
Flags with carried forward coverage won't be shown. Click here to find out more.
Continue to review full report in Codecov by Sentry.
|
BenchmarksBenchmark execution time: 2024-05-28 18:51:54 Comparing candidate commit 7bafb13 in PR branch Found 8 performance improvements and 6 performance regressions! Performance is the same for 164 metrics, 0 unstable metrics. scenario:ComposerTelemetryBench/benchTelemetryParsing-opcache
scenario:EmptyFileBench/benchEmptyFileOverhead
scenario:EmptyFileBench/benchEmptyFileOverhead-opcache
scenario:HookBench/benchHookOverheadInstallHookOnMethod
scenario:LaravelBench/benchLaravelOverhead
scenario:LaravelBench/benchLaravelOverhead-opcache
scenario:LogsInjectionBench/benchLogsInfoInjection-opcache
scenario:MessagePackSerializationBench/benchMessagePackSerialization-opcache
scenario:PDOBench/benchPDOBaseline
scenario:PDOBench/benchPDOOverhead-opcache
scenario:PDOBench/benchPDOOverheadWithDBM
scenario:PDOBench/benchPDOOverheadWithDBM-opcache
scenario:SymfonyBench/benchSymfonyOverhead
scenario:SymfonyBench/benchSymfonyOverhead-opcache
|
41b71fc to
2e84fcd
Compare
Direct leak of 24 byte(s) in 1 object(s) allocated from:
#0 0xffff8dfed43b in malloc (/usr/lib/aarch64-linux-gnu/libasan.so.5+0xcf43b)
#1 0xffff81eb8f4f in __cxa_thread_atexit_impl /home/circleci/datadog/tmp/build_extension/ext/ddtrace.c:560
#2 0xffff82ed7c8b in std::sys::unix::thread_local_dtor::register_dtor::ha7abe21b2e8f0491 library/std/src/sys/unix/thread_local_dtor.rs:31
#3 0xffff81ec332b in _dd_writer_loop /home/circleci/datadog/tmp/build_extension/ext/coms.c:1053
#4 0xffff8db7a7e3 in start_thread /build/glibc-tVuo8E/glibc-2.28/nptl/pthread_create.c:486
#5 0xffff8b16a70b (/lib/aarch64-linux-gnu/libc.so.6+0xcf70b)
SUMMARY: AddressSanitizer: 24 byte(s) leaked in 1 allocation(s).
2e84fcd to
42d8f71
Compare
42d8f71 to
369a6d3
Compare
Signed-off-by: Bob Weinand <bob.weinand@datadoghq.com>
pierotibou
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 funtionnaly speaking, just a comment about retries
| break; | ||
| } | ||
|
|
||
| // Collect metrics for the last performed HTTP query |
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.
Shouldn't we count the retries (in the for loop) as well ?
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.
I believe it's the same logic that in the sidecar. See DataDog/libdatadog#418 (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.
Indeed, forgot about that, thanks for raising. Though, I'm not sure it's the right move to make... Indeed, if we want to be able to compare, we need to make sure this is how things have been implemented in other languages. The thing is, maybe all languages have implemented it differently, so maybe having a simple solution works and we just need to know the differences. Anyway, let's discuss that with everyone.
5a0ba6a to
dd04d06
Compare
dd04d06 to
f43712a
Compare
c85afcc to
a93e2a5
Compare
739fb45 to
93fe542
Compare
172bb19 to
df4f69c
Compare
Signed-off-by: Bob Weinand <bob.weinand@datadoghq.com>
df4f69c to
57bff33
Compare
bwoebi
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.
Things seem green now :-)
0420b4d to
eebd844
Compare
Signed-off-by: Bob Weinand <bob.weinand@datadoghq.com>
eebd844 to
7bafb13
Compare
Description
Reviewer checklist