MetricsCollector imported urlparse incorrectly