Uses of Class
io.opencensus.trace.AttributeValue
Packages that use AttributeValue
Package
Description
API for distributed tracing.
-
Uses of AttributeValue in io.opencensus.implcore.trace
Methods in io.opencensus.implcore.trace with parameters of type AttributeValueModifier and TypeMethodDescriptionvoidRecordEventsSpanImpl.putAttribute(String key, AttributeValue value) Method parameters in io.opencensus.implcore.trace with type arguments of type AttributeValueModifier and TypeMethodDescriptionvoidRecordEventsSpanImpl.addAnnotation(String description, Map<String, AttributeValue> attributes) voidRecordEventsSpanImpl.putAttributes(Map<String, AttributeValue> attributes) -
Uses of AttributeValue in io.opencensus.trace
Methods in io.opencensus.trace that return AttributeValueModifier and TypeMethodDescriptionstatic AttributeValueAttributeValue.booleanAttributeValue(boolean booleanValue) Returns anAttributeValuewith a boolean value.static AttributeValueAttributeValue.doubleAttributeValue(double doubleValue) Returns anAttributeValuewith a double value.static AttributeValueAttributeValue.longAttributeValue(long longValue) Returns anAttributeValuewith a long value.static AttributeValueAttributeValue.stringAttributeValue(String stringValue) Returns anAttributeValuewith a string value.Methods in io.opencensus.trace that return types with arguments of type AttributeValueModifier and TypeMethodDescriptionabstract Map<String, AttributeValue> Annotation.getAttributes()Return the attributes of theAnnotation.abstract Map<String, AttributeValue> Link.getAttributes()Returns the set of attributes.Methods in io.opencensus.trace with parameters of type AttributeValueModifier and TypeMethodDescriptionvoidBlankSpan.putAttribute(String key, AttributeValue value) No-op implementation of theSpan.putAttribute(String, AttributeValue)method.voidSpan.putAttribute(String key, AttributeValue value) Sets an attribute to theSpan.Method parameters in io.opencensus.trace with type arguments of type AttributeValueModifier and TypeMethodDescriptionvoidBlankSpan.addAnnotation(String description, Map<String, AttributeValue> attributes) No-op implementation of theSpan.addAnnotation(String, Map)method.abstract voidSpan.addAnnotation(String description, Map<String, AttributeValue> attributes) Adds an annotation to theSpan.voidSpan.addAttributes(Map<String, AttributeValue> attributes) Deprecated.static AnnotationAnnotation.fromDescriptionAndAttributes(String description, Map<String, AttributeValue> attributes) Returns a newAnnotationwith the given description and set of attributes.static LinkLink.fromSpanContext(SpanContext context, Link.Type type, Map<String, AttributeValue> attributes) Returns a newLink.voidBlankSpan.putAttributes(Map<String, AttributeValue> attributes) No-op implementation of theSpan.putAttributes(Map)method.voidSpan.putAttributes(Map<String, AttributeValue> attributes) Sets a set of attributes to theSpan. -
Uses of AttributeValue in io.opencensus.trace.export
Methods in io.opencensus.trace.export that return types with arguments of type AttributeValueModifier and TypeMethodDescriptionabstract Map<String, AttributeValue> SpanData.Attributes.getAttributeMap()Returns the set of attributes.Method parameters in io.opencensus.trace.export with type arguments of type AttributeValueModifier and TypeMethodDescriptionstatic SpanData.AttributesSpanData.Attributes.create(Map<String, AttributeValue> attributeMap, int droppedAttributesCount) Returns a new immutableAttributes.
Span.putAttributes(Map)