I know this is an old thread, but I tried the Alt-P option as well as adding the line to my app.yml file:
DISCOURSE_ENABLE_MINI_PROFILER: FALSE
Neither worked, I’m glad to know my users cannot see it, but somehow it honestly bugs me to have it up there when I’m logged in. There any other options for how to disable this?