Redirect internal events monitor users who call the monitor script incorrectly
What does this MR do and why?
I can never remember what the command to start the Internal Events Monitor is. To avoid opening the docs, I regularly try to run it with:
scripts/internal_events/monitor.rb event_name_1 event_name_2
ruby scripts/internal_events/monitor.rb event_name_1 event_name_2
This MR adds logic to print an informative error message with the correct command when the script is run outside of rails.
MR acceptance checklist
Please evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.
Screenshots or screen recordings
Before | After |
|
|
---|---|
|
|