Uses of Class
io.opencensus.trace.SpanId
-
Packages that use SpanId Package Description io.opencensus.contrib.http.util io.opencensus.implcore.trace io.opencensus.trace API for distributed tracing.io.opencensus.trace.export io.opencensus.trace.samplers -
-
Uses of SpanId in io.opencensus.contrib.http.util
Methods in io.opencensus.contrib.http.util that return SpanId Modifier and Type Method Description private static SpanIdCloudTraceFormat. longToSpanId(long x)Methods in io.opencensus.contrib.http.util with parameters of type SpanId Modifier and Type Method Description private static longCloudTraceFormat. spanIdToLong(SpanId spanId) -
Uses of SpanId in io.opencensus.implcore.trace
Fields in io.opencensus.implcore.trace declared as SpanId Modifier and Type Field Description private SpanIdRecordEventsSpanImpl. parentSpanIdMethods in io.opencensus.implcore.trace with parameters of type SpanId Modifier and Type Method Description private static booleanSpanBuilderImpl. makeSamplingDecision(SpanContext parent, java.lang.Boolean hasRemoteParent, java.lang.String name, Sampler sampler, java.util.List<Span> parentLinks, TraceId traceId, SpanId spanId, TraceParams activeTraceParams)static RecordEventsSpanImplRecordEventsSpanImpl. startSpan(SpanContext context, java.lang.String name, Span.Kind kind, SpanId parentSpanId, java.lang.Boolean hasRemoteParent, TraceParams traceParams, RecordEventsSpanImpl.StartEndHandler startEndHandler, TimestampConverter timestampConverter, Clock clock)Creates and starts a span with the given configuration.Constructors in io.opencensus.implcore.trace with parameters of type SpanId Constructor Description RecordEventsSpanImpl(SpanContext context, java.lang.String name, Span.Kind kind, SpanId parentSpanId, java.lang.Boolean hasRemoteParent, TraceParams traceParams, RecordEventsSpanImpl.StartEndHandler startEndHandler, TimestampConverter timestampConverter, Clock clock) -
Uses of SpanId in io.opencensus.trace
Fields in io.opencensus.trace declared as SpanId Modifier and Type Field Description static SpanIdSpanId. INVALIDThe invalidSpanId.private SpanIdAutoValue_Link. spanIdprivate SpanIdSpanContext. spanIdMethods in io.opencensus.trace that return SpanId Modifier and Type Method Description static SpanIdSpanId. fromBytes(byte[] src)Returns aSpanIdbuilt from a byte representation.static SpanIdSpanId. fromBytes(byte[] src, int srcOffset)Returns aSpanIdwhose representation is copied from thesrcbeginning at thesrcOffsetoffset.static SpanIdSpanId. fromLowerBase16(java.lang.CharSequence src)Returns aSpanIdbuilt from a lowercase base16 representation.static SpanIdSpanId. fromLowerBase16(java.lang.CharSequence src, int srcOffset)Returns aSpanIdbuilt from a lowercase base16 representation.static SpanIdSpanId. generateRandomId(java.util.Random random)Generates a new randomSpanId.SpanIdAutoValue_Link. getSpanId()abstract SpanIdLink. getSpanId()Returns theSpanId.SpanIdSpanContext. getSpanId()Returns the span identifier associated with thisSpanContext.Methods in io.opencensus.trace with parameters of type SpanId Modifier and Type Method Description intSpanId. compareTo(SpanId that)static SpanContextSpanContext. create(TraceId traceId, SpanId spanId, TraceOptions traceOptions)Deprecated.static SpanContextSpanContext. create(TraceId traceId, SpanId spanId, TraceOptions traceOptions, Tracestate tracestate)Creates a newSpanContextwith the given identifiers and options.abstract booleanSampler. shouldSample(SpanContext parentContext, java.lang.Boolean hasRemoteParent, TraceId traceId, SpanId spanId, java.lang.String name, java.util.List<Span> parentLinks)Called duringSpancreation to make a sampling decision.Constructors in io.opencensus.trace with parameters of type SpanId Constructor Description AutoValue_Link(TraceId traceId, SpanId spanId, Link.Type type, java.util.Map<java.lang.String,AttributeValue> attributes)SpanContext(TraceId traceId, SpanId spanId, TraceOptions traceOptions, Tracestate tracestate) -
Uses of SpanId in io.opencensus.trace.export
Fields in io.opencensus.trace.export declared as SpanId Modifier and Type Field Description private SpanIdAutoValue_SpanData. parentSpanIdMethods in io.opencensus.trace.export that return SpanId Modifier and Type Method Description SpanIdAutoValue_SpanData. getParentSpanId()abstract SpanIdSpanData. getParentSpanId()Returns the parentSpanIdornullif theSpanis a rootSpan.Methods in io.opencensus.trace.export with parameters of type SpanId Modifier and Type Method Description static SpanDataSpanData. create(SpanContext context, SpanId parentSpanId, java.lang.Boolean hasRemoteParent, java.lang.String name, Timestamp startTimestamp, SpanData.Attributes attributes, SpanData.TimedEvents<Annotation> annotations, SpanData.TimedEvents<? extends BaseMessageEvent> messageOrNetworkEvents, SpanData.Links links, java.lang.Integer childSpanCount, Status status, Timestamp endTimestamp)static SpanDataSpanData. create(SpanContext context, SpanId parentSpanId, java.lang.Boolean hasRemoteParent, java.lang.String name, Span.Kind kind, Timestamp startTimestamp, SpanData.Attributes attributes, SpanData.TimedEvents<Annotation> annotations, SpanData.TimedEvents<? extends BaseMessageEvent> messageOrNetworkEvents, SpanData.Links links, java.lang.Integer childSpanCount, Status status, Timestamp endTimestamp)Returns a new immutableSpanData.Constructors in io.opencensus.trace.export with parameters of type SpanId Constructor Description AutoValue_SpanData(SpanContext context, SpanId parentSpanId, java.lang.Boolean hasRemoteParent, java.lang.String name, Span.Kind kind, Timestamp startTimestamp, SpanData.Attributes attributes, SpanData.TimedEvents<Annotation> annotations, SpanData.TimedEvents<MessageEvent> messageEvents, SpanData.Links links, java.lang.Integer childSpanCount, Status status, Timestamp endTimestamp) -
Uses of SpanId in io.opencensus.trace.samplers
Methods in io.opencensus.trace.samplers with parameters of type SpanId Modifier and Type Method Description booleanAlwaysSampleSampler. shouldSample(SpanContext parentContext, java.lang.Boolean hasRemoteParent, TraceId traceId, SpanId spanId, java.lang.String name, java.util.List<Span> parentLinks)booleanNeverSampleSampler. shouldSample(SpanContext parentContext, java.lang.Boolean hasRemoteParent, TraceId traceId, SpanId spanId, java.lang.String name, java.util.List<Span> parentLinks)booleanProbabilitySampler. shouldSample(SpanContext parentContext, java.lang.Boolean hasRemoteParent, TraceId traceId, SpanId spanId, java.lang.String name, java.util.List<Span> parentLinks)
-