@InterfaceAudience.Public
@InterfaceStability.Evolving
public interface MetricsVisitor
Modifier and Type | Method and Description |
---|---|
void |
counter(MetricsInfo info,
int value)
Callback for integer value counters
|
void |
counter(MetricsInfo info,
long value)
Callback for long value counters
|
void |
gauge(MetricsInfo info,
double value)
Callback for double value gauges
|
void |
gauge(MetricsInfo info,
float value)
Callback for float value gauges
|
void |
gauge(MetricsInfo info,
int value)
Callback for integer value gauges
|
void |
gauge(MetricsInfo info,
long value)
Callback for long value gauges
|
void gauge(MetricsInfo info, int value)
info
- the metric infovalue
- of the metricvoid gauge(MetricsInfo info, long value)
info
- the metric infovalue
- of the metricvoid gauge(MetricsInfo info, float value)
info
- the metric infovalue
- of the metricvoid gauge(MetricsInfo info, double value)
info
- the metric infovalue
- of the metricvoid counter(MetricsInfo info, int value)
info
- the metric infovalue
- of the metricvoid counter(MetricsInfo info, long value)
info
- the metric infovalue
- of the metricCopyright © 2023 Apache Software Foundation. All rights reserved.