Add auto-configuration for DiskSpaceMetrics

See gh-26001
This commit is contained in:
bono007
2021-04-10 23:06:09 -05:00
committed by Stephane Nicoll
parent 151e0eb2b6
commit e3f03dd50a
3 changed files with 44 additions and 8 deletions

View File

@@ -554,7 +554,7 @@ In most situations, the out-of-the-box defaults will provide sensible metrics th
[[actuator.metrics.supported.jvm]]
==== JVM Metrics
Auto-configuration will enable JVM Metrics using core Micrometer classes.
JVM metrics are published under the `jvm.` meter name.
JVM metrics are published under the `jvm.` and `disk.` meter names.
The following JVM metrics are provided:
@@ -562,6 +562,7 @@ The following JVM metrics are provided:
* Statistics related to garbage collection
* Threads utilization
* The Number of classes loaded/unloaded
* Disk space available