Pergunta de entrevista da empresa Glovo

What would be the steps you would take to debug an endpoint on a web server that is running slow, assuming everything else works?