Uses of Class
io.opencensus.trace.AttributeValue
Packages that use AttributeValue
Package
Description
API for distributed tracing.
-
Uses of AttributeValue in io.opencensus.contrib.zpages
Methods in io.opencensus.contrib.zpages with parameters of type AttributeValueModifier and TypeMethodDescriptionprivate static String
TracezZPageHandler.attributeValueToString
(AttributeValue attributeValue) Method parameters in io.opencensus.contrib.zpages with type arguments of type AttributeValueModifier and TypeMethodDescriptionprivate static String
TracezZPageHandler.renderAttributes
(Map<String, AttributeValue> attributes) -
Uses of AttributeValue in io.opencensus.implcore.trace
Methods in io.opencensus.implcore.trace with parameters of type AttributeValueModifier and TypeMethodDescriptionvoid
NoRecordEventsSpanImpl.putAttribute
(String key, AttributeValue value) private void
RecordEventsSpanImpl.AttributesWithCapacity.putAttribute
(String key, AttributeValue value) void
RecordEventsSpanImpl.putAttribute
(String key, AttributeValue value) Method parameters in io.opencensus.implcore.trace with type arguments of type AttributeValueModifier and TypeMethodDescriptionvoid
NoRecordEventsSpanImpl.addAnnotation
(String description, Map<String, AttributeValue> attributes) void
RecordEventsSpanImpl.addAnnotation
(String description, Map<String, AttributeValue> attributes) void
NoRecordEventsSpanImpl.putAttributes
(Map<String, AttributeValue> attributes) private void
RecordEventsSpanImpl.AttributesWithCapacity.putAttributes
(Map<String, AttributeValue> attributes) void
RecordEventsSpanImpl.putAttributes
(Map<String, AttributeValue> attributes) protected boolean
RecordEventsSpanImpl.AttributesWithCapacity.removeEldestEntry
(Map.Entry<String, AttributeValue> eldest) -
Uses of AttributeValue in io.opencensus.trace
Subclasses of AttributeValue in io.opencensus.traceModifier and TypeClassDescription(package private) static class
(package private) static class
(package private) static class
(package private) static class
(package private) final class
(package private) final class
(package private) final class
(package private) final class
Fields in io.opencensus.trace with type parameters of type AttributeValueModifier and TypeFieldDescriptionprivate final Map
<String, AttributeValue> AutoValue_Annotation.attributes
private final Map
<String, AttributeValue> AutoValue_Link.attributes
private static final Map
<String, AttributeValue> Annotation.EMPTY_ATTRIBUTES
private static final Map
<String, AttributeValue> Link.EMPTY_ATTRIBUTES
private static final Map
<String, AttributeValue> Span.EMPTY_ATTRIBUTES
Methods in io.opencensus.trace that return AttributeValueModifier and TypeMethodDescriptionstatic AttributeValue
AttributeValue.booleanAttributeValue
(boolean booleanValue) Returns anAttributeValue
with a boolean value.(package private) static AttributeValue
(package private) static AttributeValue
(package private) static AttributeValue
(package private) static AttributeValue
static AttributeValue
AttributeValue.doubleAttributeValue
(double doubleValue) Returns anAttributeValue
with a double value.static AttributeValue
AttributeValue.longAttributeValue
(long longValue) Returns anAttributeValue
with a long value.static AttributeValue
AttributeValue.stringAttributeValue
(String stringValue) Returns anAttributeValue
with 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
.AutoValue_Annotation.getAttributes()
AutoValue_Link.getAttributes()
abstract Map
<String, AttributeValue> Link.getAttributes()
Returns the set of attributes.Methods in io.opencensus.trace with parameters of type AttributeValueModifier and TypeMethodDescriptionvoid
BlankSpan.putAttribute
(String key, AttributeValue value) No-op implementation of theSpan.putAttribute(String, AttributeValue)
method.void
Span.putAttribute
(String key, AttributeValue value) Sets an attribute to theSpan
.Method parameters in io.opencensus.trace with type arguments of type AttributeValueModifier and TypeMethodDescriptionvoid
BlankSpan.addAnnotation
(String description, Map<String, AttributeValue> attributes) No-op implementation of theSpan.addAnnotation(String, Map)
method.abstract void
Span.addAnnotation
(String description, Map<String, AttributeValue> attributes) Adds an annotation to theSpan
.void
Span.addAttributes
(Map<String, AttributeValue> attributes) Deprecated.static Annotation
Annotation.fromDescriptionAndAttributes
(String description, Map<String, AttributeValue> attributes) Returns a newAnnotation
with the given description and set of attributes.static Link
Link.fromSpanContext
(SpanContext context, Link.Type type, Map<String, AttributeValue> attributes) Returns a newLink
.void
BlankSpan.putAttributes
(Map<String, AttributeValue> attributes) No-op implementation of theSpan.putAttributes(Map)
method.void
Span.putAttributes
(Map<String, AttributeValue> attributes) Sets a set of attributes to theSpan
.Constructor parameters in io.opencensus.trace with type arguments of type AttributeValueModifierConstructorDescription(package private)
AutoValue_Annotation
(String description, Map<String, AttributeValue> attributes) (package private)
AutoValue_Link
(TraceId traceId, SpanId spanId, Link.Type type, Map<String, AttributeValue> attributes) -
Uses of AttributeValue in io.opencensus.trace.export
Fields in io.opencensus.trace.export with type parameters of type AttributeValueModifier and TypeFieldDescriptionprivate final Map
<String, AttributeValue> AutoValue_SpanData_Attributes.attributeMap
Methods in io.opencensus.trace.export that return types with arguments of type AttributeValueModifier and TypeMethodDescriptionAutoValue_SpanData_Attributes.getAttributeMap()
abstract 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.Attributes
SpanData.Attributes.create
(Map<String, AttributeValue> attributeMap, int droppedAttributesCount) Returns a new immutableAttributes
.Constructor parameters in io.opencensus.trace.export with type arguments of type AttributeValueModifierConstructorDescription(package private)
AutoValue_SpanData_Attributes
(Map<String, AttributeValue> attributeMap, int droppedAttributesCount)
Span.putAttributes(Map)