Move telemetry configuration into YAML

This commit is contained in:
2026-10-28 14:50:06 +00:00
parent 467624b747
commit b8ee10e7b2
6 changed files with 467 additions and 34 deletions
+2 -1
View File
@@ -617,7 +617,7 @@ mod tests {
};
use super::*;
use crate::config::{AclConfig, Action, RuleConfig, UserConfig};
use crate::config::{AclConfig, Action, RuleConfig, TelemetryConfig, UserConfig};
#[test]
fn validates_absolute_http_targets() {
@@ -871,6 +871,7 @@ mod tests {
listen_addr: address,
connect_timeout: Duration::from_secs(2),
upstream_timeout: Duration::from_secs(2),
telemetry: TelemetryConfig::default(),
acl: Arc::new(acl),
});
let task = tokio::spawn(async move {