diff --git a/lib/tasks/fetch.rake b/lib/tasks/fetch.rake index d60ebd4a6..dbb5e2d23 100644 --- a/lib/tasks/fetch.rake +++ b/lib/tasks/fetch.rake @@ -123,5 +123,8 @@ task record_db_table_counts: :environment do table_size: estimate, } ) + DataDogStatsClient.gauge( + "postgres.db_table_size", estimate, tags: { table_name: table_name } + ) end end