Disable the metrics in the scanner.