Matching events to a person
From the moment setUser is called, the user is attached to every event sent afterwards: errors, logs, spans and sessions. Buglapse matches events to the same person by id first, then by email. Extra fields you pass, such as a plan or a company name, are kept and shown on the event. In Node.js a user can be set for a single request, so concurrent requests never mix their users up.