Our company uses Laravel (8.0) only for an API. We currently have some legacy PHP/JavaScript code on the front-end which calls the API. (We're working on a new React.js front-end.)
I've been tasked with determining why certain Eloquent/database calls take a very long time to execute. As a part of this, I figured adding DebugBar would be helpful, as it would show me how many queries are being run on a page, how much memory is being used, how many models are loaded, etc.
Unfortunately, because we use Laravel only for an API, installing DebugBar didn't do anything. I guess it just had no way to display that information on our legacy front-end.
I also tried installing Laravel Telescope but got effectively the same result. Going to https://itms.ourdomain.io/telescope (real domain obscured) only resulted in an nginx 404 page. (That domain name is how we access our local dev environment since we use a combination of custom Docker containers--php8_fpm, postgres, etc.)
Is there another tool I can use? Or is there some way I can make one of these two tools work in our environment?