Skip navigation links
A B C D E F G H I L M N O P R S T U V W 

A

ABORTED - Static variable in class io.opencensus.trace.Status
The operation was aborted, typically due to a concurrency issue like sequencer check failures, transaction aborts, etc.
addAnnotation(String, Map<String, AttributeValue>) - Method in class io.opencensus.trace.BlankSpan
No-op implementation of the Span.addAnnotation(String, Map) method.
addAnnotation(Annotation) - Method in class io.opencensus.trace.BlankSpan
No-op implementation of the Span.addAnnotation(Annotation) method.
addAnnotation(String) - Method in class io.opencensus.trace.Span
Adds an annotation to the Span.
addAnnotation(String, Map<String, AttributeValue>) - Method in class io.opencensus.trace.Span
Adds an annotation to the Span.
addAnnotation(Annotation) - Method in class io.opencensus.trace.Span
Adds an annotation to the Span.
addAttributes(Map<String, AttributeValue>) - Method in class io.opencensus.trace.BlankSpan
No-op implementation of the Span.addAttributes(Map) method.
addAttributes(Map<String, AttributeValue>) - Method in class io.opencensus.trace.Span
Adds a set of attributes to the Span.
addDuration(Duration) - Method in class io.opencensus.common.Timestamp
Returns a Timestamp calculated as this Timestamp plus some Duration.
addLink(Link) - Method in class io.opencensus.trace.BlankSpan
No-op implementation of the Span.addLink(Link) method.
addLink(Link) - Method in class io.opencensus.trace.Span
Adds a Link to the Span.
addNanos(long) - Method in class io.opencensus.common.Timestamp
Returns a Timestamp calculated as this Timestamp plus some number of nanoseconds.
addNetworkEvent(NetworkEvent) - Method in class io.opencensus.trace.BlankSpan
No-op implementation of the Span.addNetworkEvent(NetworkEvent) method.
addNetworkEvent(NetworkEvent) - Method in class io.opencensus.trace.Span
Adds a NetworkEvent to the Span.
ALREADY_EXISTS - Static variable in class io.opencensus.trace.Status
Some entity that we attempted to create (e.g., file or directory) already exists.
alwaysSample() - Static method in class io.opencensus.trace.samplers.Samplers
Returns a Sampler that always makes a "yes" decision on Span sampling.
Annotation - Class in io.opencensus.trace
A text annotation with a set of attributes.
apply(A) - Method in interface io.opencensus.common.Function
 
AttributeValue - Class in io.opencensus.trace
A class that represents all the possible values for an attribute.

B

BinaryFormat - Class in io.opencensus.trace.propagation
This is a helper class for SpanContext propagation on the wire using binary encoding.
BinaryFormat() - Constructor for class io.opencensus.trace.propagation.BinaryFormat
 
BlankSpan - Class in io.opencensus.trace
The BlankSpan is a singleton class, which is the default Span that is used when no Span implementation is available.
booleanAttributeValue(boolean) - Static method in class io.opencensus.trace.AttributeValue
Returns an AttributeValue with a boolean value.
build() - Method in class io.opencensus.trace.config.TraceParams.Builder
Builds and returns a TraceParams with the desired values.
build() - Method in class io.opencensus.trace.EndSpanOptions.Builder
Builds and returns a EndSpanOptions with the desired settings.
build() - Method in class io.opencensus.trace.NetworkEvent.Builder
Builds and returns a NetworkEvent with the desired values.
build() - Method in class io.opencensus.trace.TraceOptions.Builder
Builds and returns a TraceOptions with the desired options.
Builder() - Constructor for class io.opencensus.trace.config.TraceParams.Builder
 
builder() - Static method in class io.opencensus.trace.EndSpanOptions
Returns a new EndSpanOptions.Builder with default options.
builder(NetworkEvent.Type, long) - Static method in class io.opencensus.trace.NetworkEvent
Returns a new NetworkEvent.Builder with default values.
builder() - Static method in class io.opencensus.trace.TraceOptions
Returns a new TraceOptions.Builder with default options.
builder(TraceOptions) - Static method in class io.opencensus.trace.TraceOptions
Returns a new TraceOptions.Builder with all given options set.

C

CANCELLED - Static variable in class io.opencensus.trace.Status
The operation was cancelled (typically by the caller).
Clock - Class in io.opencensus.common
Interface for getting the current time.
Clock() - Constructor for class io.opencensus.common.Clock
 
close() - Method in interface io.opencensus.common.NonThrowingCloseable
 
compareTo(Timestamp) - Method in class io.opencensus.common.Timestamp
Compares this Timestamp to the specified Timestamp.
compareTo(SpanId) - Method in class io.opencensus.trace.SpanId
 
compareTo(TraceId) - Method in class io.opencensus.trace.TraceId
 
CONTEXT_SPAN_KEY - Static variable in class io.opencensus.trace.unsafe.ContextUtils
The Context.Key used to interact with Context.
ContextUtils - Class in io.opencensus.trace.unsafe
Util methods/functionality to interact with the Context.
copyBytesTo(byte[], int) - Method in class io.opencensus.trace.SpanId
Copies the byte array representations of the SpanId into the dest beginning at the destOffset offset.
copyBytesTo(byte[], int) - Method in class io.opencensus.trace.TraceId
Copies the byte array representations of the TraceId into the dest beginning at the destOffset offset.
copyBytesTo(byte[], int) - Method in class io.opencensus.trace.TraceOptions
Copies the byte representations of the TraceOptions into the dest beginning at the destOffset offset.
create(long, int) - Static method in class io.opencensus.common.Duration
Creates a new time duration from given seconds and nanoseconds.
create(long, int) - Static method in class io.opencensus.common.Timestamp
Creates a new timestamp from given seconds and nanoseconds.
create(String, int) - Static method in class io.opencensus.trace.export.RunningSpanStore.Filter
Returns a new instance of Filter.
create(int) - Static method in class io.opencensus.trace.export.RunningSpanStore.PerSpanNameSummary
Returns a new instance of PerSpanNameSummary.
create(Map<String, RunningSpanStore.PerSpanNameSummary>) - Static method in class io.opencensus.trace.export.RunningSpanStore.Summary
Returns a new instance of Summary.
create(String, Status.CanonicalCode, int) - Static method in class io.opencensus.trace.export.SampledSpanStore.ErrorFilter
Returns a new instance of ErrorFilter.
create(String, long, long, int) - Static method in class io.opencensus.trace.export.SampledSpanStore.LatencyFilter
Returns a new instance of LatencyFilter.
create(Map<SampledSpanStore.LatencyBucketBoundaries, Integer>, Map<Status.CanonicalCode, Integer>) - Static method in class io.opencensus.trace.export.SampledSpanStore.PerSpanNameSummary
Returns a new instance of PerSpanNameSummary.
create(Map<String, SampledSpanStore.PerSpanNameSummary>) - Static method in class io.opencensus.trace.export.SampledSpanStore.Summary
Returns a new instance of Summary.
create(Map<String, AttributeValue>, int) - Static method in class io.opencensus.trace.export.SpanData.Attributes
Returns a new immutable Attributes.
create(SpanContext, SpanId, Boolean, String, Timestamp, SpanData.Attributes, SpanData.TimedEvents<Annotation>, SpanData.TimedEvents<NetworkEvent>, SpanData.Links, Integer, Status, Timestamp) - Static method in class io.opencensus.trace.export.SpanData
Returns a new immutable SpanData.
create(List<Link>, int) - Static method in class io.opencensus.trace.export.SpanData.Links
Returns a new immutable Links.
create(Timestamp, T) - Static method in class io.opencensus.trace.export.SpanData.TimedEvent
Returns a new immutable TimedEvent<T>.
create(List<SpanData.TimedEvent<T>>, int) - Static method in class io.opencensus.trace.export.SpanData.TimedEvents
Returns a new immutable TimedEvents<T>.
create(TraceId, SpanId, TraceOptions) - Static method in class io.opencensus.trace.SpanContext
Creates a new SpanContext with the given identifiers and options.

D

DATA_LOSS - Static variable in class io.opencensus.trace.Status
Unrecoverable data loss or corruption.
DEADLINE_EXCEEDED - Static variable in class io.opencensus.trace.Status
Deadline expired before operation could complete.
DEFAULT - Static variable in class io.opencensus.trace.config.TraceParams
 
DEFAULT - Static variable in class io.opencensus.trace.EndSpanOptions
The default EndSpanOptions.
DEFAULT - Static variable in class io.opencensus.trace.TraceOptions
The default TraceOptions.
Duration - Class in io.opencensus.common
Represents a signed, fixed-length span of time represented as a count of seconds and fractions of seconds at nanosecond resolution.

E

end(EndSpanOptions) - Method in class io.opencensus.trace.BlankSpan
No-op implementation of the Span.end(EndSpanOptions) method.
end(EndSpanOptions) - Method in class io.opencensus.trace.Span
Marks the end of Span execution with the given options.
end() - Method in class io.opencensus.trace.Span
Marks the end of Span execution with the default options.
EndSpanOptions - Class in io.opencensus.trace
A class that enables overriding the default values used when ending a Span.
EndSpanOptions.Builder - Class in io.opencensus.trace
Builder class for EndSpanOptions.
equals(Object) - Method in class io.opencensus.trace.SpanContext
 
equals(Object) - Method in class io.opencensus.trace.SpanId
 
equals(Object) - Method in class io.opencensus.trace.Status
Equality on Statuses is not well defined.
equals(Object) - Method in class io.opencensus.trace.TraceId
 
equals(Object) - Method in class io.opencensus.trace.TraceOptions
 
export(Collection<SpanData>) - Method in class io.opencensus.trace.export.SpanExporter.Handler
Exports a list of sampled (see TraceOptions.isSampled()) Spans using the immutable representation SpanData.
ExportComponent - Class in io.opencensus.trace.export
Class that holds the implementation instances for SpanExporter, RunningSpanStore and SampledSpanStore.
ExportComponent() - Constructor for class io.opencensus.trace.export.ExportComponent
 

F

FAILED_PRECONDITION - Static variable in class io.opencensus.trace.Status
Operation was rejected because the system is not in a state required for the operation's execution.
fromBinaryValue(byte[]) - Method in class io.opencensus.trace.propagation.BinaryFormat
Parses the SpanContext from the binary format.
fromBytes(byte[]) - Static method in class io.opencensus.trace.SpanId
Returns a SpanId built from a byte representation.
fromBytes(byte[], int) - Static method in class io.opencensus.trace.SpanId
Returns a SpanId whose representation is copied from the src beginning at the srcOffset offset.
fromBytes(byte[]) - Static method in class io.opencensus.trace.TraceId
Returns a TraceId built from a byte representation.
fromBytes(byte[], int) - Static method in class io.opencensus.trace.TraceId
Returns a TraceId whose representation is copied from the src beginning at the srcOffset offset.
fromBytes(byte[]) - Static method in class io.opencensus.trace.TraceOptions
Returns a TraceOptions built from a byte representation.
fromBytes(byte[], int) - Static method in class io.opencensus.trace.TraceOptions
Returns a TraceOptions whose representation is copied from the src beginning at the srcOffset offset.
fromDescription(String) - Static method in class io.opencensus.trace.Annotation
Returns a new Annotation with the given description.
fromDescriptionAndAttributes(String, Map<String, AttributeValue>) - Static method in class io.opencensus.trace.Annotation
Returns a new Annotation with the given description and set of attributes.
fromMillis(long) - Static method in class io.opencensus.common.Duration
Creates a new Duration from given milliseconds.
fromMillis(long) - Static method in class io.opencensus.common.Timestamp
Creates a new timestamp from the given milliseconds.
fromSpanContext(SpanContext, Link.Type) - Static method in class io.opencensus.trace.Link
Returns a new Link.
fromSpanContext(SpanContext, Link.Type, Map<String, AttributeValue>) - Static method in class io.opencensus.trace.Link
Returns a new Link.
Function<A,B> - Interface in io.opencensus.common
Used to specify matching functions for use encoding tagged unions (i.e.
Functions - Class in io.opencensus.common
Commonly used Function instances.

G

generateRandomId(Random) - Static method in class io.opencensus.trace.SpanId
Generates a new random SpanId.
generateRandomId(Random) - Static method in class io.opencensus.trace.TraceId
Generates a new random TraceId.
getActiveTraceParams() - Method in class io.opencensus.trace.config.TraceConfig
Returns the active TraceParams.
getAnnotations() - Method in class io.opencensus.trace.export.SpanData
Returns the annotations recorded for this Span.
getAttributeMap() - Method in class io.opencensus.trace.export.SpanData.Attributes
Returns the set of attributes.
getAttributes() - Method in class io.opencensus.trace.Annotation
Return the attributes of the Annotation.
getAttributes() - Method in class io.opencensus.trace.export.SpanData
Returns the attributes recorded for this Span.
getAttributes() - Method in class io.opencensus.trace.Link
Returns the set of attributes.
getBinaryFormat() - Method in class io.opencensus.trace.propagation.PropagationComponent
Returns the BinaryFormat with the provided implementations.
getBytes() - Method in class io.opencensus.trace.SpanId
Returns the byte representation of the SpanId.
getBytes() - Method in class io.opencensus.trace.TraceId
Returns the 16-bytes array representation of the TraceId.
getBytes() - Method in class io.opencensus.trace.TraceOptions
Returns the 1-byte array representation of the TraceOptions.
getCanonicalCode() - Method in class io.opencensus.trace.export.SampledSpanStore.ErrorFilter
Returns the canonical code used by this filter.
getCanonicalCode() - Method in class io.opencensus.trace.Status
Returns the canonical status code.
getChildSpanCount() - Method in class io.opencensus.trace.export.SpanData
Returns the number of child spans that were generated while the Span was running.
getClock() - Method in class io.opencensus.trace.TraceComponent
Returns the Clock with the provided implementation.
getClock() - Static method in class io.opencensus.trace.Tracing
Returns the global Clock.
getContext() - Method in class io.opencensus.trace.export.SpanData
Returns the SpanContext associated with this Span.
getContext() - Method in class io.opencensus.trace.Span
Returns the SpanContext associated with this Span.
getCurrentSpan() - Method in class io.opencensus.trace.Tracer
Gets the current Span from the current Context.
getDescription() - Method in class io.opencensus.trace.Annotation
Return the description of the Annotation.
getDescription() - Method in class io.opencensus.trace.Status
Returns the description of this Status for human consumption.
getDroppedAttributesCount() - Method in class io.opencensus.trace.export.SpanData.Attributes
Returns the number of dropped attributes.
getDroppedEventsCount() - Method in class io.opencensus.trace.export.SpanData.TimedEvents
Returns the number of dropped events.
getDroppedLinksCount() - Method in class io.opencensus.trace.export.SpanData.Links
Returns the number of dropped links.
getEndTimestamp() - Method in class io.opencensus.trace.export.SpanData
Returns the end Timestamp or null if the Span is still active.
getErrorSampledSpans(SampledSpanStore.ErrorFilter) - Method in class io.opencensus.trace.export.SampledSpanStore
Returns a list of failed spans (spans with Status other than Status.OK) that match the filter.
getEvent() - Method in class io.opencensus.trace.export.SpanData.TimedEvent
Returns the event.
getEvents() - Method in class io.opencensus.trace.export.SpanData.TimedEvents
Returns the list of events.
getExportComponent() - Method in class io.opencensus.trace.TraceComponent
Returns the ExportComponent with the provided implementation.
getExportComponent() - Static method in class io.opencensus.trace.Tracing
Returns the global ExportComponent.
getHasRemoteParent() - Method in class io.opencensus.trace.export.SpanData
Returns true if the parent is on a different process.
getKernelTimestamp() - Method in class io.opencensus.trace.NetworkEvent
Returns the kernel timestamp associated with the NetworkEvent or null if not set.
getLatencyLowerNs() - Method in enum io.opencensus.trace.export.SampledSpanStore.LatencyBucketBoundaries
Returns the latency lower bound of the bucket.
getLatencyLowerNs() - Method in class io.opencensus.trace.export.SampledSpanStore.LatencyFilter
Returns the latency lower bound of this bucket (inclusive).
getLatencySampledSpans(SampledSpanStore.LatencyFilter) - Method in class io.opencensus.trace.export.SampledSpanStore
Returns a list of succeeded spans (spans with Status equal to Status.OK) that match the filter.
getLatencyUpperNs() - Method in enum io.opencensus.trace.export.SampledSpanStore.LatencyBucketBoundaries
Returns the latency upper bound of the bucket.
getLatencyUpperNs() - Method in class io.opencensus.trace.export.SampledSpanStore.LatencyFilter
Returns the latency upper bound of this bucket (exclusive).
getLinks() - Method in class io.opencensus.trace.export.SpanData
Returns links recorded for this Span.
getLinks() - Method in class io.opencensus.trace.export.SpanData.Links
Returns the list of links.
getLowerLong() - Method in class io.opencensus.trace.TraceId
Returns the lower 8 bytes of the trace-id as a long value, assuming little-endian order.
getMaxNumberOfAnnotations() - Method in class io.opencensus.trace.config.TraceParams
Returns the global default max number of Annotation events per Span.
getMaxNumberOfAttributes() - Method in class io.opencensus.trace.config.TraceParams
Returns the global default max number of attributes per Span.
getMaxNumberOfLinks() - Method in class io.opencensus.trace.config.TraceParams
Returns the global default max number of Link entries per Span.
getMaxNumberOfNetworkEvents() - Method in class io.opencensus.trace.config.TraceParams
Returns the global default max number of NetworkEvent events per Span.
getMaxSpansToReturn() - Method in class io.opencensus.trace.export.RunningSpanStore.Filter
Returns the maximum number of spans to be returned.
getMaxSpansToReturn() - Method in class io.opencensus.trace.export.SampledSpanStore.ErrorFilter
Returns the maximum number of spans to be returned.
getMaxSpansToReturn() - Method in class io.opencensus.trace.export.SampledSpanStore.LatencyFilter
Returns the maximum number of spans to be returned.
getMessageId() - Method in class io.opencensus.trace.NetworkEvent
Returns the message id argument that serves to uniquely identify each network message.
getMessageSize() - Method in class io.opencensus.trace.NetworkEvent
Returns The message size in bytes of the NetworkEvent.
getName() - Method in class io.opencensus.trace.export.SpanData
Returns the name of this Span.
getNanos() - Method in class io.opencensus.common.Duration
Returns the number of nanoseconds in the Duration.
getNanos() - Method in class io.opencensus.common.Timestamp
Returns the number of nanoseconds after the number of seconds since the Unix Epoch represented by this timestamp.
getNetworkEvents() - Method in class io.opencensus.trace.export.SpanData
Returns network events recorded for this Span.
getNoopExportComponent() - Static method in class io.opencensus.trace.export.ExportComponent
Returns the no-op implementation of the ExportComponent.
getNoopPropagationComponent() - Static method in class io.opencensus.trace.propagation.PropagationComponent
Returns an instance that contains no-op implementations for all the instances.
getNoopSpanExporter() - Static method in class io.opencensus.trace.export.SpanExporter
Returns the no-op implementation of the ExportComponent.
getNoopTraceConfig() - Static method in class io.opencensus.trace.config.TraceConfig
Returns the no-op implementation of the TraceConfig.
getNumbersOfErrorSampledSpans() - Method in class io.opencensus.trace.export.SampledSpanStore.PerSpanNameSummary
Returns the number of sampled spans in all the error buckets.
getNumbersOfLatencySampledSpans() - Method in class io.opencensus.trace.export.SampledSpanStore.PerSpanNameSummary
Returns the number of sampled spans in all the latency buckets.
getNumRunningSpans() - Method in class io.opencensus.trace.export.RunningSpanStore.PerSpanNameSummary
Returns the number of running spans.
getOptions() - Method in class io.opencensus.trace.Span
Returns the options associated with this Span.
getParentSpanId() - Method in class io.opencensus.trace.export.SpanData
Returns the parent SpanId or null if the Span is a root Span.
getPerSpanNameSummary() - Method in class io.opencensus.trace.export.RunningSpanStore.Summary
Returns a map with summary of available data for each span name.
getPerSpanNameSummary() - Method in class io.opencensus.trace.export.SampledSpanStore.Summary
Returns a map with summary of available data for each span name.
getPropagationComponent() - Method in class io.opencensus.trace.TraceComponent
Returns the PropagationComponent with the provided implementation.
getPropagationComponent() - Static method in class io.opencensus.trace.Tracing
Returns the global PropagationComponent.
getRunningSpans(RunningSpanStore.Filter) - Method in class io.opencensus.trace.export.RunningSpanStore
Returns a list of running spans that match the Filter.
getRunningSpanStore() - Method in class io.opencensus.trace.export.ExportComponent
Returns the RunningSpanStore that can be used to get useful debugging information about all the current active spans.
getSampledSpanStore() - Method in class io.opencensus.trace.export.ExportComponent
Returns the SampledSpanStore that can be used to get useful debugging information, such as latency based sampled spans, error based sampled spans.
getSampler() - Method in class io.opencensus.trace.config.TraceParams
Returns the global default Sampler.
getSeconds() - Method in class io.opencensus.common.Duration
Returns the number of seconds in the Duration.
getSeconds() - Method in class io.opencensus.common.Timestamp
Returns the number of seconds since the Unix Epoch represented by this timestamp.
getSpanExporter() - Method in class io.opencensus.trace.export.ExportComponent
Returns the SpanExporter which can be used to register handlers to export all the spans that are part of a distributed sampled trace (see TraceOptions.isSampled()).
getSpanId() - Method in class io.opencensus.trace.Link
Returns the SpanId.
getSpanId() - Method in class io.opencensus.trace.SpanContext
Returns the span identifier associated with this SpanContext.
getSpanName() - Method in class io.opencensus.trace.export.RunningSpanStore.Filter
Returns the span name.
getSpanName() - Method in class io.opencensus.trace.export.SampledSpanStore.ErrorFilter
Returns the span name used by this filter.
getSpanName() - Method in class io.opencensus.trace.export.SampledSpanStore.LatencyFilter
Returns the span name used by this filter.
getStartTimestamp() - Method in class io.opencensus.trace.export.SpanData
Returns the start Timestamp of this Span.
getStatus() - Method in class io.opencensus.trace.EndSpanOptions
Returns the status.
getStatus() - Method in class io.opencensus.trace.export.SpanData
Returns the Status or null if Span is still active.
getSummary() - Method in class io.opencensus.trace.export.RunningSpanStore
Returns the summary of all available data such, as number of running spans.
getSummary() - Method in class io.opencensus.trace.export.SampledSpanStore
Returns the summary of all available data, such as number of sampled spans in the latency based samples or error based samples.
getTimestamp() - Method in class io.opencensus.trace.export.SpanData.TimedEvent
Returns the Timestamp of this event.
getTraceConfig() - Method in class io.opencensus.trace.TraceComponent
Returns the TraceConfig with the provided implementation.
getTraceConfig() - Static method in class io.opencensus.trace.Tracing
Returns the global TraceConfig.
getTraceId() - Method in class io.opencensus.trace.Link
Returns the TraceId.
getTraceId() - Method in class io.opencensus.trace.SpanContext
Returns the trace identifier associated with this SpanContext.
getTraceOptions() - Method in class io.opencensus.trace.SpanContext
Returns the trace options associated with this SpanContext.
getTracer() - Method in class io.opencensus.trace.TraceComponent
Returns the Tracer with the provided implementations.
getTracer() - Static method in class io.opencensus.trace.Tracing
Returns the global Tracer.
getType() - Method in class io.opencensus.trace.Link
Returns the Type.
getType() - Method in class io.opencensus.trace.NetworkEvent
Returns the type of the NetworkEvent.

H

Handler() - Constructor for class io.opencensus.trace.export.SpanExporter.Handler
 
hashCode() - Method in class io.opencensus.trace.SpanContext
 
hashCode() - Method in class io.opencensus.trace.SpanId
 
hashCode() - Method in class io.opencensus.trace.Status
Hash codes on Statuses are not well defined.
hashCode() - Method in class io.opencensus.trace.TraceId
 
hashCode() - Method in class io.opencensus.trace.TraceOptions
 

I

INSTANCE - Static variable in class io.opencensus.trace.BlankSpan
Singleton instance of this class.
Internal - Annotation Type in io.opencensus.common
Annotates a program element (class, method, package etc) which is internal to OpenCensus, not part of the public API, and should not be used by users of the OpenCensus library.
INTERNAL - Static variable in class io.opencensus.trace.Status
Internal errors.
INVALID - Static variable in class io.opencensus.trace.SpanContext
The invalid SpanContext.
INVALID - Static variable in class io.opencensus.trace.SpanId
The invalid SpanId.
INVALID - Static variable in class io.opencensus.trace.TraceId
The invalid TraceId.
INVALID_ARGUMENT - Static variable in class io.opencensus.trace.Status
Client specified an invalid argument.
io.opencensus.common - package io.opencensus.common
 
io.opencensus.trace - package io.opencensus.trace
 
io.opencensus.trace.config - package io.opencensus.trace.config
 
io.opencensus.trace.export - package io.opencensus.trace.export
 
io.opencensus.trace.propagation - package io.opencensus.trace.propagation
 
io.opencensus.trace.samplers - package io.opencensus.trace.samplers
 
io.opencensus.trace.unsafe - package io.opencensus.trace.unsafe
 
isOk() - Method in class io.opencensus.trace.Status
Returns true if this Status is OK, i.e., not an error.
isSampled() - Method in class io.opencensus.trace.TraceOptions
Returns a boolean indicating whether this Span is part of a sampled trace and data should be exported to a persistent store.
isValid() - Method in class io.opencensus.trace.SpanContext
Returns true if this SpanContext is valid.
isValid() - Method in class io.opencensus.trace.SpanId
Returns whether the span identifier is valid.
isValid() - Method in class io.opencensus.trace.TraceId
Returns whether the TraceId is valid.

L

Link - Class in io.opencensus.trace
A link to a Span from a different trace.
Link.Type - Enum in io.opencensus.trace
The relationship with the linked Span relative to the current Span.
longAttributeValue(long) - Static method in class io.opencensus.trace.AttributeValue
Returns an AttributeValue with a long value.

M

match(Function<? super String, T>, Function<? super Boolean, T>, Function<? super Long, T>, Function<Object, T>) - Method in class io.opencensus.trace.AttributeValue
Applies a function to the underlying value.

N

NetworkEvent - Class in io.opencensus.trace
A class that represents a network event.
NetworkEvent.Builder - Class in io.opencensus.trace
Builder class for NetworkEvent.
NetworkEvent.Type - Enum in io.opencensus.trace
Available types for a NetworkEvent.
neverSample() - Static method in class io.opencensus.trace.samplers.Samplers
Returns a Sampler that always makes a "no" decision on Span sampling.
NonThrowingCloseable - Interface in io.opencensus.common
An Closeable which cannot throw a checked exception.
NOT_FOUND - Static variable in class io.opencensus.trace.Status
Some requested entity (e.g., file or directory) was not found.
now() - Method in class io.opencensus.common.Clock
Obtains the current instant from this clock.
nowNanos() - Method in class io.opencensus.common.Clock
Returns a time measurement with nanosecond precision that can only be used to calculate elapsed time.

O

OK - Static variable in class io.opencensus.trace.Status
The operation completed successfully.
OUT_OF_RANGE - Static variable in class io.opencensus.trace.Status
Operation was attempted past the valid range.

P

PERMISSION_DENIED - Static variable in class io.opencensus.trace.Status
The caller does not have permission to execute the specified operation.
probabilitySampler(double) - Static method in class io.opencensus.trace.samplers.Samplers
Returns a Sampler that makes a "yes" decision with a given probability.
PropagationComponent - Class in io.opencensus.trace.propagation
Container class for all the supported propagation formats.
PropagationComponent() - Constructor for class io.opencensus.trace.propagation.PropagationComponent
 

R

registerHandler(String, SpanExporter.Handler) - Method in class io.opencensus.trace.export.SpanExporter
Registers a new service handler that is used by the library to export SpanData for sampled spans (see TraceOptions.isSampled()).
registerSpanNamesForCollection(Collection<String>) - Method in class io.opencensus.trace.export.SampledSpanStore
Appends a list of span names for which the library will collect latency based sampled spans and error based sampled spans.
RESOURCE_EXHAUSTED - Static variable in class io.opencensus.trace.Status
Some resource has been exhausted, perhaps a per-user quota, or perhaps the entire file system is out of space.
returnConstant(T) - Static method in class io.opencensus.common.Functions
A Function that always ignores its argument and returns a constant value.
returnNull() - Static method in class io.opencensus.common.Functions
A Function that always ignores its argument and returns null.
RunningSpanStore - Class in io.opencensus.trace.export
This class allows users to access in-process information about all running spans.
RunningSpanStore() - Constructor for class io.opencensus.trace.export.RunningSpanStore
 
RunningSpanStore.Filter - Class in io.opencensus.trace.export
Filter for running spans.
RunningSpanStore.PerSpanNameSummary - Class in io.opencensus.trace.export
Summary of all available data for a span name.
RunningSpanStore.Summary - Class in io.opencensus.trace.export
The summary of all available data.

S

SampledSpanStore - Class in io.opencensus.trace.export
This class allows users to access in-process information such as latency based sampled spans and error based sampled spans.
SampledSpanStore() - Constructor for class io.opencensus.trace.export.SampledSpanStore
 
SampledSpanStore.ErrorFilter - Class in io.opencensus.trace.export
Filter for error based sampled spans.
SampledSpanStore.LatencyBucketBoundaries - Enum in io.opencensus.trace.export
The latency buckets boundaries.
SampledSpanStore.LatencyFilter - Class in io.opencensus.trace.export
Filter for latency based sampled spans.
SampledSpanStore.PerSpanNameSummary - Class in io.opencensus.trace.export
Summary of all available data for a span name.
SampledSpanStore.Summary - Class in io.opencensus.trace.export
The summary of all available data.
Sampler - Class in io.opencensus.trace
Sampler is used to make decisions on Span sampling.
Sampler() - Constructor for class io.opencensus.trace.Sampler
 
Samplers - Class in io.opencensus.trace.samplers
Static class to access a set of pre-defined Samplers.
setIsSampled() - Method in class io.opencensus.trace.TraceOptions.Builder
Marks this trace as sampled.
setKernelTimestamp(Timestamp) - Method in class io.opencensus.trace.NetworkEvent.Builder
Sets the kernel timestamp.
setMaxNumberOfAnnotations(int) - Method in class io.opencensus.trace.config.TraceParams.Builder
Sets the global default max number of Annotation events per Span.
setMaxNumberOfAttributes(int) - Method in class io.opencensus.trace.config.TraceParams.Builder
Sets the global default max number of attributes per Span.
setMaxNumberOfLinks(int) - Method in class io.opencensus.trace.config.TraceParams.Builder
Sets the global default max number of Link entries per Span.
setMaxNumberOfNetworkEvents(int) - Method in class io.opencensus.trace.config.TraceParams.Builder
Sets the global default max number of NetworkEvent events per Span.
setMessageSize(long) - Method in class io.opencensus.trace.NetworkEvent.Builder
Sets the message size.
setParentLinks(List<Span>) - Method in class io.opencensus.trace.SpanBuilder
Sets the List of parent links.
setRecordEvents(boolean) - Method in class io.opencensus.trace.SpanBuilder
Sets the option Span.Options.RECORD_EVENTS for the newly created Span.
setSampler(Sampler) - Method in class io.opencensus.trace.config.TraceParams.Builder
Sets the global default Sampler.
setSampler(Sampler) - Method in class io.opencensus.trace.SpanBuilder
Sets the Sampler to use.
setStatus(Status) - Method in class io.opencensus.trace.EndSpanOptions.Builder
Sets the status for the Span.
shouldSample(SpanContext, Boolean, TraceId, SpanId, String, List<Span>) - Method in class io.opencensus.trace.Sampler
Called during Span creation to make a sampling decision.
SIZE - Static variable in class io.opencensus.trace.SpanId
The size in bytes of the SpanId.
SIZE - Static variable in class io.opencensus.trace.TraceId
The size in bytes of the TraceId.
SIZE - Static variable in class io.opencensus.trace.TraceOptions
The size in bytes of the TraceOptions.
Span - Class in io.opencensus.trace
An abstract class that represents a span.
Span(SpanContext, EnumSet<Span.Options>) - Constructor for class io.opencensus.trace.Span
Creates a new Span.
Span.Options - Enum in io.opencensus.trace
Span options.
SpanBuilder - Class in io.opencensus.trace
SpanBuilder is used to construct Span instances which define arbitrary scopes of code that are sampled for distributed tracing as a single atomic unit.
SpanBuilder() - Constructor for class io.opencensus.trace.SpanBuilder
 
spanBuilder(String) - Method in class io.opencensus.trace.Tracer
Returns a SpanBuilder to create and start a new child Span as a child of to the current Span if any, otherwise creates a root Span.
spanBuilderWithExplicitParent(String, Span) - Method in class io.opencensus.trace.Tracer
Returns a SpanBuilder to create and start a new child Span (or root if parent is null or has an invalid SpanContext), with parent being the designated Span.
spanBuilderWithRemoteParent(String, SpanContext) - Method in class io.opencensus.trace.Tracer
Returns a SpanBuilder to create and start a new child Span (or root if parent is SpanContext.INVALID or null), with parent being the remote Span designated by the SpanContext.
SpanContext - Class in io.opencensus.trace
A class that represents a span context.
SpanData - Class in io.opencensus.trace.export
Immutable representation of all data collected by the Span class.
SpanData.Attributes - Class in io.opencensus.trace.export
A set of attributes and the number of dropped attributes representation.
SpanData.Links - Class in io.opencensus.trace.export
A list of links and the number of dropped links representation.
SpanData.TimedEvent<T> - Class in io.opencensus.trace.export
A timed event representation.
SpanData.TimedEvents<T> - Class in io.opencensus.trace.export
A list of timed events and the number of dropped events representation.
SpanExporter - Class in io.opencensus.trace.export
A service that is used by the library to export SpanData for all the spans that are part of a distributed sampled trace (see TraceOptions.isSampled()).
SpanExporter() - Constructor for class io.opencensus.trace.export.SpanExporter
 
SpanExporter.Handler - Class in io.opencensus.trace.export
An abstract class that allows different tracing services to export recorded data for sampled spans in their own format.
SpanId - Class in io.opencensus.trace
A class that represents a span identifier.
startScopedSpan() - Method in class io.opencensus.trace.SpanBuilder
Starts a new new span and sets it as the current span.
startSpan() - Method in class io.opencensus.trace.SpanBuilder
Starts a new Span.
Status - Class in io.opencensus.trace
Defines the status of a Span by providing a standard Status.CanonicalCode in conjunction with an optional descriptive message.
Status.CanonicalCode - Enum in io.opencensus.trace
The set of canonical status codes.
stringAttributeValue(String) - Static method in class io.opencensus.trace.AttributeValue
Returns an AttributeValue with a string value.
subtractTimestamp(Timestamp) - Method in class io.opencensus.common.Timestamp
Returns a Duration calculated as: this - timestamp.

T

throwIllegalArgumentException() - Static method in class io.opencensus.common.Functions
A Function that always ignores its argument and throws an IllegalArgumentException.
Timestamp - Class in io.opencensus.common
A representation of an instant in time.
toBinaryValue(SpanContext) - Method in class io.opencensus.trace.propagation.BinaryFormat
Serializes a SpanContext using the binary format.
toBuilder() - Method in class io.opencensus.trace.config.TraceParams
Returns a TraceParams.Builder initialized to the same property values as the current instance.
toStatus() - Method in enum io.opencensus.trace.Status.CanonicalCode
Returns the status that has the current CanonicalCode..
toString() - Method in class io.opencensus.trace.BlankSpan
 
toString() - Method in class io.opencensus.trace.SpanContext
 
toString() - Method in class io.opencensus.trace.SpanId
 
toString() - Method in class io.opencensus.trace.Status
 
toString() - Method in class io.opencensus.trace.TraceId
 
toString() - Method in class io.opencensus.trace.TraceOptions
 
TraceComponent - Class in io.opencensus.trace
Class that holds the implementation instances for Tracer, PropagationComponent, Clock, ExportComponent and TraceConfig.
TraceConfig - Class in io.opencensus.trace.config
Global configuration of the trace service.
TraceConfig() - Constructor for class io.opencensus.trace.config.TraceConfig
 
TraceId - Class in io.opencensus.trace
A class that represents a trace identifier.
TraceOptions - Class in io.opencensus.trace
A class that represents global trace options.
TraceOptions.Builder - Class in io.opencensus.trace
Builder class for TraceOptions.
TraceParams - Class in io.opencensus.trace.config
Class that holds global trace parameters.
TraceParams() - Constructor for class io.opencensus.trace.config.TraceParams
 
TraceParams.Builder - Class in io.opencensus.trace.config
A Builder class for TraceParams.
Tracer - Class in io.opencensus.trace
Tracer is a simple, thin class for Span creation and in-process context interaction.
Tracer() - Constructor for class io.opencensus.trace.Tracer
 
Tracing - Class in io.opencensus.trace
Class that manages a global instance of the TraceComponent.

U

UNAUTHENTICATED - Static variable in class io.opencensus.trace.Status
The request does not have valid authentication credentials for the operation.
UNAVAILABLE - Static variable in class io.opencensus.trace.Status
The service is currently unavailable.
UNIMPLEMENTED - Static variable in class io.opencensus.trace.Status
Operation is not implemented or not supported/enabled in this service.
UNKNOWN - Static variable in class io.opencensus.trace.Status
Unknown error.
unregisterHandler(String) - Method in class io.opencensus.trace.export.SpanExporter
Unregisters the service handler with the provided name.
unregisterSpanNamesForCollection(Collection<String>) - Method in class io.opencensus.trace.export.SampledSpanStore
Removes a list of span names for which the library will collect latency based sampled spans and error based sampled spans.
updateActiveTraceParams(TraceParams) - Method in class io.opencensus.trace.config.TraceConfig
Updates the active TraceParams.

V

value() - Method in enum io.opencensus.trace.Status.CanonicalCode
Returns the numerical value of the code.
valueOf(String) - Static method in enum io.opencensus.trace.export.SampledSpanStore.LatencyBucketBoundaries
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum io.opencensus.trace.Link.Type
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum io.opencensus.trace.NetworkEvent.Type
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum io.opencensus.trace.Span.Options
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum io.opencensus.trace.Status.CanonicalCode
Returns the enum constant of this type with the specified name.
values() - Static method in enum io.opencensus.trace.export.SampledSpanStore.LatencyBucketBoundaries
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum io.opencensus.trace.Link.Type
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum io.opencensus.trace.NetworkEvent.Type
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum io.opencensus.trace.Span.Options
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum io.opencensus.trace.Status.CanonicalCode
Returns an array containing the constants of this enum type, in the order they are declared.

W

withDescription(String) - Method in class io.opencensus.trace.Status
Creates a derived instance of Status with the given description.
withSpan(Span) - Method in class io.opencensus.trace.Tracer
Enters the scope of code where the given Span is in the current Context, and returns an object that represents that scope.
A B C D E F G H I L M N O P R S T U V W 
Skip navigation links