File tree Expand file tree Collapse file tree 2 files changed +4
-5
lines changed
datadog-crashtracker/src/crash_info Expand file tree Collapse file tree 2 files changed +4
-5
lines changed Original file line number Diff line number Diff line change @@ -12,7 +12,7 @@ use ddcommon::Endpoint;
12
12
use http:: Uri ;
13
13
use serde:: Serialize ;
14
14
15
- const ERROR_INTAKE_AGENT_PATH : & str = "/evp_proxy/v4 /api/v2/errorsintake" ;
15
+ const ERROR_INTAKE_AGENT_PATH : & str = "/evp_proxy/v2 /api/v2/errorsintake" ;
16
16
const ERROR_INTAKE_DIRECT_PATH : & str = "/api/v2/errorsintake" ;
17
17
const ERROR_INTAKE_SUBDOMAIN : & str = "event-platform-intake" ;
18
18
@@ -563,8 +563,8 @@ mod tests {
563
563
assert_eq ! ( endpoint_9126. url. port_u16( ) , Some ( 9126 ) ) ;
564
564
assert_eq ! ( endpoint_9126. url. path( ) , ERROR_INTAKE_AGENT_PATH ) ;
565
565
566
- // This should be the URL that gets built for the test environment
567
- let expected_url = "http://localhost:9126/evp_proxy/v4 /api/v2/errorsintake" ;
566
+ // This should be the URL that gets built for the test environment (using v2 to match test agent)
567
+ let expected_url = "http://localhost:9126/evp_proxy/v2 /api/v2/errorsintake" ;
568
568
assert_eq ! ( endpoint_9126. url. to_string( ) , expected_url) ;
569
569
}
570
570
}
Original file line number Diff line number Diff line change @@ -10,8 +10,7 @@ pub const DEFAULT_DD_SITE: &str = "datadoghq.com";
10
10
pub const PROD_INTAKE_SUBDOMAIN : & str = "instrumentation-telemetry-intake" ;
11
11
12
12
const DIRECT_TELEMETRY_URL_PATH : & str = "/api/v2/apmtelemetry" ;
13
- // const AGENT_TELEMETRY_URL_PATH: &str = "/telemetry/proxy/api/v2/apmtelemetry";
14
- const AGENT_TELEMETRY_URL_PATH : & str = "/evp_proxy/v4/api/v2/errorsintake" ;
13
+ const AGENT_TELEMETRY_URL_PATH : & str = "/telemetry/proxy/api/v2/apmtelemetry" ;
15
14
16
15
#[ cfg( unix) ]
17
16
const TRACE_SOCKET_PATH : & str = "/var/run/datadog/apm.socket" ;
You can’t perform that action at this time.
0 commit comments