| Package | Description |
|---|---|
| org.avaje.metric |
The main public API for Avaje Metrics.
|
| org.avaje.metric.spi |
The service provider API that needs to be implemented by implementors.
|
| Modifier and Type | Method and Description |
|---|---|
static JvmMetrics |
MetricManager.jvmMetrics()
Return the built in JVM metrics support to register collection of all or some
of the built in JVM metrics.
|
JvmMetrics |
JvmMetrics.registerJvmGCMetrics()
Register metrics for GC activity.
|
JvmMetrics |
JvmMetrics.registerJvmMemoryMetrics()
Register metrics for heap and non-heap memory.
|
JvmMetrics |
JvmMetrics.registerJvmOsLoadMetric()
Register a metric for OS load.
|
JvmMetrics |
JvmMetrics.registerJvmProcessMemoryMetrics()
Register metrics for VMRSS process memory (if supported on the platform).
|
JvmMetrics |
JvmMetrics.registerJvmThreadMetrics()
Register metrics for the total number of threads allocated.
|
JvmMetrics |
JvmMetrics.registerLog4JMetrics()
Register metrics for Log4J error and warning messages.
|
JvmMetrics |
JvmMetrics.registerLogbackMetrics()
Register metrics for Logback error and warning messages.
|
JvmMetrics |
JvmMetrics.registerStandardJvmMetrics()
Register all the standard JVM metrics - memory, threads, gc, os load and process memory.
|
JvmMetrics |
JvmMetrics.withLogMetricName(String errorMetricName,
String warnMetricName)
Set the names of the metrics for logging errors and warnings.
|
JvmMetrics |
JvmMetrics.withReportAlways()
Set to report the metrics irrespective of whether the metric has changed.
|
JvmMetrics |
JvmMetrics.withReportChangesOnly()
Set to only report when the metrics change.
|
| Modifier and Type | Interface and Description |
|---|---|
interface |
SpiMetricManager
The SPI for the underlying implementation that is plugged in via service locator.
|
Copyright © 2019. All rights reserved.