Package io.opencensus.trace.export
Class SampledSpanStore.Summary
java.lang.Object
io.opencensus.trace.export.SampledSpanStore.Summary
- Direct Known Subclasses:
AutoValue_SampledSpanStore_Summary
- Enclosing class:
SampledSpanStore
The summary of all available data.
- Since:
- 0.5
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic SampledSpanStore.Summary
create
(Map<String, SampledSpanStore.PerSpanNameSummary> perSpanNameSummary) Returns a new instance ofSummary
.abstract Map
<String, SampledSpanStore.PerSpanNameSummary> Returns a map with summary of available data for each span name.
-
Constructor Details
-
Summary
Summary()
-
-
Method Details
-
create
public static SampledSpanStore.Summary create(Map<String, SampledSpanStore.PerSpanNameSummary> perSpanNameSummary) Returns a new instance ofSummary
.- Parameters:
perSpanNameSummary
- a map with summary for each span name.- Returns:
- a new instance of
Summary
. - Throws:
NullPointerException
- ifperSpanNameSummary
isnull
.- Since:
- 0.5
-
getPerSpanNameSummary
Returns a map with summary of available data for each span name.- Returns:
- a map with all the span names and the summary.
- Since:
- 0.5
-