GitLab interview question

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