public class CounterServiceBasedSpanMetricReporter extends Object implements SpanMetricReporter
CounterService underneath| Constructor and Description |
|---|
CounterServiceBasedSpanMetricReporter(String acceptedSpansMetricName,
String droppedSpansMetricName,
org.springframework.boot.actuate.metrics.CounterService counterService) |
| Modifier and Type | Method and Description |
|---|---|
void |
incrementAcceptedSpans(long quantity)
Called when spans are submitted to span collector for processing.
|
void |
incrementDroppedSpans(long quantity)
Called when spans become lost for any reason and won't be delivered to the target collector.
|
public void incrementAcceptedSpans(long quantity)
SpanMetricReporterincrementAcceptedSpans in interface SpanMetricReporterquantity - the number of spans accepted.public void incrementDroppedSpans(long quantity)
SpanMetricReporterincrementDroppedSpans in interface SpanMetricReporterquantity - the number of spans dropped.Copyright © 2017 Pivotal Software, Inc.. All rights reserved.