Improve JVM metrics

This commit adds GC and thread jvm metrics to the existing memory
metrics. All three are now managed by a unique
management.metrics.binders.jvm.enabled property.

Closes gh-11425
This commit is contained in:
Stephane Nicoll
2017-12-28 14:57:13 +01:00
parent c5802c2950
commit 81af02fde7
3 changed files with 20 additions and 4 deletions

View File

@@ -1248,7 +1248,7 @@ content into your application. Rather, pick only the properties that you need.
management.jolokia.path=/jolokia # Path at which Jolokia is available.
# METRICS
management.metrics.binders.jvmmemory.enabled=true # Whether to enable JVM memory metrics.
management.metrics.binders.jvm.enabled=true # Whether to enable JVM metrics.
management.metrics.binders.logback.enabled=true # Whether to enable Logback metrics.
management.metrics.binders.processor.enabled=true # Whether to enable processor metrics.
management.metrics.binders.uptime.enabled=true # Whether to enable uptime metrics.