How to work out which app is causing rate limit

All of a sudden, I’m getting “errors”:[{“type”:“RATE_LIMITED”,“message”:"API rate limit exceeded for user ID XXXX}} errors. The rate limit is 5000/hr, but I doubt I could possibly be using any more than 30/hr. So I suspect that one of the github applications has gone haywire and is making tons of requests. So, how do I find out which app is doing it?