Add threshold lines in metrics graph Closes #54978 and #56021 See merge request gitlab-org/gitlab-ce!24169