Added hostname parameter in 'API' performance monitoring.