Package io.opencensus.metrics.data
Class AttachmentValue
java.lang.Object
io.opencensus.metrics.data.AttachmentValue
- Direct Known Subclasses:
AttachmentValue.AttachmentValueString
,AttachmentValueSpanContext
The value of
Exemplar
attachment.
In Stats API we only provide one subclass AttachmentValue.AttachmentValueString
. No other subclasses
are added because we don't want to introduce dependencies on other libraries, for example Tracing
APIs.
Other packages are free to extend this class to hold specific information. As an example, see
io.opencensus.contrib.exemplar.util.AttachmentValueSpanContext
.
- Since:
- 0.20
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
AttachmentValue
public AttachmentValue()
-
-
Method Details
-
getValue
Returns the string attachment value.- Returns:
- the string attachment value.
- Since:
- 0.20
-