@NonNullApi @NonNullFields public class Log4j2Metrics extends java.lang.Object implements MeterBinder, java.lang.AutoCloseable
MeterBinder
for Apache Log4j 2.Constructor and Description |
---|
Log4j2Metrics() |
Log4j2Metrics(java.lang.Iterable<Tag> tags) |
Log4j2Metrics(java.lang.Iterable<Tag> tags,
org.apache.logging.log4j.core.LoggerContext loggerContext) |
Modifier and Type | Method and Description |
---|---|
void |
bindTo(MeterRegistry registry) |
void |
close() |
public Log4j2Metrics()
public Log4j2Metrics(java.lang.Iterable<Tag> tags)
public Log4j2Metrics(java.lang.Iterable<Tag> tags, org.apache.logging.log4j.core.LoggerContext loggerContext)
public void bindTo(MeterRegistry registry)
bindTo
in interface MeterBinder
public void close()
close
in interface java.lang.AutoCloseable