Skip to content

Commit e670e76

Browse files
authored
build(profiling): update to libdatadog v7 (#2605)
1 parent dc920e6 commit e670e76

File tree

4 files changed

+12
-11
lines changed

4 files changed

+12
-11
lines changed

Cargo.lock

Lines changed: 6 additions & 6 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

profiling/Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,8 @@ bumpalo = { version = "3.12", features = ["collections"] }
2020
cfg-if = { version = "1.0" }
2121
cpu-time = { version = "1.0" }
2222
crossbeam-channel = { version = "0.5", default-features = false, features = ["std"] }
23-
datadog-profiling = { git = "https://github.com/DataDog/libdatadog", tag = "v6.0.0" }
24-
ddcommon = { git = "https://github.com/DataDog/libdatadog", tag = "v6.0.0" }
23+
datadog-profiling = { git = "https://github.com/DataDog/libdatadog", tag = "v7.0.0" }
24+
ddcommon = { git = "https://github.com/DataDog/libdatadog", tag = "v7.0.0" }
2525
env_logger = { version = "0.10" }
2626
indexmap = { version = "2.2.0" }
2727
lazy_static = { version = "1.4" }

profiling/src/config.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -168,7 +168,7 @@ impl Default for AgentEndpoint {
168168
}
169169
}
170170

171-
impl TryFrom<AgentEndpoint> for datadog_profiling::exporter::Endpoint {
171+
impl TryFrom<AgentEndpoint> for ddcommon::Endpoint {
172172
type Error = anyhow::Error;
173173

174174
fn try_from(value: AgentEndpoint) -> Result<Self, Self::Error> {
@@ -179,7 +179,7 @@ impl TryFrom<AgentEndpoint> for datadog_profiling::exporter::Endpoint {
179179
}
180180
}
181181

182-
impl TryFrom<&AgentEndpoint> for datadog_profiling::exporter::Endpoint {
182+
impl TryFrom<&AgentEndpoint> for ddcommon::Endpoint {
183183
type Error = anyhow::Error;
184184

185185
fn try_from(value: &AgentEndpoint) -> Result<Self, Self::Error> {

profiling/src/profiling/uploader.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,8 @@ use crate::exception::EXCEPTION_PROFILING_EXCEPTION_COUNT;
44
use crate::profiling::{UploadMessage, UploadRequest};
55
use crate::{PROFILER_NAME_STR, PROFILER_VERSION_STR};
66
use crossbeam_channel::{select, Receiver};
7-
use datadog_profiling::exporter::{Endpoint, File};
7+
use datadog_profiling::exporter::File;
8+
use ddcommon::Endpoint;
89
use log::{debug, info, warn};
910
use serde_json::json;
1011
use std::borrow::Cow;

0 commit comments

Comments
 (0)