Skip to content

Really fix Prometheus metrics not working in Docker by default

Stan Hu requested to merge sh-fix-docker-prometheus-metrics into master

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

Merge request reports