Your Rails Apps Postgres Is Probably Unhealthy
ruby
dev.to
A few Rails apps I have worked on have unused indexes silently slowing down writes, tables that havent been vacuumed in weeks, and bloat creeping up with nobody noticing. You can check these things manually with pg_stat queries but nobody does it consistently. I built Lantern to automate this. You add the lantern-rails gem and it collects pg_stat metrics every 5 minutes through your existing ActiveRecord connection. You get a 0-100 health score covering cache hit ratio, index usage, bloat, vacu