Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
20 commits
Select commit Hold shift + click to select a range
893b467
wip: first draft
Leiyks Jun 12, 2026
4ebccd9
chore: drop integration analytics
Leiyks Jul 16, 2026
3c2c3c8
feat(tracer): align C span code with v1-compatible stub API
Leiyks Jul 17, 2026
d4ff654
fix(config): regenerate supported-configurations.json after dropping …
Leiyks Jul 20, 2026
222567d
fix(tracer): drop redundant env/version redeclaration on RootSpanData
Leiyks Jul 20, 2026
ee993e9
fix(tracer): initialize SpanData/SpanStack attributes to empty array …
Leiyks Jul 20, 2026
45fad2e
test: align tests with per-integration analytics removal
Leiyks Jul 20, 2026
32d4d08
chore(tracer): trim verbose comments added by span-consistency work
Leiyks Jul 21, 2026
6f268b9
chore(signals): drop stale TODO on legacy backtrace handler
Leiyks Jul 22, 2026
5f105bf
feat(tracer): deprecate App Analytics API to a no-op
Leiyks Jul 27, 2026
a51a6a5
chore(libdatadog): bump submodule to v1 sidecar (#2156)
Leiyks Aug 3, 2026
e9635f9
chore: bump libdatadog to v1 send FFI + regenerate headers
Leiyks Aug 3, 2026
22520b4
feat(tracer): gate trace flush on DD_TRACE_AGENT_PROTOCOL_VERSION for…
Leiyks Aug 3, 2026
8235cf2
feat(tracer): emit native span links/events on the v1 path
Leiyks Aug 3, 2026
3191f42
feat(tracer): negotiate v1 via agent /info with v04 fallback
Leiyks Aug 3, 2026
afc4e46
chore: regenerate supported-configurations.json for DD_TRACE_AGENT_PR…
Leiyks Aug 4, 2026
318ff43
chore(tracer): tighten v1 comments
Leiyks Aug 5, 2026
0d3d03d
chore: regenerate cbindgen headers and Cargo.lock for libdatadog v1 FFI
Leiyks Aug 24, 2026
409a01a
feat(tracer): build & send native v1 traces on the sidecar path
Leiyks Aug 26, 2026
24cdec1
refactor(serializer): drop hand-written v1 macro FFI header
Leiyks Aug 26, 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
40 changes: 40 additions & 0 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,8 @@ inherits = "release"
# inheritance against this manifest when built as path dependencies. Keep this
# list in sync with libdatadog's own `[workspace.dependencies]`; libdatadog
# #2253 consolidated `anyhow`, `serde`, `tokio` and `tracing` to the workspace
# level, so they are mirrored here too.
# level, and later work moved the rest of libdatadog's shared deps there too, so
# the full list is mirrored here.
[workspace.dependencies]
allocator-api2 = { version = "0.2.21", default-features = false }
anyhow = { version = "1.0", default-features = false }
Expand Down
2 changes: 1 addition & 1 deletion components-rs/agent_info.rs
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@

use crate::stats::apply_concentrator_config;
use datadog_sidecar::service::agent_info::AgentInfoReader;
use libdd_common_ffi::slice::CharSlice;
use libdd_common_ffi::slice::{AsBytes, CharSlice};
use libdd_data_pipeline::agent_info::schema::AgentInfoStruct;
use std::ffi::c_char;
use std::ffi::CString;
Expand Down
20 changes: 20 additions & 0 deletions components-rs/common.h
Original file line number Diff line number Diff line change
Expand Up @@ -437,6 +437,7 @@ typedef enum ddog_RemoteConfigProduct {
DDOG_REMOTE_CONFIG_PRODUCT_FFE_FLAGS,
DDOG_REMOTE_CONFIG_PRODUCT_LIVE_DEBUGGING,
DDOG_REMOTE_CONFIG_PRODUCT_LIVE_DEBUGGING_SYMBOL_DB,
DDOG_REMOTE_CONFIG_PRODUCT_DEBUG,
} ddog_RemoteConfigProduct;

typedef enum ddog_SpanProbeTarget {
Expand Down Expand Up @@ -1208,6 +1209,11 @@ typedef struct ddog_RuntimeMetadata ddog_RuntimeMetadata;

typedef struct ddog_ShmHandle ddog_ShmHandle;

/**
* Builds a native V1 [`TracerPayloadBytes`] while interning every string once.
*/
typedef struct ddog_TracerPayloadV1Builder ddog_TracerPayloadV1Builder;

typedef struct ddog_NativeFile {
struct ddog_PlatformHandle_File *handle;
} ddog_NativeFile;
Expand Down Expand Up @@ -1352,6 +1358,20 @@ typedef struct ddog_SenderParameters {
ddog_CharSlice url;
} ddog_SenderParameters;

/**
* Payload-level tracer metadata for the V1 send path that is NOT already carried by the sender's
* `tracer_headers_tags`. The lang/lang_version/lang_interpreter/lang_vendor/tracer_version and
* container_id fields live in `SenderParameters::tracer_headers_tags` and are routed from there,
* so they are not duplicated here.
*/
typedef struct ddog_TracerMetadataV1 {
ddog_CharSlice hostname;
ddog_CharSlice env;
ddog_CharSlice app_version;
ddog_CharSlice runtime_id;
ddog_CharSlice git_commit_sha;
} ddog_TracerMetadataV1;

typedef enum ddog_crasht_BuildIdType {
DDOG_CRASHT_BUILD_ID_TYPE_GNU,
DDOG_CRASHT_BUILD_ID_TYPE_GO,
Expand Down
Loading