Move DiskSpaceMetrics to i.m.core.instrument.binder.system #2750
Labels
enhancement
A general enhancement
module: micrometer-core
An issue that is related to our core module
release notes
Noteworthy change to call out in the release notes
Milestone
Please describe the feature request.
DiskSpaceMetrics
is currently packaged inio.micrometer.core.instrument.binder.jvm
alongside various JVM-specific metrics classes such asClassLoaderMetrics
. I'd like to propose thatio.micrometer.core.instrument.binder.jvm.DiskSpacveMEtrics
is deprecated with a replacement being introduced inio.micrometer.core.instrument.binder.system
alongsideFileDescriptorMetrics
.Rationale
Disk space metrics are not JVM-specific so I don't think
DiskSpaceMetrics
belongs in thebinder.jvm
package. Additionally, they're closely related to file descriptor metrics so I think it makes sense to package them alongsideFileDescriptorMetrics
.Additional context
spring-projects/spring-boot#27688
The text was updated successfully, but these errors were encountered: