pub fn observability(&self) -> anyhow::Result<ObservabilityConfig> {
        let schema = ConfigSchema::new(&ObservabilityConfig::DESCRIPTION, "observability");
        let mut repo = smart_config::ConfigRepository::new(&schema).with_all(self.0.clone());
        repo.deserializer_options().coerce_variant_names = true;
        // - `unwrap()` is safe: `Self` is the only top-level config, so an error would require for it to have a recursive definition.
        // - While logging is not enabled at this point, we use `log_all_errors()` for more intelligent error summarization.
        repo.single().unwrap().parse().map_err(log_all_errors)
    }
Returns the observability config. It should be used to install observability early in the executable lifecycle.
core/lib/config/src/sources.rs