oxios_kernel/
telemetry_stub.rs1use anyhow::Result;
6
7#[derive(Debug, Clone)]
9pub struct TelemetryConfig {
10 pub enabled: bool,
12 pub endpoint: Option<String>,
14 pub service_name: String,
16}
17
18impl Default for TelemetryConfig {
19 fn default() -> Self {
20 Self {
21 enabled: false,
22 endpoint: None,
23 service_name: "oxios".into(),
24 }
25 }
26}
27
28pub fn init_telemetry_layers(
30) -> Result<Vec<Box<dyn tracing_subscriber::Layer<tracing_subscriber::Registry> + Send + Sync>>> {
31 Ok(vec![])
32}