attempt to fix the configuration of metrics registration and http access to them.