tracing setup

This commit is contained in:
Lennart
2024-10-31 13:55:17 +01:00
parent 25ea348e9e
commit 9be551b7d4
3 changed files with 67 additions and 63 deletions

View File

@@ -25,7 +25,7 @@ pub enum AuthConfig {
Static(StaticUserStoreConfig),
}
#[derive(Debug, Deserialize, Serialize)]
#[derive(Debug, Deserialize, Serialize, Default)]
pub struct TracingConfig {
pub opentelemetry: bool,
}
@@ -36,5 +36,6 @@ pub struct Config {
pub auth: AuthConfig,
pub http: HttpConfig,
pub frontend: FrontendConfig,
#[serde(default)]
pub tracing: TracingConfig,
}