Setting following property should disable all the metrics -
management.metrics.enable.all=false
Based on