public abstract class AbstractMetricsReporter extends Object implements MetricsReporter
MetricsReporter interface.| Modifier and Type | Field and Description |
|---|---|
protected MetricLabel[] |
metricLabels |
protected static List<MetricLabel> |
STANDARD_SPAN_LABELS |
| Modifier | Constructor and Description |
|---|---|
protected |
AbstractMetricsReporter(List<MetricLabel> labels) |
| Modifier and Type | Method and Description |
|---|---|
protected String[] |
getLabelValues(io.opentracing.contrib.api.SpanData spanData)
This method derives the values for the labels associated with the metrics reporter.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitreportSpanprotected final MetricLabel[] metricLabels
protected static final List<MetricLabel> STANDARD_SPAN_LABELS
protected AbstractMetricsReporter(List<MetricLabel> labels)
protected String[] getLabelValues(io.opentracing.contrib.api.SpanData spanData)
spanData - The span dataCopyright © 2017–2018 OpenTracing. All rights reserved.