Really fix Prometheus metrics not working in Docker by default
In a Docker image, /dev/shm is usually a tmpfs and /run is not available. We now search /run first followed by /dev/shm to see if we can find a temporary filesystem.
Closes gitlab-org/gitlab-ce#39384
Edited by GitLab Release Tools Bot