From 947eb3fea914ca80b67dd24dfd6a0d2f2df55f65 Mon Sep 17 00:00:00 2001 From: Serge L Date: Tue, 3 Mar 2026 10:07:38 -0500 Subject: [PATCH] feat: Enable Skylight ActiveJob probe for background worker visibility (#1108) * feat: enable Skylight instrumentation for ActiveJob * Fix: Oops, load only in prod --- config/application.rb | 3 +++ 1 file changed, 3 insertions(+) diff --git a/config/application.rb b/config/application.rb index 3a63072b2..1269f1aad 100644 --- a/config/application.rb +++ b/config/application.rb @@ -39,6 +39,9 @@ module Sure theme: [ "light", "dark" ] # available in view as params[:theme] } + # Enable Skylight instrumentation for ActiveJob (background workers) + config.skylight.probes << "active_job" if defined?(Skylight) + # Enable Rack::Attack middleware for API rate limiting config.middleware.use Rack::Attack