Interface and Description |
---|
io.opencensus.common.NonThrowingCloseable
Scope is a better match for operations involving the current context. |
Class and Description |
---|
io.opencensus.trace.BaseMessageEvent
This class is for internal use only.
|
io.opencensus.trace.NetworkEvent
Use
MessageEvent . |
io.opencensus.trace.NetworkEvent.Builder
NetworkEvent is deprecated. Please use MessageEvent and its builder
MessageEvent.Builder . |
Method and Description |
---|
io.opencensus.trace.Span.addAttributes(Map<String, AttributeValue>) |
io.opencensus.trace.Span.addNetworkEvent(NetworkEvent) |
io.opencensus.trace.BlankSpan.addNetworkEvent(NetworkEvent) |
io.opencensus.trace.propagation.BinaryFormat.fromBinaryValue(byte[]) |
io.opencensus.trace.config.TraceParams.getMaxNumberOfNetworkEvents()
Use
getMaxNumberOfMessageEvents . |
io.opencensus.trace.NetworkEvent.getMessageSize() |
io.opencensus.trace.export.SpanData.getNetworkEvents() |
io.opencensus.trace.TraceOptions.Builder.setIsSampled()
Use
Builder.setIsSampled(true) . |
io.opencensus.trace.config.TraceParams.Builder.setMaxNumberOfNetworkEvents(int)
Use
setMaxNumberOfMessageEvents . |
io.opencensus.trace.NetworkEvent.Builder.setMessageSize(long) |
io.opencensus.stats.Stats.setState(StatsCollectionState)
This method is deprecated because other libraries could cache the result of
Stats.getState() , use a stale value, and behave incorrectly. It is only safe to call early in
initialization. This method throws IllegalStateException after getState()
has been called, in order to limit changes to the result of getState() . |
io.opencensus.stats.StatsComponent.setState(StatsCollectionState)
This method is deprecated because other libraries could cache the result of
StatsComponent.getState() , use a stale value, and behave incorrectly. It is only safe to call early in
initialization. This method throws IllegalStateException after getState()
has been called, in order to limit changes to the result of getState() . |
io.opencensus.tags.TagsComponent.setState(TaggingState)
This method is deprecated because other libraries could cache the result of
TagsComponent.getState() , use a stale value, and behave incorrectly. It is only safe to call early in
initialization. This method throws IllegalStateException after getState()
has been called, in order to limit changes to the result of getState() . |
io.opencensus.tags.Tags.setState(TaggingState)
This method is deprecated because other libraries could cache the result of
Tags.getState() , use a stale value, and behave incorrectly. It is only safe to call early in
initialization. This method throws IllegalStateException after Tags.getState()
has been called, in order to limit changes to the result of getState() . |
io.opencensus.trace.propagation.BinaryFormat.toBinaryValue(SpanContext) |