graphqlbackend: Add log and metric for linksForRepository failing
Created by: keegancsmith
A customer is encountering flakiness from this endpoint. Add logging and a metric to help narrow down the cause. This should be cherry-picked into the customers release branch.