You can't directly depend on http config, as we intend to split the configuration per module in 2.1 and metrics won't depend on http.