Removed workaround for metrics after spring boot upgrade