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 openconsensus.trace.Status
The operation was aborted, typically due to a concurrency issue like sequencer check failures, transaction aborts, etc.
add(double) - Method in interface openconsensus.metrics.DoubleCumulative.DoublePoint
Adds the given value to the current value.
add(double) - Method in interface openconsensus.metrics.DoubleGauge.DoublePoint
Adds the given value to the current value.
add(long) - Method in interface openconsensus.metrics.LongCumulative.LongPoint
Adds the given value to the current value.
add(long) - Method in interface openconsensus.metrics.LongGauge.LongPoint
Adds the given value to the current value.
addEvent(String) - Method in class openconsensus.trace.BlankSpan
 
addEvent(String, Map<String, AttributeValue>) - Method in class openconsensus.trace.BlankSpan
 
addEvent(Event) - Method in class openconsensus.trace.BlankSpan
 
addEvent(String) - Method in interface openconsensus.trace.Span
Adds an event to the Span.
addEvent(String, Map<String, AttributeValue>) - Method in interface openconsensus.trace.Span
Adds an event to the Span.
addEvent(Event) - Method in interface openconsensus.trace.Span
Adds an event to the Span.
addLink(Link) - Method in class openconsensus.trace.BlankSpan
 
addLink(Link) - Method in interface openconsensus.trace.Span
Adds a Link to the Span.
addLink(Link) - Method in interface openconsensus.trace.Span.Builder
Adds a Link to the newly created Span.
addLinks(List<Link>) - Method in interface openconsensus.trace.Span.Builder
Adds a List of Links to the newly created Span.
ALREADY_EXISTS - Static variable in class openconsensus.trace.Status
Some entity that we attempted to create (e.g., file or directory) already exists.
alwaysSample() - Static method in class openconsensus.trace.samplers.Samplers
Returns a Sampler that always makes a "yes" decision on Span sampling.
applyAsDouble(T) - Method in interface openconsensus.metrics.ToDoubleFunction
Applies this function to the given argument.
applyAsLong(T) - Method in interface openconsensus.metrics.ToLongFunction
Applies this function to the given argument.
asString() - Method in class openconsensus.tags.TagValue
Returns the tag value as a String.
AttributeValue - Class in openconsensus.trace
A class that represents all the possible values for an attribute.
AttributeValue.Type - Enum in openconsensus.trace
An enum that represents all the possible value types for an AttributeValue.

B

BinaryFormat<V> - Interface in openconsensus.context.propagation
Formatter to serializing and deserializing a value with into a binary format.
BlankSpan - Class in openconsensus.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 openconsensus.trace.AttributeValue
Returns an AttributeValue with a boolean value.
build() - Method in interface openconsensus.metrics.Metric.Builder
Builds and returns a metric with the desired options.
build() - Method in interface openconsensus.metrics.MetricRegistry.Builder
Builds and returns a MetricRegistry with the desired options.
build() - Method in interface openconsensus.stats.Measure.Builder
Builds and returns a Measure with the desired options.
build() - Method in interface openconsensus.tags.TagMapBuilder
Creates a TagMap from this builder.
build() - Method in class openconsensus.trace.TraceOptions.Builder
Builds and returns a TraceOptions with the desired options.
build() - Method in class openconsensus.trace.Tracestate.Builder
Builds a TraceState by adding the entries to the parent in front of the key-value pairs list and removing duplicate entries.
builder() - Static method in class openconsensus.trace.TraceOptions
Returns a new TraceOptions.Builder with default options.
builder(TraceOptions) - Static method in class openconsensus.trace.TraceOptions
Returns a new TraceOptions.Builder with all given options set.
builder() - Static method in class openconsensus.trace.Tracestate
Returns a Builder based on an empty Tracestate.
buildScoped() - Method in interface openconsensus.tags.TagMapBuilder
Enters the scope of code where the TagMap created from this builder is in the current context and returns an object that represents that scope.

C

CANCELLED - Static variable in class openconsensus.trace.Status
The operation was cancelled (typically by the caller).
clear() - Method in interface openconsensus.metrics.Metric
Removes all TimeSeries from the metric.
close() - Method in class openconsensus.context.NoopScope
 
close() - Method in interface openconsensus.context.Scope
 
compareTo(SpanId) - Method in class openconsensus.trace.SpanId
 
compareTo(TraceId) - Method in class openconsensus.trace.TraceId
 
ContextUtils - Class in openconsensus.tags.unsafe
Utility methods for accessing the TagMap contained in the Context.
ContextUtils - Class in openconsensus.trace.unsafe
Util methods/functionality to interact with the Context.
copyBytesTo(byte[], int) - Method in class openconsensus.trace.SpanId
Copies the byte array representations of the SpanId into the dest beginning at the destOffset offset.
copyBytesTo(byte[], int) - Method in class openconsensus.trace.TraceId
Copies the byte array representations of the TraceId into the dest beginning at the destOffset offset.
copyBytesTo(byte[], int) - Method in class openconsensus.trace.TraceOptions
Copies the byte representations of the TraceOptions into the dest beginning at the destOffset offset.
copyLowerBase16To(char[], int) - Method in class openconsensus.trace.SpanId
Copies the lowercase base16 representations of the SpanId into the dest beginning at the destOffset offset.
copyLowerBase16To(char[], int) - Method in class openconsensus.trace.TraceId
Copies the lowercase base16 representations of the TraceId into the dest beginning at the destOffset offset.
copyLowerBase16To(char[], int) - Method in class openconsensus.trace.TraceOptions
Copies the lowercase base16 representations of the TraceId into the dest beginning at the destOffset offset.
create(String, String) - Static method in class openconsensus.metrics.LabelKey
Creates a LabelKey.
create(String) - Static method in class openconsensus.metrics.LabelValue
Creates a LabelValue.
create(Map<String, String>) - Static method in class openconsensus.resource.Resource
Returns a Resource.
create(Measure, double) - Static method in class openconsensus.stats.Measurement.MeasurementDouble
create(Measure, long) - Static method in class openconsensus.stats.Measurement.MeasurementLong
Constructs a new Measurement.MeasurementLong.
create(TagKey, TagValue, TagMetadata) - Static method in class openconsensus.tags.Tag
Creates a Tag from the given key, value and metadata.
create(String) - Static method in class openconsensus.tags.TagKey
Constructs a TagKey with the given name.
create(TagMetadata.TagTtl) - Static method in class openconsensus.tags.TagMetadata
Creates a TagMetadata with the given TagMetadata.TagTtl.
create(String) - Static method in class openconsensus.tags.TagValue
Constructs a TagValue from the given string.
create(String) - Static method in class openconsensus.trace.Event
Returns a new Event with the given name.
create(String, Map<String, AttributeValue>) - Static method in class openconsensus.trace.Event
Returns a new Event with the given name and set of attributes.
create(SpanContext) - Static method in class openconsensus.trace.Link
Returns a new Link.
create(SpanContext, Map<String, AttributeValue>) - Static method in class openconsensus.trace.Link
Returns a new Link.
create(TraceId, SpanId, TraceOptions, Tracestate) - Static method in class openconsensus.trace.SpanContext
Creates a new SpanContext with the given identifiers and options.
create(SpanContext, SpanId, Resource, String, Span.Kind, SpanData.Timestamp, Map<String, AttributeValue>, List<SpanData.TimedEvent>, List<Link>, Status, SpanData.Timestamp) - Static method in class openconsensus.trace.SpanData
Returns a new immutable SpanData.
create(SpanData.Timestamp, Event) - Static method in class openconsensus.trace.SpanData.TimedEvent
Returns a new immutable TimedEvent<T>.
create(long, int) - Static method in class openconsensus.trace.SpanData.Timestamp
Creates a new timestamp from given seconds and nanoseconds.
create(String, String) - Static method in class openconsensus.trace.Tracestate.Entry
Creates a new Entry for the Tracestate.
createDoubleMeasurement(double) - Method in interface openconsensus.stats.Measure
Returns a new Measurement for this Measure.
createLongMeasurement(long) - Method in interface openconsensus.stats.Measure
Returns a new Measurement for this Measure.
createTimeSeries(List<LabelValue>, T, ToDoubleFunction<T>) - Method in interface openconsensus.metrics.DerivedDoubleCumulative
Creates a TimeSeries.
createTimeSeries(List<LabelValue>, T, ToDoubleFunction<T>) - Method in interface openconsensus.metrics.DerivedDoubleGauge
Creates a TimeSeries.
createTimeSeries(List<LabelValue>, T, ToLongFunction<T>) - Method in interface openconsensus.metrics.DerivedLongCumulative
Creates a TimeSeries.
createTimeSeries(List<LabelValue>, T, ToLongFunction<T>) - Method in interface openconsensus.metrics.DerivedLongGauge
Creates a TimeSeries.
currentBuilder() - Method in interface openconsensus.tags.Tagger
Returns a new builder created from the current TagMap.

D

DATA_LOSS - Static variable in class openconsensus.trace.Status
Unrecoverable data loss or corruption.
DEADLINE_EXCEEDED - Static variable in class openconsensus.trace.Status
Deadline expired before operation could complete.
DEFAULT - Static variable in class openconsensus.trace.TraceOptions
The default TraceOptions.
DerivedDoubleCumulative - Interface in openconsensus.metrics
Derived Double Cumulative metric, to report cumulative measurement of a double value.
DerivedDoubleCumulative.Builder - Interface in openconsensus.metrics
Builder class for DerivedDoubleCumulative.
derivedDoubleCumulativeBuilder(String) - Method in interface openconsensus.metrics.MetricRegistry
Returns a builder for a DerivedDoubleCumulative to be added to the registry.
DerivedDoubleGauge - Interface in openconsensus.metrics
Derived Double Gauge metric, to report instantaneous measurement of a double value.
DerivedDoubleGauge.Builder - Interface in openconsensus.metrics
Builder class for DerivedDoubleGauge.
derivedDoubleGaugeBuilder(String) - Method in interface openconsensus.metrics.MetricRegistry
Returns a builder for a DerivedDoubleGauge to be added to the registry.
DerivedLongCumulative - Interface in openconsensus.metrics
Derived Long Cumulative metric, to report cumulative measurement of a long value.
DerivedLongCumulative.Builder - Interface in openconsensus.metrics
Builder class for DerivedLongCumulative.
derivedLongCumulativeBuilder(String) - Method in interface openconsensus.metrics.MetricRegistry
Returns a builder for a DerivedLongCumulative to be added to the registry.
DerivedLongGauge - Interface in openconsensus.metrics
Derived Long Gauge metric, to report instantaneous measurement of an int64 value.
DerivedLongGauge.Builder - Interface in openconsensus.metrics
Builder class for DerivedLongGauge.
derivedLongGaugeBuilder(String) - Method in interface openconsensus.metrics.MetricRegistry
Returns a builder for a DerivedLongGauge to be added to the registry.
doubleAttributeValue(double) - Static method in class openconsensus.trace.AttributeValue
Returns an AttributeValue with a double value.
DoubleCumulative - Interface in openconsensus.metrics
Double Cumulative metric, to report instantaneous measurement of a double value.
DoubleCumulative.Builder - Interface in openconsensus.metrics
Builder class for DoubleCumulative.
DoubleCumulative.DoublePoint - Interface in openconsensus.metrics
The value of a single point in the Cumulative.TimeSeries.
doubleCumulativeBuilder(String) - Method in interface openconsensus.metrics.MetricRegistry
Returns a builder for a DoubleCumulative to be added to the registry.
DoubleGauge - Interface in openconsensus.metrics
Double Gauge metric, to report instantaneous measurement of a double value.
DoubleGauge.Builder - Interface in openconsensus.metrics
Builder class for DerivedLongGauge.
DoubleGauge.DoublePoint - Interface in openconsensus.metrics
The value of a single point in the Gauge.TimeSeries.
doubleGaugeBuilder(String) - Method in interface openconsensus.metrics.MetricRegistry
Returns a builder for a DoubleGauge to be added to the registry.

E

emptyBuilder() - Method in interface openconsensus.tags.Tagger
Returns a new empty Builder.
EmptyTagMap - Class in openconsensus.tags
An immutable implementation of the TagMap that does not contain any tags.
end() - Method in class openconsensus.trace.BlankSpan
 
end() - Method in interface openconsensus.trace.Span
Marks the end of Span execution with the default options.
equals(Object) - Method in class openconsensus.trace.SpanContext
 
equals(Object) - Method in class openconsensus.trace.SpanId
 
equals(Object) - Method in class openconsensus.trace.Status
Equality on Statuses is not well defined.
equals(Object) - Method in class openconsensus.trace.TraceId
 
equals(Object) - Method in class openconsensus.trace.TraceOptions
 
Event - Class in openconsensus.trace
A text annotation with a set of attributes.
Event() - Constructor for class openconsensus.trace.Event
Protected constructor to allow subclassing this class.
extract(C, TextFormat.Getter<C>) - Method in interface openconsensus.context.propagation.TextFormat
Extracts the value from upstream.

F

FAILED_PRECONDITION - Static variable in class openconsensus.trace.Status
Operation was rejected because the system is not in a state required for the operation's execution.
fields() - Method in interface openconsensus.context.propagation.TextFormat
The propagation fields defined.
fromByte(byte) - Static method in class openconsensus.trace.TraceOptions
Returns a TraceOptions whose representation is src.
fromByteArray(byte[]) - Method in interface openconsensus.context.propagation.BinaryFormat
Creates a value from the given on-the-wire encoded representation.
fromBytes(byte[], int) - Static method in class openconsensus.trace.SpanId
Returns a SpanId whose representation is copied from the src beginning at the srcOffset offset.
fromBytes(byte[], int) - Static method in class openconsensus.trace.TraceId
Returns a TraceId whose representation is copied from the src beginning at the srcOffset offset.
fromLowerBase16(CharSequence, int) - Static method in class openconsensus.trace.SpanId
Returns a SpanId built from a lowercase base16 representation.
fromLowerBase16(CharSequence, int) - Static method in class openconsensus.trace.TraceId
Returns a TraceId built from a lowercase base16 representation.
fromLowerBase16(CharSequence, int) - Static method in class openconsensus.trace.TraceOptions
Returns a TraceOption built from a lowercase base16 representation.
fromMillis(long) - Static method in class openconsensus.trace.SpanData.Timestamp
Creates a new timestamp from the given milliseconds.

G

get(C, String) - Method in interface openconsensus.context.propagation.TextFormat.Getter
Returns the first value of the given propagation key or returns null.
get(String) - Method in class openconsensus.trace.Tracestate
Returns the value to which the specified key is mapped, or null if this map contains no mapping for the key.
getAttributes() - Method in class openconsensus.trace.Event
Return the attributes of the Event.
getAttributes() - Method in class openconsensus.trace.Link
Returns the set of attributes.
getAttributes() - Method in class openconsensus.trace.SpanData
Returns the attributes recorded for this Span.
getBinaryFormat() - Method in interface openconsensus.tags.Tagger
Returns the BinaryFormat for this implementation.
getBinaryFormat() - Method in interface openconsensus.trace.Tracer
Returns the BinaryFormat for this implementation.
getBooleanValue() - Method in class openconsensus.trace.AttributeValue
Returns the boolean value of this AttributeValue.
getByte() - Method in class openconsensus.trace.TraceOptions
Returns the one byte representation of the TraceOptions.
getCanonicalCode() - Method in class openconsensus.trace.Status
Returns the canonical status code.
getContext() - Method in class openconsensus.trace.BlankSpan
 
getContext() - Method in class openconsensus.trace.Link
Returns the TraceId.
getContext() - Method in interface openconsensus.trace.Span
Returns the SpanContext associated with this Span.
getContext() - Method in class openconsensus.trace.SpanData
Returns the SpanContext associated with this Span.
getCurrentSpan() - Method in interface openconsensus.trace.Tracer
Gets the current Span from the current Context.
getCurrentTagMap() - Method in interface openconsensus.tags.Tagger
Returns the current TagMap.
getDefaultTimeSeries() - Method in interface openconsensus.metrics.DoubleCumulative
Returns a DoublePoint for a cumulative with all labels not set, or default labels.
getDefaultTimeSeries() - Method in interface openconsensus.metrics.DoubleGauge
Returns a DoublePoint for a gauge with all labels not set, or default labels.
getDefaultTimeSeries() - Method in interface openconsensus.metrics.LongCumulative
Returns a LongPoint for a cumulative with all labels not set, or default labels.
getDefaultTimeSeries() - Method in interface openconsensus.metrics.LongGauge
Returns a LongPoint for a gauge with all labels not set, or default labels.
getDescription() - Method in class openconsensus.metrics.LabelKey
Returns the description of this LabelKey.
getDescription() - Method in class openconsensus.trace.Sampler
Returns the description of this Sampler.
getDescription() - Method in class openconsensus.trace.Status
Returns the description of this Status for human consumption.
getDoubleValue() - Method in class openconsensus.stats.Measurement
Returns the double value for the Measurement.
getDoubleValue() - Method in class openconsensus.stats.Measurement.MeasurementDouble
 
getDoubleValue() - Method in class openconsensus.trace.AttributeValue
Returns the double value of this AttributeValue.
getEmpty() - Static method in class openconsensus.resource.Resource
 
getEndTimestamp() - Method in class openconsensus.trace.SpanData
Returns the end Timestamp.
getEntries() - Method in class openconsensus.trace.Tracestate
Returns a List view of the mappings contained in this TraceState.
getEvent() - Method in class openconsensus.trace.SpanData.TimedEvent
Returns the event.
getInstance() - Static method in class openconsensus.context.NoopScope
Returns a NoopScope.
getIterator() - Method in class openconsensus.tags.EmptyTagMap
 
getIterator() - Method in interface openconsensus.tags.TagMap
Returns an iterator over the tags in this TagMap.
getKey() - Method in class openconsensus.metrics.LabelKey
Returns the key of this LabelKey.
getKey() - Method in class openconsensus.tags.Tag
Returns the tag's key.
getKey() - Method in class openconsensus.trace.Tracestate.Entry
Returns the key String.
getKind() - Method in class openconsensus.trace.SpanData
Returns the kind of this Span.
getLabels() - Method in class openconsensus.resource.Resource
Returns a map of labels that describe the resource.
getLinks() - Method in class openconsensus.trace.SpanData
Returns links recorded for this Span.
getLongValue() - Method in class openconsensus.stats.Measurement
Returns the long value for the Measurement.
getLongValue() - Method in class openconsensus.stats.Measurement.MeasurementLong
 
getLongValue() - Method in class openconsensus.trace.AttributeValue
Returns the long value of this AttributeValue.
getLowerLong() - Method in class openconsensus.trace.TraceId
Returns the lower 8 bytes of the trace-id as a long value, assuming little-endian order.
getMeasure() - Method in class openconsensus.stats.Measurement
Extracts the measured Measure.
getMeasure() - Method in class openconsensus.stats.Measurement.MeasurementDouble
 
getMeasure() - Method in class openconsensus.stats.Measurement.MeasurementLong
 
getMeter() - Static method in class openconsensus.metrics.Metrics
Returns the global Meter with the provided implementation.
getName() - Method in class openconsensus.tags.TagKey
Returns the name of the key.
getName() - Method in class openconsensus.trace.Event
Return the name of the Event.
getName() - Method in class openconsensus.trace.SpanData
Returns the name of this Span.
getNanos() - Method in class openconsensus.trace.SpanData.Timestamp
Returns the number of nanoseconds after the number of seconds since the Unix Epoch represented by this timestamp.
getOrCreateTimeSeries(List<LabelValue>) - Method in interface openconsensus.metrics.DoubleCumulative
Creates a TimeSeries and returns a DoublePoint if the specified labelValues is not already associated with this cumulative, else returns an existing DoublePoint.
getOrCreateTimeSeries(List<LabelValue>) - Method in interface openconsensus.metrics.DoubleGauge
Creates a TimeSeries and returns a DoublePoint if the specified labelValues is not already associated with this gauge, else returns an existing DoublePoint.
getOrCreateTimeSeries(List<LabelValue>) - Method in interface openconsensus.metrics.LongCumulative
Creates a TimeSeries and returns a LongPoint if the specified labelValues is not already associated with this cumulative, else returns an existing LongPoint.
getOrCreateTimeSeries(List<LabelValue>) - Method in interface openconsensus.metrics.LongGauge
Creates a TimeSeries and returns a LongPoint if the specified labelValues is not already associated with this gauge, else returns an existing LongPoint.
getParentSpanId() - Method in class openconsensus.trace.SpanData
Returns the parent SpanId or null if the Span is a root Span.
getResource() - Method in class openconsensus.trace.SpanData
Returns the resource of this Span.
getResource() - Method in interface openconsensus.trace.Tracer
Gets the Resource that is associating with all the Span and SpanData objects recorded by this Tracer.
getSeconds() - Method in class openconsensus.trace.SpanData.Timestamp
Returns the number of seconds since the Unix Epoch represented by this timestamp.
getSpanId() - Method in class openconsensus.trace.SpanContext
Returns the span identifier associated with this SpanContext.
getStartTimestamp() - Method in class openconsensus.trace.SpanData
Returns the start Timestamp of this Span.
getStatsRecorder() - Static method in class openconsensus.stats.Stats
Returns the global StatsRecorder.
getStatus() - Method in class openconsensus.trace.SpanData
Returns the Status.
getStringValue() - Method in class openconsensus.trace.AttributeValue
Returns the string value of this AttributeValue.
getTagger() - Static method in class openconsensus.tags.Tags
Returns the default Tagger.
getTagMetadata() - Method in class openconsensus.tags.Tag
Returns the TagMetadata associated with this Tag.
getTagTtl() - Method in class openconsensus.tags.TagMetadata
Returns the TagMetadata.TagTtl of this TagMetadata.
getTagValue(TagKey) - Method in class openconsensus.tags.EmptyTagMap
 
getTagValue(TagKey) - Method in interface openconsensus.tags.TagMap
Returns the TagValue associated with the given TagKey.
getTextFormat() - Method in interface openconsensus.tags.Tagger
Returns the TextFormat for this implementation.
getTextFormat() - Method in interface openconsensus.trace.Tracer
Returns the TextFormat for this implementation.
getTimedEvents() - Method in class openconsensus.trace.SpanData
Returns the timed events recorded for this Span.
getTimestamp() - Method in class openconsensus.trace.SpanData.TimedEvent
Returns the Timestamp of this event.
getTraceId() - Method in class openconsensus.trace.SpanContext
Returns the trace identifier associated with this SpanContext.
getTraceOptions() - Method in class openconsensus.trace.SpanContext
Returns the TraceOptions associated with this SpanContext.
getTracer() - Static method in class openconsensus.trace.Trace
Returns the global Tracer.
getTracestate() - Method in class openconsensus.trace.SpanContext
Returns the Tracestate associated with this SpanContext.
getType() - Method in class openconsensus.trace.AttributeValue
Returns a Type corresponding to the underlying value of this AttributeValue.
getValue() - Method in class openconsensus.metrics.LabelValue
Returns the value of this LabelValue.
getValue() - Method in class openconsensus.tags.Tag
Returns the tag's value.
getValue(Context) - Static method in class openconsensus.tags.unsafe.ContextUtils
Returns the value from the specified Context.
getValue() - Method in class openconsensus.trace.Tracestate.Entry
Returns the value String.
getValue(Context) - Static method in class openconsensus.trace.unsafe.ContextUtils
Returns the value from the specified Context.

H

hashCode() - Method in class openconsensus.trace.SpanContext
 
hashCode() - Method in class openconsensus.trace.SpanId
 
hashCode() - Method in class openconsensus.trace.Status
Hash codes on Statuses are not well defined.
hashCode() - Method in class openconsensus.trace.TraceId
 
hashCode() - Method in class openconsensus.trace.TraceOptions
 

I

inject(V, C, TextFormat.Setter<C>) - Method in interface openconsensus.context.propagation.TextFormat
Injects the value downstream.
INSTANCE - Static variable in class openconsensus.tags.EmptyTagMap
Returns the single instance of the EmptyTagMap class.
INSTANCE - Static variable in class openconsensus.trace.BlankSpan
Singleton instance of this class.
INTERNAL - Static variable in class openconsensus.trace.Status
Internal errors.
INVALID - Static variable in class openconsensus.trace.SpanId
The invalid SpanId.
INVALID - Static variable in class openconsensus.trace.TraceId
The invalid TraceId.
INVALID_ARGUMENT - Static variable in class openconsensus.trace.Status
Client specified an invalid argument.
isOk() - Method in class openconsensus.trace.Status
Returns true if this Status is OK, i.e., not an error.
isRecordingEvents() - Method in class openconsensus.trace.BlankSpan
 
isRecordingEvents() - Method in interface openconsensus.trace.Span
Returns true if this Span records events (e.g, Span.addEvent(String).
isSampled() - Method in class openconsensus.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 openconsensus.trace.SpanContext
Returns true if this SpanContext is valid.
isValid() - Method in class openconsensus.trace.SpanId
Returns whether the span identifier is valid.
isValid() - Method in class openconsensus.trace.TraceId
Returns whether the TraceId is valid.

L

LabelKey - Class in openconsensus.metrics
The key of a Label associated with a MetricDescriptor.
LabelValue - Class in openconsensus.metrics
The value of a Label associated with a TimeSeries.
Link - Class in openconsensus.trace
A link to a Span from a different trace.
longAttributeValue(long) - Static method in class openconsensus.trace.AttributeValue
Returns an AttributeValue with a long value.
LongCumulative - Interface in openconsensus.metrics
Long Cumulative metric, to report instantaneous measurement of a long value.
LongCumulative.Builder - Interface in openconsensus.metrics
Builder class for LongCumulative.
LongCumulative.LongPoint - Interface in openconsensus.metrics
The value of a single point in the Cumulative.TimeSeries.
longCumulativeBuilder(String) - Method in interface openconsensus.metrics.MetricRegistry
Returns a builder for a LongCumulative to be added to the registry.
LongGauge - Interface in openconsensus.metrics
Long Gauge metric, to report instantaneous measurement of an int64 value.
LongGauge.Builder - Interface in openconsensus.metrics
Builder class for LongGauge.
LongGauge.LongPoint - Interface in openconsensus.metrics
The value of a single point in the Gauge.TimeSeries.
longGaugeBuilder(String) - Method in interface openconsensus.metrics.MetricRegistry
Returns a builder for a LongGauge to be added to the registry.

M

MAX_LENGTH - Static variable in class openconsensus.tags.TagKey
The maximum length for a tag key name.
MAX_LENGTH - Static variable in class openconsensus.tags.TagValue
The maximum length for a tag value.
Measure - Interface in openconsensus.stats
The definition of a Measurement that is taken by OpenConsensus library.
Measure.Builder - Interface in openconsensus.stats
Builder class for the Measure.
Measure.Type - Enum in openconsensus.stats
An enum that represents all the possible value types for a Measure or a Measurement.
measureBuilder(String) - Method in interface openconsensus.stats.StatsRecorder
Returns a new builder for a Measure.
Measurement - Class in openconsensus.stats
Immutable representation of a Measurement.
Measurement.MeasurementDouble - Class in openconsensus.stats
double typed Measurement.
Measurement.MeasurementLong - Class in openconsensus.stats
long typed Measurement.
merge(Resource) - Method in class openconsensus.resource.Resource
Returns a new, merged Resource by merging the current Resource with the other Resource.
METADATA_UNLIMITED_PROPAGATION - Static variable in class openconsensus.tags.Tag
Default propagation metadata - unlimited propagation.
Meter - Interface in openconsensus.metrics
Entry point fot metrics API, this object allows to create new MetricRegistry.
Metric - Interface in openconsensus.metrics
Base interface for all metrics defined in this package.
Metric.Builder<B extends Metric.Builder<B,V>,V> - Interface in openconsensus.metrics
 
MetricRegistry - Interface in openconsensus.metrics
Creates and manages a set of metrics for a library/application.
MetricRegistry.Builder - Interface in openconsensus.metrics
Builder class for the MetricRegistry.
metricRegistryBuilder() - Method in interface openconsensus.metrics.Meter
Returns a new builder for a MetricRegistry.
Metrics - Class in openconsensus.metrics
Class for accessing the default Meter.

N

neverSample() - Static method in class openconsensus.trace.samplers.Samplers
Returns a Sampler that always makes a "no" decision on Span sampling.
newNoopMeter() - Static method in class openconsensus.metrics.NoopMetrics
Returns an instance that is a no-op implementations for Meter.
newNoopStatsRecorder() - Static method in class openconsensus.stats.NoopStats
Returns a StatsRecorder that is no-op implementation for StatsRecorder.
newNoopTagger() - Static method in class openconsensus.tags.NoopTags
Returns a Tagger that is a no-op implementation for Tagger.
newNoopTracer() - Static method in class openconsensus.trace.NoopTrace
Returns a Tracer instance that is no-op implementations.
NoopMetrics - Class in openconsensus.metrics
No-op implementations of metrics classes.
NoopScope - Class in openconsensus.context
A Scope that does nothing when it is created or closed.
NoopStats - Class in openconsensus.stats
No-op implementations of stats classes.
NoopTags - Class in openconsensus.tags
No-op implementations of tagging classes.
NoopTrace - Class in openconsensus.trace
No-op implementations of trace classes.
NOT_FOUND - Static variable in class openconsensus.trace.Status
Some requested entity (e.g., file or directory) was not found.

O

OK - Static variable in class openconsensus.trace.Status
The operation completed successfully.
openconsensus.context - package openconsensus.context
 
openconsensus.context.propagation - package openconsensus.context.propagation
 
openconsensus.metrics - package openconsensus.metrics
This package describes the Metrics API that can be used to record application Metrics.
openconsensus.resource - package openconsensus.resource
API for resource information population.
openconsensus.stats - package openconsensus.stats
API for stats recording.
openconsensus.tags - package openconsensus.tags
API for associating tags with scoped operations.
openconsensus.tags.unsafe - package openconsensus.tags.unsafe
 
openconsensus.trace - package openconsensus.trace
API for distributed tracing.
openconsensus.trace.samplers - package openconsensus.trace.samplers
 
openconsensus.trace.unsafe - package openconsensus.trace.unsafe
 
OUT_OF_RANGE - Static variable in class openconsensus.trace.Status
Operation was attempted past the valid range.

P

PERMISSION_DENIED - Static variable in class openconsensus.trace.Status
The caller does not have permission to execute the specified operation.
put(C, String, String) - Method in interface openconsensus.context.propagation.TextFormat.Setter
Replaces a propagated field with the given value.
put(TagKey, TagValue, TagMetadata) - Method in interface openconsensus.tags.TagMapBuilder
Adds the key/value pair and metadata regardless of whether the key is present.

R

record(List<Measurement>) - Method in interface openconsensus.stats.StatsRecorder
Records all given measurements, with the current Tagger.getCurrentTagMap().
record(List<Measurement>, TagMap) - Method in interface openconsensus.stats.StatsRecorder
Records all given measurements, with an explicit TagMap.
record(List<Measurement>, TagMap, SpanContext) - Method in interface openconsensus.stats.StatsRecorder
Records all given measurements, with an explicit TagMap.
recordSpanData(SpanData) - Method in interface openconsensus.trace.Tracer
Records a SpanData.
remove(TagKey) - Method in interface openconsensus.tags.TagMapBuilder
Removes the key if it exists.
remove(String) - Method in class openconsensus.trace.Tracestate.Builder
Removes the Entry that has the given key if it is present.
removeTimeSeries(List<LabelValue>) - Method in interface openconsensus.metrics.Metric
Removes the TimeSeries from the metric, if it is present.
Resource - Class in openconsensus.resource
Resource represents a resource, which capture identifying information about the entities for which signals (stats or traces) are reported.
RESOURCE_EXHAUSTED - Static variable in class openconsensus.trace.Status
Some resource has been exhausted, perhaps a per-user quota, or perhaps the entire file system is out of space.

S

Sampler - Class in openconsensus.trace
Sampler is used to make decisions on Span sampling.
Sampler() - Constructor for class openconsensus.trace.Sampler
 
Samplers - Class in openconsensus.trace.samplers
Static class to access a set of pre-defined Samplers.
Scope - Interface in openconsensus.context
A Closeable that represents a change to the current context over a scope of code.
set(double) - Method in interface openconsensus.metrics.DoubleGauge.DoublePoint
Sets the given value.
set(long) - Method in interface openconsensus.metrics.LongGauge.LongPoint
Sets the given value.
set(String, String) - Method in class openconsensus.trace.Tracestate.Builder
Adds or updates the Entry that has the given key if it is present.
setAttribute(String, String) - Method in class openconsensus.trace.BlankSpan
 
setAttribute(String, long) - Method in class openconsensus.trace.BlankSpan
 
setAttribute(String, double) - Method in class openconsensus.trace.BlankSpan
 
setAttribute(String, boolean) - Method in class openconsensus.trace.BlankSpan
 
setAttribute(String, AttributeValue) - Method in class openconsensus.trace.BlankSpan
 
setAttribute(String, String) - Method in interface openconsensus.trace.Span
Sets an attribute to the Span.
setAttribute(String, long) - Method in interface openconsensus.trace.Span
Sets an attribute to the Span.
setAttribute(String, double) - Method in interface openconsensus.trace.Span
Sets an attribute to the Span.
setAttribute(String, boolean) - Method in interface openconsensus.trace.Span
Sets an attribute to the Span.
setAttribute(String, AttributeValue) - Method in interface openconsensus.trace.Span
Sets an attribute to the Span.
setComponent(String) - Method in interface openconsensus.metrics.MetricRegistry.Builder
Sets the name of the component that reports these metrics.
setConstantLabels(Map<LabelKey, LabelValue>) - Method in interface openconsensus.metrics.Metric.Builder
Sets the map of constant labels (they will be added to all the TimeSeries) for the Metric.
setDescription(String) - Method in interface openconsensus.metrics.Metric.Builder
Sets the description of the Metric.
setDescription(String) - Method in interface openconsensus.stats.Measure.Builder
Sets the detailed description of the measure, used in documentation.
setIsSampled(boolean) - Method in class openconsensus.trace.TraceOptions.Builder
Sets the sampling bit in the options.
setLabelKeys(List<LabelKey>) - Method in interface openconsensus.metrics.Metric.Builder
Sets the list of label keys for the Metric.
setRecordEvents(boolean) - Method in interface openconsensus.trace.Span.Builder
Sets the option to record events even if not sampled for the newly created Span.
setResource(Resource) - Method in interface openconsensus.metrics.MetricRegistry.Builder
Sets the Resource associated with the new MetricRegistry.
setResource(Resource) - Method in interface openconsensus.trace.Tracer
Sets the Resource to be associated with all Span and SpanData objects recorded by this Tracer.
setSampler(Sampler) - Method in interface openconsensus.trace.Span.Builder
Sets the Sampler to use.
setSpanKind(Span.Kind) - Method in interface openconsensus.trace.Span.Builder
Sets the Span.Kind for the newly created Span.
setStatus(Status) - Method in class openconsensus.trace.BlankSpan
 
setStatus(Status) - Method in interface openconsensus.trace.Span
Sets the Status to the Span.
setType(Measure.Type) - Method in interface openconsensus.stats.Measure.Builder
Sets the Type corresponding to the underlying value of this Measure.
setUnit(String) - Method in interface openconsensus.metrics.Metric.Builder
Sets the unit of the Metric.
setUnit(String) - Method in interface openconsensus.stats.Measure.Builder
Sets the units in which Measure values are measured.
shouldSample(SpanContext, Boolean, TraceId, SpanId, String, List<Span>) - Method in class openconsensus.trace.Sampler
Called during Span creation to make a sampling decision.
SIZE - Static variable in class openconsensus.trace.SpanId
The size in bytes of the SpanId.
SIZE - Static variable in class openconsensus.trace.TraceId
The size in bytes of the TraceId.
SIZE - Static variable in class openconsensus.trace.TraceOptions
The size in bytes of the TraceOptions.
Span - Interface in openconsensus.trace
An interface that represents a span.
Span.Builder - Interface in openconsensus.trace
Span.Builder is used to construct Span instances which define arbitrary scopes of code that are sampled for distributed tracing as a single atomic unit.
Span.Kind - Enum in openconsensus.trace
Type of span.
spanBuilder(String) - Method in interface openconsensus.trace.Tracer
Returns a Span.Builder 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 interface openconsensus.trace.Tracer
Returns a Span.Builder 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 interface openconsensus.trace.Tracer
Returns a Span.Builder to create and start a new child Span (or root if parent is null), with parent being the remote Span designated by the SpanContext.
SpanContext - Class in openconsensus.trace
A class that represents a span context.
SpanData - Class in openconsensus.trace
Immutable representation of all data collected by the Span class.
SpanData.TimedEvent - Class in openconsensus.trace
A timed event representation.
SpanData.Timestamp - Class in openconsensus.trace
A representation of an instant in time.
SpanId - Class in openconsensus.trace
A class that represents a span identifier.
startSpan() - Method in interface openconsensus.trace.Span.Builder
Starts a new Span.
startSpanAndCall(Callable<V>) - Method in interface openconsensus.trace.Span.Builder
Starts a new span and calls the given Callable with the newly created Span as the current Span, and ends the Span after the Callable is called.
startSpanAndRun(Runnable) - Method in interface openconsensus.trace.Span.Builder
Starts a new span and runs the given Runnable with the newly created Span as the current Span, and ends the Span after the Runnable is run.
Stats - Class in openconsensus.stats
Class for accessing the global StatsRecorder.
StatsRecorder - Interface in openconsensus.stats
Provides methods to record stats against tags.
Status - Class in openconsensus.trace
Defines the status of a Span by providing a standard Status.CanonicalCode in conjunction with an optional descriptive message.
Status.CanonicalCode - Enum in openconsensus.trace
The set of canonical status codes.
stringAttributeValue(String) - Static method in class openconsensus.trace.AttributeValue
Returns an AttributeValue with a string value.

T

Tag - Class in openconsensus.tags
TagKey paired with a TagValue.
Tagger - Interface in openconsensus.tags
Object for creating new TagMaps and TagMaps based on the current context.
TagKey - Class in openconsensus.tags
A key to a value stored in a TagMap.
TagMap - Interface in openconsensus.tags
A map from TagKey to TagValue and TagMetadata that can be used to label anything that is associated with a specific operation.
TagMapBuilder - Interface in openconsensus.tags
Builder for the TagMap class.
TagMetadata - Class in openconsensus.tags
TagMetadata contains properties associated with a Tag.
TagMetadata.TagTtl - Enum in openconsensus.tags
TagMetadata.TagTtl is an integer that represents number of hops a tag can propagate.
Tags - Class in openconsensus.tags
Class to access the global Tagger.
TagValue - Class in openconsensus.tags
A validated tag value.
TextFormat<V> - Interface in openconsensus.context.propagation
Injects and extracts a value as text into carriers that travel in-band across process boundaries.
TextFormat.Getter<C> - Interface in openconsensus.context.propagation
Interface that allows a TextFormat to read propagated fields from a carrier.
TextFormat.Setter<C> - Interface in openconsensus.context.propagation
Class that allows a TextFormat to set propagated fields into a carrier.
toBuilder(TagMap) - Method in interface openconsensus.tags.Tagger
Returns a builder based on this TagMap.
toBuilder() - Method in class openconsensus.trace.Tracestate
Returns a Builder based on this Tracestate.
toByteArray(V) - Method in interface openconsensus.context.propagation.BinaryFormat
Serializes the value into the on-the-wire representation.
ToDoubleFunction<T> - Interface in openconsensus.metrics
Represents a function that produces a double-valued result.
ToLongFunction<T> - Interface in openconsensus.metrics
Represents a function that produces a long-valued result.
toLowerBase16() - Method in class openconsensus.trace.SpanId
Returns the lowercase base16 encoding of this SpanId.
toLowerBase16() - Method in class openconsensus.trace.TraceId
Returns the lowercase base16 encoding of this TraceId.
toLowerBase16() - Method in class openconsensus.trace.TraceOptions
Returns the lowercase base16 encoding of this TraceOptions.
toStatus() - Method in enum openconsensus.trace.Status.CanonicalCode
Returns the status that has the current CanonicalCode..
toString() - Method in class openconsensus.trace.BlankSpan
 
toString() - Method in class openconsensus.trace.SpanContext
 
toString() - Method in class openconsensus.trace.SpanId
 
toString() - Method in class openconsensus.trace.Status
 
toString() - Method in class openconsensus.trace.TraceId
 
toString() - Method in class openconsensus.trace.TraceOptions
 
Trace - Class in openconsensus.trace
Class that manages a global instance of the Tracer.
TraceId - Class in openconsensus.trace
A class that represents a trace identifier.
TraceOptions - Class in openconsensus.trace
A class that represents global trace options.
TraceOptions.Builder - Class in openconsensus.trace
Builder class for TraceOptions.
Tracer - Interface in openconsensus.trace
Tracer is a simple, interface for Span creation and in-process context interaction.
Tracestate - Class in openconsensus.trace
Carries tracing-system specific context in a list of key-value pairs.
Tracestate.Builder - Class in openconsensus.trace
Builder class for Tracestate.
Tracestate.Entry - Class in openconsensus.trace
Immutable key-value pair for Tracestate.

U

UNAUTHENTICATED - Static variable in class openconsensus.trace.Status
The request does not have valid authentication credentials for the operation.
UNAVAILABLE - Static variable in class openconsensus.trace.Status
The service is currently unavailable.
UNIMPLEMENTED - Static variable in class openconsensus.trace.Status
Operation is not implemented or not supported/enabled in this service.
UNKNOWN - Static variable in class openconsensus.trace.Status
Unknown error.
updateName(String) - Method in class openconsensus.trace.BlankSpan
 
updateName(String) - Method in interface openconsensus.trace.Span
Updates the Span name.

V

value() - Method in enum openconsensus.trace.Status.CanonicalCode
Returns the numerical value of the code.
valueOf(String) - Static method in enum openconsensus.stats.Measure.Type
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum openconsensus.tags.TagMetadata.TagTtl
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum openconsensus.trace.AttributeValue.Type
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum openconsensus.trace.Span.Kind
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum openconsensus.trace.Status.CanonicalCode
Returns the enum constant of this type with the specified name.
values() - Static method in enum openconsensus.stats.Measure.Type
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum openconsensus.tags.TagMetadata.TagTtl
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum openconsensus.trace.AttributeValue.Type
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum openconsensus.trace.Span.Kind
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum openconsensus.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 openconsensus.trace.Status
Creates a derived instance of Status with the given description.
withSpan(Span) - Method in interface openconsensus.trace.Tracer
Enters the scope of code where the given Span is in the current Context, and returns an object that represents that scope.
withSpan(Span, Runnable) - Method in interface openconsensus.trace.Tracer
Returns a Runnable that runs the given task with the given Span in the current context.
withSpan(Span, Callable<V>) - Method in interface openconsensus.trace.Tracer
Returns a Callable that runs the given task with the given Span in the current context.
withTagMap(TagMap) - Method in interface openconsensus.tags.Tagger
Enters the scope of code where the given TagMap is in the current context (replacing the previous TagMap) and returns an object that represents that scope.
withValue(Context, TagMap) - Static method in class openconsensus.tags.unsafe.ContextUtils
Creates a new Context with the given value set.
withValue(Context, Span) - Static method in class openconsensus.trace.unsafe.ContextUtils
Creates a new Context with the given value set.
A B C D E F G H I L M N O P R S T U V W 
Skip navigation links