Uses of Class
io.opencensus.trace.Annotation
Packages that use Annotation
Package
Description
API for distributed tracing.
-
Uses of Annotation in io.opencensus.implcore.trace
Methods in io.opencensus.implcore.trace with parameters of type Annotation -
Uses of Annotation in io.opencensus.trace
Methods in io.opencensus.trace that return AnnotationModifier and TypeMethodDescriptionstatic AnnotationAnnotation.fromDescription(String description) Returns a newAnnotationwith the given description.static AnnotationAnnotation.fromDescriptionAndAttributes(String description, Map<String, AttributeValue> attributes) Returns a newAnnotationwith the given description and set of attributes.Methods in io.opencensus.trace with parameters of type AnnotationModifier and TypeMethodDescriptionvoidBlankSpan.addAnnotation(Annotation annotation) No-op implementation of theSpan.addAnnotation(Annotation)method.abstract voidSpan.addAnnotation(Annotation annotation) Adds an annotation to theSpan. -
Uses of Annotation in io.opencensus.trace.export
Methods in io.opencensus.trace.export that return types with arguments of type AnnotationModifier and TypeMethodDescriptionabstract SpanData.TimedEvents<Annotation> SpanData.getAnnotations()Returns the annotations recorded for thisSpan.Method parameters in io.opencensus.trace.export with type arguments of type AnnotationModifier 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) Deprecated.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.
SpanData.create(SpanContext, SpanId, Boolean, String, Kind, Timestamp, Attributes, TimedEvents, TimedEvents, Links, Integer, Status, Timestamp).