Skip to content

Commit cce6d3a

Browse files
committed
add example default value for dd_url
1 parent 5fe42ab commit cce6d3a

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

bottlecap/src/config/env.rs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,8 @@ pub struct EnvConfig {
6565
// Metrics
6666
/// @env `DD_DD_URL`
6767
///
68+
/// @default `https://app.datadoghq.com`
69+
///
6870
/// The host of the Datadog intake server to send **metrics** to, only set this option
6971
/// if you need the Agent to send **metrics** to a custom URL, it overrides the site
7072
/// setting defined in "site". It does not affect APM, Logs, Remote Configuration,
@@ -73,6 +75,8 @@ pub struct EnvConfig {
7375
/// If `DD_DD_URL` and `DD_URL` are both set, `DD_DD_URL` is used in priority.
7476
pub dd_url: Option<String>,
7577
/// @env `DD_URL`
78+
///
79+
/// @default `https://app.datadoghq.com`
7680
pub url: Option<String>,
7781
/// @env `DD_ADDITIONAL_ENDPOINTS`
7882
///

0 commit comments

Comments
 (0)