Skip to content

Commit ab600bc

Browse files
committed
[SVLS-7945] feat: Support TLS certificate for dogstatsd metrics flusher
1 parent 2b44db0 commit ab600bc

3 files changed

Lines changed: 7 additions & 4 deletions

File tree

bottlecap/Cargo.lock

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

bottlecap/Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -71,8 +71,8 @@ libdd-trace-utils = { git = "https://github.com/DataDog/libdatadog", rev = "73c6
7171
libdd-trace-normalization = { git = "https://github.com/DataDog/libdatadog", rev = "73c675b79f81978ee1190be6af0c5abec997e3b0" }
7272
libdd-trace-obfuscation = { git = "https://github.com/DataDog/libdatadog", rev = "73c675b79f81978ee1190be6af0c5abec997e3b0" }
7373
libdd-trace-stats = { git = "https://github.com/DataDog/libdatadog", rev = "73c675b79f81978ee1190be6af0c5abec997e3b0" }
74-
dogstatsd = { git = "https://github.com/DataDog/serverless-components", rev = "fd8b7a9bcec2f19b305bb74b7195ca3910538e5b", default-features = false }
75-
datadog-fips = { git = "https://github.com/DataDog/serverless-components", rev = "fd8b7a9bcec2f19b305bb74b7195ca3910538e5b", default-features = false }
74+
dogstatsd = { git = "https://github.com/DataDog/serverless-components", rev = "30a4a3495c805cd29dc2087ea32e96611eef49be", default-features = false }
75+
datadog-fips = { git = "https://github.com/DataDog/serverless-components", rev = "30a4a3495c805cd29dc2087ea32e96611eef49be", default-features = false }
7676
libddwaf = { version = "1.28.1", git = "https://github.com/DataDog/libddwaf-rust", rev = "d1534a158d976bd4f747bf9fcc58e0712d2d17fc", default-features = false, features = ["serde"] }
7777

7878
[dev-dependencies]

bottlecap/src/bin/bottlecap/main.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1622,6 +1622,7 @@ fn start_metrics_flushers(
16221622
aggregator_handle: metrics_aggr_handle.clone(),
16231623
metrics_intake_url_prefix: metrics_intake_url.expect("can't parse site or override"),
16241624
https_proxy: config.proxy_https.clone(),
1625+
ca_cert_path: config.tls_cert_file.clone(),
16251626
timeout: Duration::from_secs(config.flush_timeout),
16261627
retry_strategy: DsdRetryStrategy::Immediate(3),
16271628
compression_level: config.metrics_config_compression_level,
@@ -1651,6 +1652,7 @@ fn start_metrics_flushers(
16511652
aggregator_handle: metrics_aggr_handle.clone(),
16521653
metrics_intake_url_prefix: metrics_intake_url.clone(),
16531654
https_proxy: config.proxy_https.clone(),
1655+
ca_cert_path: config.tls_cert_file.clone(),
16541656
timeout: Duration::from_secs(config.flush_timeout),
16551657
retry_strategy: DsdRetryStrategy::Immediate(3),
16561658
compression_level: config.metrics_config_compression_level,

0 commit comments

Comments
 (0)