Skip to content

Commit b815a85

Browse files
committed
For testing with test tracer in staging
1 parent 72115d6 commit b815a85

File tree

2 files changed

+16
-13
lines changed

2 files changed

+16
-13
lines changed

src/native/Cargo.toml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -16,15 +16,15 @@ profiling = ["dep:datadog-profiling-ffi"]
1616

1717
[dependencies]
1818
anyhow = { version = "1.0", optional = true }
19-
datadog-crashtracker = { git = "https://github.com/DataDog/libdatadog", rev = "538a7f1c236f9c70ab91de6230b716807c721349", optional = true }
20-
datadog-ddsketch = { git = "https://github.com/DataDog/libdatadog", rev = "538a7f1c236f9c70ab91de6230b716807c721349" }
21-
datadog-library-config = { git = "https://github.com/DataDog/libdatadog", rev = "538a7f1c236f9c70ab91de6230b716807c721349" }
22-
datadog-log = { git = "https://github.com/DataDog/libdatadog", rev = "538a7f1c236f9c70ab91de6230b716807c721349" }
23-
data-pipeline = { git = "https://github.com/DataDog/libdatadog", rev = "538a7f1c236f9c70ab91de6230b716807c721349" }
24-
datadog-profiling-ffi = { git = "https://github.com/DataDog/libdatadog", rev = "538a7f1c236f9c70ab91de6230b716807c721349", optional = true, features = [
19+
datadog-crashtracker = { git = "https://github.com/DataDog/libdatadog", rev = "e1d89ece84c35adbd34743eb6a207bae1bd5d53d", optional = true }
20+
datadog-ddsketch = { git = "https://github.com/DataDog/libdatadog", rev = "e1d89ece84c35adbd34743eb6a207bae1bd5d53d" }
21+
datadog-library-config = { git = "https://github.com/DataDog/libdatadog", rev = "e1d89ece84c35adbd34743eb6a207bae1bd5d53d" }
22+
datadog-log = { git = "https://github.com/DataDog/libdatadog", rev = "e1d89ece84c35adbd34743eb6a207bae1bd5d53d" }
23+
data-pipeline = { git = "https://github.com/DataDog/libdatadog", rev = "e1d89ece84c35adbd34743eb6a207bae1bd5d53d" }
24+
datadog-profiling-ffi = { git = "https://github.com/DataDog/libdatadog", rev = "e1d89ece84c35adbd34743eb6a207bae1bd5d53d", optional = true, features = [
2525
"cbindgen",
2626
] }
27-
ddcommon = { git = "https://github.com/DataDog/libdatadog", rev = "538a7f1c236f9c70ab91de6230b716807c721349" }
27+
ddcommon = { git = "https://github.com/DataDog/libdatadog", rev = "e1d89ece84c35adbd34743eb6a207bae1bd5d53d" }
2828
pyo3 = { version = "0.25", features = ["extension-module", "anyhow"] }
2929
tracing = { version = "0.1", default-features = false }
3030
pyo3-ffi = "0.25"
@@ -34,7 +34,7 @@ cc = "1.2.39"
3434
pyo3-build-config = "0.25"
3535
pyo3-ffi = "0.25"
3636
cc = "1.2.39"
37-
build_common = { git = "https://github.com/DataDog/libdatadog", rev = "538a7f1c236f9c70ab91de6230b716807c721349", features = [
37+
build_common = { git = "https://github.com/DataDog/libdatadog", rev = "e1d89ece84c35adbd34743eb6a207bae1bd5d53d", features = [
3838
"cbindgen",
3939
] }
4040

src/native/data_pipeline/mod.rs

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -148,11 +148,14 @@ impl TraceExporterBuilderPy {
148148
heartbeat_ms: u64,
149149
runtime_id: String,
150150
) -> PyResult<Py<Self>> {
151-
slf.try_as_mut()?.enable_telemetry(Some(TelemetryConfig {
152-
heartbeat: heartbeat_ms,
153-
runtime_id: Some(runtime_id),
154-
debug_enabled: true,
155-
}));
151+
slf.try_as_mut()?.enable_telemetry(
152+
Some(TelemetryConfig {
153+
heartbeat: heartbeat_ms,
154+
runtime_id: Some(runtime_id),
155+
debug_enabled: true,
156+
})
157+
.unwrap(),
158+
);
156159
Ok(slf.into())
157160
}
158161

0 commit comments

Comments
 (0)