Skip to content

fix: Grafana observability stack + weather timeout + locale detection

Jérôme Revillard requested to merge fix/grafana-observability-generic into main

Generic fixes cherry-picked from release/el-salvador-ds-port

These fixes are not El Salvador-specific — they fix bugs present on main for all deployments.

Grafana observability stack (5 commits)

  • Merge datasource files + GF_PLUGINS_PREINSTALL_SYNC: resolves datasource provisioning crash caused by stale SQLite uid (Grafana matched by NAME → UPDATE → uid lookup failed). Merged 3 datasource files into one, fixed uid, replaced deprecated GF_INSTALL_PLUGINS with GF_PLUGINS_PREINSTALL_SYNC.
  • Consolidate dashboard providers: single provider, eliminates duplicate UIDs.
  • Add VictoriaLogs datasource: missing datasource for Service Logs dashboard.
  • Remove duplicate observability-stack-health dashboard: duplicate UID disabled provider write permissions, blocking ALL dashboard updates.
  • Remove always-on trace_id filter: _msg:~"trace_id=${trace_id:raw}" expanded to match only logs WITH trace_id → NO DATA for kong/nginx/postgres/redis.

Application fixes (2 commits)

  • Weather API timeout 5s → 10s: intermittent timeouts.
  • Dynamic locale detection: replaces hardcoded locale list.

Verification

  • Cherry-picked cleanly (1 auto-merge on docker-compose.yaml resolved automatically)
  • Prettier format check: passed

After merge

Rebase release/el-salvador-ds-port on main — git auto-skips these 7 commits via patch-id detection.

Merge request reports

Loading