@NonNullApi @NonNullFields public class TomcatMetrics extends java.lang.Object implements MeterBinder
Constructor and Description |
---|
TomcatMetrics(org.apache.catalina.Manager manager,
java.lang.Iterable<Tag> tags) |
TomcatMetrics(org.apache.catalina.Manager manager,
java.lang.Iterable<Tag> tags,
javax.management.MBeanServer mBeanServer) |
Modifier and Type | Method and Description |
---|---|
void |
bindTo(MeterRegistry reg) |
static javax.management.MBeanServer |
getMBeanServer() |
static void |
monitor(MeterRegistry registry,
org.apache.catalina.Manager manager,
java.lang.Iterable<Tag> tags) |
static void |
monitor(MeterRegistry registry,
org.apache.catalina.Manager manager,
java.lang.String... tags) |
public TomcatMetrics(@Nullable org.apache.catalina.Manager manager, java.lang.Iterable<Tag> tags)
public static void monitor(MeterRegistry registry, @Nullable org.apache.catalina.Manager manager, java.lang.String... tags)
public static void monitor(MeterRegistry registry, @Nullable org.apache.catalina.Manager manager, java.lang.Iterable<Tag> tags)
public static javax.management.MBeanServer getMBeanServer()
public void bindTo(MeterRegistry reg)
bindTo
in interface MeterBinder