Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGitLab Bot <gitlab-bot@gitlab.com>2023-10-13 15:12:01 +0300
committerGitLab Bot <gitlab-bot@gitlab.com>2023-10-13 15:12:01 +0300
commit447ad69728c0cb35db1190694f29806cf7c59a88 (patch)
tree43bbb4de84f19663cc3a19c32e8585310f42672a /scripts
parentce79b3dd66d0e9616d547f90a93cce0b709407a3 (diff)
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'scripts')
-rw-r--r--scripts/internal_events/monitor.rb9
1 files changed, 9 insertions, 0 deletions
diff --git a/scripts/internal_events/monitor.rb b/scripts/internal_events/monitor.rb
index c7a261f62c3..b2ef924eb11 100644
--- a/scripts/internal_events/monitor.rb
+++ b/scripts/internal_events/monitor.rb
@@ -133,6 +133,15 @@ def generate_metrics_table
)
end
+begin
+ snowplow_data
+rescue Errno::ECONNREFUSED
+ puts "Could not connect to Snowplow Micro."
+ puts "Please follow these instruction to set up Snowplow Micro:"
+ puts "https://gitlab.com/gitlab-org/gitlab-development-kit/-/blob/main/doc/howto/snowplow_micro.md"
+ exit 1
+end
+
print "\e[?1049h" # Stores the original screen buffer
print "\e[H" # Moves the cursor home
begin