Updating guides
Dawarich is a rapidly evolving project, and some changes may break compatibility with older versions. This page will serve as a record of the breaking changes and migration paths. Instructions for each version assume that you are updating from the previous version.
After each update, please make sure there is no jobs running in the Sidekiq interface (/sidekiq). If there are, please wait for them to finish. Once all jobs are finished, you can proceed with the update.
1.7.7
This release migrates the Prometheus metrics backend from discourse/prometheus_exporter to Yabeda. If you scrape Dawarich with Prometheus, you must update your scrape configuration, environment variables, and any dashboards or alerts built on the old metric names.
Scrape target
Dawarich now serves metrics in-process — no separate exporter container. Prometheus scrapes a single endpoint on dawarich_app:
scrape_configs:
- job_name: dawarich
metrics_path: /metrics
basic_auth:
username: prometheus # value of METRICS_USERNAME
password: prometheus # value of METRICS_PASSWORD
static_configs:
- targets: ['dawarich_app:3000']
Basic auth is now required. Set METRICS_USERNAME and METRICS_PASSWORD on both dawarich_app and dawarich_sidekiq. Requests without valid credentials return 401.
If Sidekiq is unreachable during a scrape, the web container returns its own metrics only and logs a warning — Prometheus sees a momentary gap in sidekiq_* series rather than a failed scrape.