@ThreadSafe public abstract class RunningSpanStore extends Object
The running spans tracking is available for all the spans with the option Span.Options.RECORD_EVENTS
. This functionality allows users to debug stuck
operations or long living operations.
Modifier and Type | Class and Description |
---|---|
static class |
RunningSpanStore.Filter
Filter for running spans.
|
static class |
RunningSpanStore.PerSpanNameSummary
Summary of all available data for a span name.
|
static class |
RunningSpanStore.Summary
The summary of all available data.
|
Modifier | Constructor and Description |
---|---|
protected |
RunningSpanStore() |
Modifier and Type | Method and Description |
---|---|
abstract Collection<SpanData> |
getRunningSpans(RunningSpanStore.Filter filter)
Returns a list of running spans that match the
Filter . |
abstract RunningSpanStore.Summary |
getSummary()
Returns the summary of all available data such, as number of running spans.
|
public abstract RunningSpanStore.Summary getSummary()
public abstract Collection<SpanData> getRunningSpans(RunningSpanStore.Filter filter)
Filter
.filter
- used to filter the returned spans.Filter
.