log Notification db table size (#5920) [deploy]
This commit is contained in:
parent
fd5643bc9d
commit
a972c8b892
1 changed files with 1 additions and 1 deletions
|
|
@ -4,7 +4,7 @@ module Metrics
|
|||
sidekiq_options queue: :low_priority, retry: 10
|
||||
|
||||
def perform
|
||||
models = [User, Article, Organization, Comment, Podcast, ClassifiedListing, PageView]
|
||||
models = [User, Article, Organization, Comment, Podcast, ClassifiedListing, PageView, Notification]
|
||||
models.each do |model|
|
||||
estimate = model.estimated_count
|
||||
Rails.logger.info("db_table_size", table_info: { table_name: model.table_name, table_size: estimate })
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue