Add yabeda-actioncable metrics
This commit is contained in:
@@ -40,6 +40,7 @@ gem "sentry-ruby"
|
||||
gem "sentry-rails"
|
||||
gem "rails_structured_logging", bc: "rails-structured-logging"
|
||||
gem "yabeda"
|
||||
gem "yabeda-actioncable"
|
||||
gem "yabeda-activejob", github: "rosa/yabeda-activejob", branch: "support-end-time-in-seconds"
|
||||
gem "yabeda-gc"
|
||||
gem "yabeda-http_requests"
|
||||
|
||||
@@ -576,6 +576,11 @@ GEM
|
||||
anyway_config (>= 1.0, < 3)
|
||||
concurrent-ruby
|
||||
dry-initializer
|
||||
yabeda-actioncable (0.2.2)
|
||||
actioncable (>= 7.2)
|
||||
activesupport (>= 7.2)
|
||||
railties (>= 7.2)
|
||||
yabeda (~> 0.8)
|
||||
yabeda-gc (0.4.0)
|
||||
yabeda (~> 0.6)
|
||||
yabeda-http_requests (0.2.1)
|
||||
@@ -655,6 +660,7 @@ DEPENDENCIES
|
||||
webmock
|
||||
webrick
|
||||
yabeda
|
||||
yabeda-actioncable
|
||||
yabeda-activejob!
|
||||
yabeda-gc
|
||||
yabeda-http_requests
|
||||
|
||||
@@ -8,3 +8,8 @@ Yabeda::ActiveJob.install!
|
||||
|
||||
require "yabeda/solid_queue"
|
||||
Yabeda::SolidQueue.install!
|
||||
|
||||
Yabeda::ActionCable.configure do |config|
|
||||
# Fizzy relies primarily on Turbo::StreamsChannel
|
||||
config.channel_class_name = "ActionCable::Channel::Base"
|
||||
end
|
||||
|
||||
@@ -32,5 +32,10 @@ production: &production
|
||||
class: SQLiteBackupsJob
|
||||
schedule: every day at 05:00
|
||||
|
||||
# Metrics
|
||||
yabeda_actioncable:
|
||||
command: "Yabeda::ActionCable.measure"
|
||||
schedule: every 60 seconds
|
||||
|
||||
beta: *production
|
||||
staging: *production
|
||||
|
||||
Reference in New Issue
Block a user