-
Notifications
You must be signed in to change notification settings - Fork 15
feat(profiling): Simplify exporter #1412
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
base: main
Are you sure you want to change the base?
Conversation
BenchmarksComparisonBenchmark execution time: 2025-12-19 00:23:17 Comparing candidate commit 8e585fe in PR branch Found 0 performance improvements and 1 performance regressions! Performance is the same for 56 metrics, 2 unstable metrics. scenario:single_flag_killswitch/rules-based
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
Group 16
Group 17
Group 18
Group 19
BaselineOmitted due to size. |
Codecov Report❌ Patch coverage is Additional details and impacted files@@ Coverage Diff @@
## main #1412 +/- ##
==========================================
- Coverage 71.51% 71.47% -0.05%
==========================================
Files 411 412 +1
Lines 66083 66093 +10
==========================================
- Hits 47260 47239 -21
- Misses 18823 18854 +31
🚀 New features to boost your workflow:
|
cda0942 to
a57bc38
Compare
a57bc38 to
1c7d697
Compare
40c9600 to
96f8a4e
Compare
96f8a4e to
0de659d
Compare
|
✅ Tests 🎉 All green!❄️ No new flaky tests detected 🔗 Commit SHA: 8e585fe | Docs | Datadog PR Page | Was this helpful? Give us feedback! |
Artifact Size Benchmark Reportaarch64-alpine-linux-musl
aarch64-apple-darwin
aarch64-unknown-linux-gnu
libdatadog-x64-windows
libdatadog-x86-windows
x86_64-alpine-linux-musl
x86_64-apple-darwin
x86_64-unknown-linux-gnu
|
0de659d to
7212159
Compare
69928f9 to
8d5d510
Compare
8d5d510 to
671cbf9
Compare
d7b6fd3 to
ce0b11d
Compare
ce0b11d to
a21802f
Compare
a21802f to
0506672
Compare
0506672 to
2ed49d7
Compare
| parking_lot = { version = "0.12", default-features = false } | ||
| prost = "0.13.5" | ||
| rand = "0.8" | ||
| reqwest = { git = "https://github.com/seanmonstar/reqwest", branch = "windows-named-pipes" , features = ["multipart", "rustls-tls"], default-features = false } |
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.
Should def wait before merging until this branch got merged and released by upstream
| // File dump endpoint (debugging) - uses platform-specific local transport | ||
| Some("file") => { | ||
| let output_path = libdd_common::decode_uri_path_in_authority(&endpoint.url) | ||
| .context("Failed to decode file path from URI")?; | ||
| builder = spawn_dump_server_with_builder(builder, output_path)?; | ||
| "http://localhost/v1/input".to_string() | ||
| } |
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.
Should we maybe "guard" this behind a feature flag? I like the idea of being able to dump HTTP request header and body to a file, but I am not sure we should have this in release builds. On the other hand, I have no hard feelings against and it seems cool to be able to debug this...
I am unsure.
Marked draft because we want Reqwest to merge named pipe support before we merge this
What does this PR do?
Motivation
The hyper code has to handle a lot of lower level issues and is therefore more complex.
This also simplifies the API: Instead of creating and then uploading a reqwest, there is a single
sendfunctionAdditional Notes
The API changes are as follows:
buildandsendsteps, avoiding creating unnecessary objectsOtherwise, the API should not substantially change