Skip to content

Commit 00cb44a

Browse files
[mq] [skip ddci] working branch - merge f483992 on top of main at 040260c
{"baseBranch":"main","baseCommit":"040260c5d72ec011a36934cb77d203688990609e","createdAt":"2026-05-08T13:47:20.018442Z","headSha":"f4839926effe900277323a77b637066b1622f413","id":"e4f49d5a-b77c-4fa0-a312-3e7fc91deda7","priority":"200","pullRequestNumber":"1962","queuedAt":"2026-05-08T13:47:20.016715Z","status":"STATUS_QUEUED"}
2 parents 7743d32 + f483992 commit 00cb44a

8 files changed

Lines changed: 22 additions & 6 deletions

File tree

Cargo.lock

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

libdd-crashtracker/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ chrono = {version = "0.4", default-features = false, features = ["std", "clock",
5050
cxx = { version = "1.0", optional = true }
5151
errno = "0.3"
5252
libdd-common = { version = "4.0.0", path = "../libdd-common" }
53-
libdd-telemetry = { version = "4.0.0", path = "../libdd-telemetry" }
53+
libdd-telemetry = { version = "5.0.0", path = "../libdd-telemetry" }
5454
http = "1.1"
5555
libc = "0.2"
5656
nix = { version = "0.29", features = ["poll", "signal", "socket"] }

libdd-data-pipeline/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ tokio-util = "0.7.11"
3434
libdd-capabilities = { path = "../libdd-capabilities", version = "1.0.0" }
3535
libdd-common = { version = "4.0.0", path = "../libdd-common", default-features = false }
3636
libdd-shared-runtime = { version = "0.1.0", path = "../libdd-shared-runtime" }
37-
libdd-telemetry = { version = "4.0.0", path = "../libdd-telemetry", default-features = false, optional = true}
37+
libdd-telemetry = { version = "5.0.0", path = "../libdd-telemetry", default-features = false, optional = true}
3838
libdd-trace-protobuf = { version = "3.0.1", path = "../libdd-trace-protobuf" }
3939
libdd-trace-stats = { version = "2.0.0", path = "../libdd-trace-stats", default-features = false }
4040
libdd-trace-utils = { version = "3.0.1", path = "../libdd-trace-utils", default-features = false }

libdd-telemetry/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "libdd-telemetry"
3-
version= "4.0.0"
3+
version= "5.0.0"
44
description = "Telemetry client allowing to send data as described in https://docs.datadoghq.com/tracing/configure_data_security/?tab=net#telemetry-collection"
55
homepage = "https://github.com/DataDog/libdatadog/tree/main/libdd-telemetry"
66
repository = "https://github.com/DataDog/libdatadog/tree/main/libdd-telemetry"

libdd-telemetry/examples/tm-ping.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,8 @@ use libdd_telemetry::{
1717
fn build_app_started_payload() -> AppStarted {
1818
AppStarted {
1919
configuration: Vec::new(),
20+
dependencies: Vec::new(),
21+
integrations: Vec::new(),
2022
}
2123
}
2224

libdd-telemetry/src/data/payload.rs

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,8 @@ mod tests {
6666
seq_id: None,
6767
},
6868
],
69+
dependencies: Vec::new(),
70+
integrations: Vec::new(),
6971
});
7072

7173
let serialized = serde_json::to_value(&payload).unwrap();
@@ -88,7 +90,9 @@ mod tests {
8890
"config_id": null,
8991
"seq_id": null
9092
}
91-
]
93+
],
94+
"dependencies": [],
95+
"integrations": []
9296
}
9397
});
9498

@@ -490,6 +494,8 @@ mod tests {
490494
config_id: None,
491495
seq_id: None,
492496
}],
497+
dependencies: Vec::new(),
498+
integrations: Vec::new(),
493499
});
494500

495501
let serialized = serde_json::to_value(&payload).unwrap();
@@ -505,7 +511,9 @@ mod tests {
505511
"config_id": null,
506512
"seq_id": null
507513
}
508-
]
514+
],
515+
"dependencies": [],
516+
"integrations": []
509517
}
510518
});
511519

libdd-telemetry/src/data/payloads.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,8 @@ pub enum ConfigurationOrigin {
4848
#[derive(Serialize, Debug)]
4949
pub struct AppStarted {
5050
pub configuration: Vec<Configuration>,
51+
pub dependencies: Vec<Dependency>,
52+
pub integrations: Vec<Integration>,
5153
}
5254

5355
#[derive(Serialize, Debug)]

libdd-telemetry/src/worker/mod.rs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -673,13 +673,17 @@ impl TelemetryWorker {
673673
fn build_app_started(&mut self) -> data::AppStarted {
674674
data::AppStarted {
675675
configuration: self.data.configurations.unflushed().cloned().collect(),
676+
dependencies: self.data.dependencies.unflushed().cloned().collect(),
677+
integrations: self.data.integrations.unflushed().cloned().collect(),
676678
}
677679
}
678680

679681
fn app_started_sent_success(&mut self, p: &data::AppStarted) {
680682
self.data
681683
.configurations
682684
.removed_flushed(p.configuration.len());
685+
self.data.dependencies.removed_flushed(p.dependencies.len());
686+
self.data.integrations.removed_flushed(p.integrations.len());
683687
}
684688

685689
fn payload_sent_success(&mut self, payload: &data::Payload) {

0 commit comments

Comments
 (0)