Uses of Class
io.opencensus.trace.Annotation
Packages that use Annotation
Package
Description
API for distributed tracing.
-
Uses of Annotation in io.opencensus.contrib.zpages
Methods in io.opencensus.contrib.zpages with parameters of type AnnotationModifier and TypeMethodDescriptionprivate static String
TracezZPageHandler.renderAnnotation
(Annotation annotation) -
Uses of Annotation in io.opencensus.implcore.trace
Fields in io.opencensus.implcore.trace with type parameters of type AnnotationMethods in io.opencensus.implcore.trace that return types with arguments of type AnnotationMethods in io.opencensus.implcore.trace with parameters of type AnnotationModifier and TypeMethodDescriptionvoid
NoRecordEventsSpanImpl.addAnnotation
(Annotation annotation) void
RecordEventsSpanImpl.addAnnotation
(Annotation annotation) -
Uses of Annotation in io.opencensus.trace
Subclasses of Annotation in io.opencensus.traceMethods in io.opencensus.trace that return AnnotationModifier and TypeMethodDescriptionstatic Annotation
Annotation.fromDescription
(String description) Returns a newAnnotation
with the given description.static Annotation
Annotation.fromDescriptionAndAttributes
(String description, Map<String, AttributeValue> attributes) Returns a newAnnotation
with the given description and set of attributes.Methods in io.opencensus.trace with parameters of type AnnotationModifier and TypeMethodDescriptionvoid
BlankSpan.addAnnotation
(Annotation annotation) No-op implementation of theSpan.addAnnotation(Annotation)
method.abstract void
Span.addAnnotation
(Annotation annotation) Adds an annotation to theSpan
. -
Uses of Annotation in io.opencensus.trace.export
Fields in io.opencensus.trace.export with type parameters of type AnnotationModifier and TypeFieldDescriptionprivate final SpanData.TimedEvents
<Annotation> AutoValue_SpanData.annotations
Methods in io.opencensus.trace.export that return types with arguments of type AnnotationModifier and TypeMethodDescriptionAutoValue_SpanData.getAnnotations()
abstract 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 SpanData
SpanData.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 SpanData
SpanData.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
.Constructor parameters in io.opencensus.trace.export with type arguments of type AnnotationModifierConstructorDescription(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)
SpanData.create(SpanContext, SpanId, Boolean, String, Kind, Timestamp, Attributes, TimedEvents, TimedEvents, Links, Integer, Status, Timestamp)
.