feat: Enable Skylight ActiveJob probe for background worker visibility (#1108)

* feat: enable Skylight instrumentation for ActiveJob

* Fix: Oops, load only in prod
This commit is contained in:
Serge L
2026-03-03 10:07:38 -05:00
committed by GitHub
parent 84bfe5b7ab
commit 947eb3fea9

View File

@@ -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