GitLab Interview Question

How do you detect performance issues and how do you deal with it?