Interface SpanMetrics
public interface SpanMetrics
Reports metrics from
WavefrontSpanHandler.- Since:
- 1.0.0
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionvoidregisterQueueRemainingCapacity(BlockingQueue<?> queue) Registers the remaining capacity of the givenqueue.voidregisterQueueSize(BlockingQueue<?> queue) Registers the size of the givenqueue.voidIs called when a span has been dropped.voidIs called when a span couldn't be sent.voidIs called when a span is received.
-
Field Details
-
NOOP
No-op implementation.
-
-
Method Details
-
reportDropped
void reportDropped()Is called when a span has been dropped. -
reportReceived
void reportReceived()Is called when a span is received. -
reportErrors
void reportErrors()Is called when a span couldn't be sent. -
registerQueueSize
Registers the size of the givenqueue.- Parameters:
queue- queue which size should be registered
-
registerQueueRemainingCapacity
Registers the remaining capacity of the givenqueue.- Parameters:
queue- queue which remaining capacity should be registered
-