Skip to main content

DATADOG_API_URL

Constant DATADOG_API_URL 

Source
pub const DATADOG_API_URL: &str = "DATADOG_API_URL";
Expand description

Environment variable / settings key for an explicit Datadog API base URL.

When set, overrides DATADOG_SITE entirely — the client uses this URL verbatim instead of deriving https://api.{site}. Useful for:

  • Tests that point at a wiremock server (e.g. http://127.0.0.1:PORT).
  • On-prem / proxied Datadog installs that don’t match api.{site}.