Uses of Class
io.opencensus.trace.SpanId
Packages that use SpanId
Package
Description
API for distributed tracing.
-
Uses of SpanId in io.opencensus.contrib.http.util
Methods in io.opencensus.contrib.http.util that return SpanIdMethods in io.opencensus.contrib.http.util with parameters of type SpanIdModifier and TypeMethodDescriptionprivate static longCloudTraceFormat.spanIdToLong(SpanId spanId) -
Uses of SpanId in io.opencensus.implcore.trace
Fields in io.opencensus.implcore.trace declared as SpanIdMethods in io.opencensus.implcore.trace with parameters of type SpanIdModifier and TypeMethodDescriptionprivate static booleanSpanBuilderImpl.makeSamplingDecision(SpanContext parent, Boolean hasRemoteParent, String name, Sampler sampler, List<Span> parentLinks, TraceId traceId, SpanId spanId, TraceParams activeTraceParams) static RecordEventsSpanImplRecordEventsSpanImpl.startSpan(SpanContext context, String name, Span.Kind kind, SpanId parentSpanId, 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 SpanIdModifierConstructorDescriptionprivateRecordEventsSpanImpl(SpanContext context, String name, Span.Kind kind, SpanId parentSpanId, Boolean hasRemoteParent, TraceParams traceParams, RecordEventsSpanImpl.StartEndHandler startEndHandler, TimestampConverter timestampConverter, Clock clock) -
Uses of SpanId in io.opencensus.trace
Classes in io.opencensus.trace that implement interfaces with type arguments of type SpanIdFields in io.opencensus.trace declared as SpanIdModifier and TypeFieldDescriptionstatic final SpanIdSpanId.INVALIDThe invalidSpanId.private final SpanIdAutoValue_Link.spanIdprivate final SpanIdSpanContext.spanIdMethods in io.opencensus.trace that return SpanIdModifier and TypeMethodDescriptionstatic 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(CharSequence src) Returns aSpanIdbuilt from a lowercase base16 representation.static SpanIdSpanId.fromLowerBase16(CharSequence src, int srcOffset) Returns aSpanIdbuilt from a lowercase base16 representation.static SpanIdSpanId.generateRandomId(Random random) Generates a new randomSpanId.AutoValue_Link.getSpanId()abstract SpanIdLink.getSpanId()Returns theSpanId.SpanContext.getSpanId()Returns the span identifier associated with thisSpanContext.Methods in io.opencensus.trace with parameters of type SpanIdModifier and TypeMethodDescriptionintstatic 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, Boolean hasRemoteParent, TraceId traceId, SpanId spanId, String name, List<Span> parentLinks) Called duringSpancreation to make a sampling decision.Constructors in io.opencensus.trace with parameters of type SpanIdModifierConstructorDescription(package private)AutoValue_Link(TraceId traceId, SpanId spanId, Link.Type type, Map<String, AttributeValue> attributes) privateSpanContext(TraceId traceId, SpanId spanId, TraceOptions traceOptions, Tracestate tracestate) -
Uses of SpanId in io.opencensus.trace.export
Fields in io.opencensus.trace.export declared as SpanIdMethods in io.opencensus.trace.export that return SpanIdModifier and TypeMethodDescriptionAutoValue_SpanData.getParentSpanId()abstract SpanIdSpanData.getParentSpanId()Returns the parentSpanIdornullif theSpanis a rootSpan.Methods in io.opencensus.trace.export with parameters of type SpanIdModifier and TypeMethodDescriptionstatic SpanDataSpanData.create(SpanContext context, SpanId parentSpanId, Boolean hasRemoteParent, String name, Timestamp startTimestamp, SpanData.Attributes attributes, SpanData.TimedEvents<Annotation> annotations, SpanData.TimedEvents<? extends BaseMessageEvent> messageOrNetworkEvents, SpanData.Links links, Integer childSpanCount, Status status, Timestamp endTimestamp) static SpanDataSpanData.create(SpanContext context, SpanId parentSpanId, Boolean hasRemoteParent, String name, Span.Kind kind, Timestamp startTimestamp, SpanData.Attributes attributes, SpanData.TimedEvents<Annotation> annotations, SpanData.TimedEvents<? extends BaseMessageEvent> messageOrNetworkEvents, SpanData.Links links, Integer childSpanCount, Status status, Timestamp endTimestamp) Returns a new immutableSpanData.Constructors in io.opencensus.trace.export with parameters of type SpanIdModifierConstructorDescription(package private)AutoValue_SpanData(SpanContext context, SpanId parentSpanId, Boolean hasRemoteParent, String name, Span.Kind kind, Timestamp startTimestamp, SpanData.Attributes attributes, SpanData.TimedEvents<Annotation> annotations, SpanData.TimedEvents<MessageEvent> messageEvents, SpanData.Links links, Integer childSpanCount, Status status, Timestamp endTimestamp) -
Uses of SpanId in io.opencensus.trace.samplers
Methods in io.opencensus.trace.samplers with parameters of type SpanIdModifier and TypeMethodDescriptionbooleanAlwaysSampleSampler.shouldSample(SpanContext parentContext, Boolean hasRemoteParent, TraceId traceId, SpanId spanId, String name, List<Span> parentLinks) booleanNeverSampleSampler.shouldSample(SpanContext parentContext, Boolean hasRemoteParent, TraceId traceId, SpanId spanId, String name, List<Span> parentLinks) final booleanProbabilitySampler.shouldSample(SpanContext parentContext, Boolean hasRemoteParent, TraceId traceId, SpanId spanId, String name, List<Span> parentLinks)
SpanContext.create(TraceId, SpanId, TraceOptions, Tracestate).