-
Notifications
You must be signed in to change notification settings - Fork 15
feat(profiling): Simpler API for profile exporter #1423
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
Codecov Report❌ Patch coverage is Additional details and impacted files@@ Coverage Diff @@
## main #1423 +/- ##
==========================================
- Coverage 71.41% 71.27% -0.15%
==========================================
Files 411 411
Lines 66028 65695 -333
==========================================
- Hits 47156 46824 -332
+ Misses 18872 18871 -1
🚀 New features to boost your workflow:
|
| #[no_mangle] | ||
| #[named] | ||
| #[must_use] | ||
| pub unsafe extern "C" fn ddog_prof_Exporter_set_timeout( |
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.
This is used in dd-trace-py here. If we choose to remove this, we should clearly document the breaking changes
| .collect() | ||
| } | ||
|
|
||
| /// If successful, builds a `ddog_prof_Exporter_Request` object based on the |
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.
Same as above; used in tracers currently, so clear documentation for breaking changes would be nice
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
|
What does this PR do?
Simplifies the FFI API for profiling exporter
Motivation
The API included unnecessary steps, removed them.
Additional Notes
Anything else we should know when reviewing?
How to test the change?
Existing tests