make metrics endpoint relative in release