public final class ExemplarUtils extends Object
Exemplars for OpenCensus stats.| Modifier and Type | Field and Description |
|---|---|
static String |
ATTACHMENT_KEY_SPAN_CONTEXT
Key for
SpanContext in the contextual information of an Exemplar. |
| Modifier and Type | Method and Description |
|---|---|
static void |
putSpanContextAttachments(io.opencensus.stats.MeasureMap measureMap,
io.opencensus.trace.SpanContext spanContext)
Puts a
SpanContext into the attachments of the given MeasureMap. |
public static final String ATTACHMENT_KEY_SPAN_CONTEXT
SpanContext in the contextual information of an Exemplar.public static void putSpanContextAttachments(io.opencensus.stats.MeasureMap measureMap,
io.opencensus.trace.SpanContext spanContext)
SpanContext into the attachments of the given MeasureMap.measureMap - the MeasureMap.spanContext - the SpanContext to be put as attachments.