@cryptotaxi247 / netdata-1 / commits / f8668ed16

Log missing user configuration directory at info level (#21969)

We correctly fallback to stock configuration directory in such cases.

vkalintiris committed Mar 18, 2026 at 23:52 UTC f8668ed16088f330802d590eb741dfe420a14598
1 file changed +4 -3
src/crates/netdata-otel/otel-plugin/src/chart_config.rs
+4 -3
@@ -241,10 +241,11 @@ impl ChartConfigManager {
241 pub fn load_user_configs<P: AsRef<std::path::Path>>(&mut self, config_dir: P) -> Result<()> {
242 let config_path = config_dir.as_ref();
243 if !config_path.exists() {
244 - return Err(anyhow::anyhow!(
245 - "Configuration directory does not exist: {}",
244 + tracing::info!(
245 + "user configuration directory does not exist: {} - using stock configs",
246 config_path.display()
247 - ));
247 + );
248 + return Ok(());
249 }
250 if !config_path.is_dir() {
251 return Err(anyhow::anyhow!(