Document runs read as errors from v2.28
Merged
YO
3d ago+22+22+01234567890123456789-22-22-01234567890123456789
Summary
The monitoring docs use cloud.report: runs as the config example and say it sends no error messages. From v2.28 (dagucloud/dagu#4088), runs is read as errors, so a new user copying the example would send error messages without knowing.
Changes
- Config example and env var:
runs→errors. - Level table:
runsis listed as "same aserrorsfrom v2.28; before that, health and run status". - Web UI steps: two choices, and the dialog now links to What Is Sent. The removed "Show why runs fail" notice is replaced by the v2.28 warning for servers still at
runs. - Error messages: sent at
errors, and atrunsfrom v2.28. To keep them back, choosehealth. - CLI reference:
--report errors|health|off. - Alerts page: "any level but
off" or "errorsorruns" instead ofrunsalone.
Notes
Merge after dagucloud/dagu#4088 merges. The version (v2.28) assumes that change ships in the next minor release.
Summary by cubic
Updates the monitoring docs for v2.28, where the runs report level is read as errors and sends error messages. The docs previously used runs as the config example and described it as sending no error messages, so a new user copying the example would send them without knowing.
- Config example and env var now use
errors; the CLI reference dropsruns. - The level table marks
runsas "same aserrorsfrom v2.28". - Alert requirements and the error-messages section now reflect that
runscarries error messages from v2.28, sohealthis the way to keep them back.
Summary by CodeRabbit
- Documentation
- Clarified that in v2.28 and later, the
runsreporting level is treated aserrorsand includes run status, timing, failed-step names, and error messages. - Updated monitoring guidance to reflect which reporting levels provide workflow, schedule, worker, and queue alerts.
- Revised CLI, configuration, and web UI examples to reflect available reporting levels and explain how to avoid sending both errors and run status.
- Clarified that in v2.28 and later, the