mirror of
https://github.com/lennart-k/rustical.git
synced 2026-01-30 22:28:22 +00:00
tracing setup
This commit is contained in:
@@ -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,
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user