Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
19 commits
Select commit Hold shift + click to select a range
fc01a0b
Add `TracerSpan` C extension for Ruby-to-Rust span conversion
lloeki May 6, 2026
5941a9e
Add `TraceExporter` C extension wrapping libdatadog's trace exporter
lloeki May 6, 2026
b69c293
Add `Response` class for native trace transport results
lloeki May 6, 2026
08faaf4
Add `_native_send_traces` to complete the native trace export path
lloeki May 6, 2026
c8e2f34
Remove redundant `rb_global_variable` calls
lloeki May 7, 2026
8b3d60c
Use `char_slice_from_ruby_string` in `nullable_char_slice`
lloeki May 7, 2026
b98711b
Replace `SET_CONFIG` macro with `set_config_field` inline function
lloeki May 7, 2026
c9404f0
Replace `call_thread_check_ints` with `check_if_pending_exception`
lloeki May 7, 2026
e586099
Store response directly in `send_chunks_args_t`
lloeki May 7, 2026
6202204
Rename `a` to `args` in `send_chunks_without_gvl`
lloeki May 7, 2026
6ac9c84
Extract error code and free error inside GVL-released function
lloeki May 7, 2026
1e3fb45
Use keyword arguments for `_native_exporter_new`
lloeki May 7, 2026
75d201f
Move `Response` class from C to pure Ruby
lloeki May 7, 2026
cfe8aeb
Warn on silently skipped non-string meta and non-numeric metrics
lloeki May 7, 2026
4ea82ab
Use `rb_time_timespec` for time-to-nanoseconds conversion
lloeki May 7, 2026
bc7d499
Use `rb_big_pack` for 128-bit trace ID splitting
lloeki May 7, 2026
c69af02
Use `ddog_TracerSpanFields` for span construction
lloeki May 13, 2026
6b314ea
Pass span count as capacity hint to `begin_chunk`
lloeki May 13, 2026
bd141e3
Free `begin_chunk` error return to prevent leak
lloeki May 13, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions ext/libdatadog_api/init.c
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
#include "feature_flags.h"
#include "library_config.h"
#include "process_discovery.h"
#include "trace_exporter.h"

void ddsketch_init(VALUE core_module);
void di_init(VALUE datadog_module);
Expand All @@ -24,4 +25,7 @@ void DDTRACE_EXPORT Init_libdatadog_api(void) {
ddsketch_init(core_module);
feature_flags_init(core_module);
di_init(datadog_module);

VALUE tracing_module = rb_define_module_under(datadog_module, "Tracing");
trace_exporter_init(tracing_module);
}
Loading
Loading