-
Notifications
You must be signed in to change notification settings - Fork 15
fix(tracer-flare): fix design of TracerFlareManager #1186
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 #1186 +/- ##
==========================================
+ Coverage 71.88% 71.97% +0.09%
==========================================
Files 356 356
Lines 56691 56787 +96
==========================================
+ Hits 40750 40875 +125
+ Misses 15941 15912 -29
🚀 New features to boost your workflow:
|
BenchmarksComparisonBenchmark execution time: 2025-10-13 13:15:35 Comparing candidate commit 0cf6047 in PR branch Found 0 performance improvements and 2 performance regressions! Performance is the same for 51 metrics, 2 unstable metrics. scenario:normalization/normalize_service/normalize_service/[empty string]
CandidateCandidate benchmark detailsGroup 1
Group 2
Group 3
Group 4
Group 5
Group 6
Group 7
Group 8
Group 9
Group 10
Group 11
Group 12
Group 13
Group 14
Group 15
BaselineOmitted due to size. |
Artifact Size Benchmark Reportaarch64-alpine-linux-musl
aarch64-unknown-linux-gnu
libdatadog-x64-windows
libdatadog-x86-windows
x86_64-alpine-linux-musl
x86_64-unknown-linux-gnu
|
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.
Some nits about docs and naming but LGTM
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.
Conditional LGTM, providing you address @VianneyRuhlmann's comments / suggestions. In particular setting tracer_flare.collecting = false; on Unset seems important.
|
/merge |
|
View all feedbacks in Devflow UI.
The expected merge time in
|
What does this PR do?
Fix the use of the
AGENT_CONFIGproduct in the tracer flare design.Remove the
statefield of theTracerFlareManagerand replaced it with a simplecollectingboolean field.Added arguments
log_levelandsend_actionfor thezip_and_sendfunction to let the language tell us what log level is on when creating the flare, and give theAGENT_TASKthrough the action.Added a priority system to decide which action should happen first if several changes are received.
Made the
LogLevelenum sortable (so log levels can be compared).How to test the change?
Updated and added more tests to cover new logic and behaviors.