Auto-configure Micrometer's Log4j2 metrics

Closes gh-14524
This commit is contained in:
Andy Wilkinson
2018-09-21 14:45:20 +01:00
parent 0f7897a0ca
commit 258c4838b1
5 changed files with 119 additions and 0 deletions

View File

@@ -1707,6 +1707,7 @@ Spring Boot registers the following core metrics when applicable:
** Number of classes loaded/unloaded
* CPU metrics
* File descriptor metrics
* Log4j2 metrics: record the number of events logged to Log4j2 at each level
* Logback metrics: record the number of events logged to Logback at each level
* Uptime metrics: report a gauge for uptime and a fixed gauge representing the
application's absolute start time