Handle missing Snowplow Micro in monitor
What does this MR do and why?
As pointed out in this comment, the monitor throws an exception if it cannot connect to Snowplow Micro.
This MR prints this message instead:
Could not connect to Snowplow Micro.
Please follow these instruction to set up Snowplow Micro:
https://gitlab.com/gitlab-org/gitlab-development-kit/-/blob/main/doc/howto/snowplow_micro.md
How to set up and validate locally
Try the following on master
and then on this branch afterwards
- Make sure Snowplow Micro is not running (
gdk status
) - If it is running, stop with using
gdk stop snowplow-micro
- Try to start the monitor
rails runner scripts/internal_events/monitor.rb i_code_review_user_create_mr
MR acceptance checklist
This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.
-
I have evaluated the MR acceptance checklist for this MR.