public class LogbackMetrics extends Object implements IMetricSet, AutoCloseable
| Constructor and Description |
|---|
LogbackMetrics() |
| Modifier and Type | Method and Description |
|---|---|
void |
bindTo(MetricManager metricManager)
bind related metric to metric manager
|
void |
close() |
PredefinedMetric |
getType()
get type of metric set
|
static void |
ignoreMetrics(Runnable r) |
public void bindTo(MetricManager metricManager)
IMetricSetbindTo in interface IMetricSetpublic static void ignoreMetrics(Runnable r)
public PredefinedMetric getType()
IMetricSetgetType in interface IMetricSetpublic void close()
throws Exception
close in interface AutoCloseableExceptionCopyright © 2022 The Apache Software Foundation. All rights reserved.