We used Sentry’s new Regex search for Logs to hunt down a non-obvious bug 🔍
Traces showed Postgres jobs backing up. Using regex, we found every log where a lock was acquired after a 10+ second wait, narrowing thousands of logs to about a dozen.
From there, trace-connected logs showed that a manual migration run via the CLI was blocking everything 👇