feat: add health server and prometheus metrics to worker

This commit is contained in:
Adam Cooke
2024-02-23 22:51:38 +00:00
committed by Adam Cooke
parent 1ae8ef6401
commit a2eb70edf1
7 changed files with 167 additions and 3 deletions
+2
View File
@@ -5,4 +5,6 @@ $stdout.sync = true
$stderr.sync = true
require_relative "../config/environment"
HealthServer.start(name: "worker", default_port: 9090)
Worker::Process.new.run