Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
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
12 changes: 0 additions & 12 deletions .changesets/fix_bryn_datadog_timeout.md

This file was deleted.

9 changes: 1 addition & 8 deletions apollo-router/src/plugins/telemetry/tracing/datadog.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@

use std::fmt::Debug;
use std::fmt::Formatter;
use std::time::Duration;

use ahash::HashMap;
use ahash::HashMapExt;
Expand Down Expand Up @@ -197,13 +196,7 @@ impl TracingConfigurator for Config {
.expect("cargo version is set as a resource default;qed")
.to_string(),
)
.with_http_client(
reqwest::Client::builder()
// https://github.com/open-telemetry/opentelemetry-rust-contrib/issues/7
// Set the idle timeout to something low to prevent termination of connections.
.pool_idle_timeout(Duration::from_millis(1))
.build()?,
)
.with_http_client(reqwest::Client::builder().build()?)
.with_trace_config(common)
.build_exporter()?;

Expand Down