It seems that Micrometer supports virtual thread metrics, cfr https://docs.micrometer.io/micrometer/reference/reference/jvm.html#_java_21_metrics.
As mentioned in the documentation, you need the io.micrometer:micrometer-java21 dependency.