Index

A B C D E F G H I L M N O P R S T V 
All Classes and Interfaces|All Packages

A

AbstractPointAssert<PointAssertT extends AbstractPointAssert<PointAssertT,PointT>,PointT extends io.opentelemetry.sdk.metrics.data.PointData> - Class in io.opentelemetry.sdk.testing.assertj
Assertions for an exported PointData.
advance(long, TimeUnit) - Method in class io.opentelemetry.sdk.testing.time.TestClock
Advances the time and mutates this instance.
advance(Duration) - Method in class io.opentelemetry.sdk.testing.time.TestClock
Advances the time and mutates this instance.
after() - Method in class io.opentelemetry.sdk.testing.junit4.OpenTelemetryRule
 
afterAll(ExtensionContext) - Method in class io.opentelemetry.sdk.testing.junit5.OpenTelemetryExtension
 
assertThat(Attributes) - Static method in class io.opentelemetry.sdk.testing.assertj.OpenTelemetryAssertions
Returns an assertion for Attributes.
assertThat(LogRecordData) - Static method in class io.opentelemetry.sdk.testing.assertj.OpenTelemetryAssertions
Returns an assertion for LogRecordData.
assertThat(MetricData) - Static method in class io.opentelemetry.sdk.testing.assertj.OpenTelemetryAssertions
Returns an assertion for MetricData.
assertThat(EventData) - Static method in class io.opentelemetry.sdk.testing.assertj.OpenTelemetryAssertions
Returns an assertion for EventDataAssert.
assertThat(SpanData) - Static method in class io.opentelemetry.sdk.testing.assertj.OpenTelemetryAssertions
Returns an assertion for SpanData.
assertThat(Collection<List<SpanData>>) - Static method in class io.opentelemetry.sdk.testing.assertj.TracesAssert
Returns an assertion for a list of traces.
assertThat(List<SpanData>) - Static method in class io.opentelemetry.sdk.testing.assertj.TracesAssert
Returns an assertion for a list of traces.
assertTraces() - Method in class io.opentelemetry.sdk.testing.junit5.OpenTelemetryExtension
Returns a TracesAssert for asserting on the currently exported traces.
AttributeAssertion - Class in io.opentelemetry.sdk.testing.assertj
An assertion on an attribute key.
attributeEntry(String, boolean) - Static method in class io.opentelemetry.sdk.testing.assertj.OpenTelemetryAssertions
Returns an attribute entry with a boolean value for use with AttributesAssert.containsOnly(java.util.Map.Entry[]).
attributeEntry(String, boolean...) - Static method in class io.opentelemetry.sdk.testing.assertj.OpenTelemetryAssertions
Returns an attribute entry with a boolean array value for use with AttributesAssert.containsOnly(java.util.Map.Entry[]).
attributeEntry(String, double) - Static method in class io.opentelemetry.sdk.testing.assertj.OpenTelemetryAssertions
Returns an attribute entry with a double value for use with AttributesAssert.containsOnly(java.util.Map.Entry[]).
attributeEntry(String, double...) - Static method in class io.opentelemetry.sdk.testing.assertj.OpenTelemetryAssertions
Returns an attribute entry with a double array value for use with AttributesAssert.containsOnly(java.util.Map.Entry[]).
attributeEntry(String, long) - Static method in class io.opentelemetry.sdk.testing.assertj.OpenTelemetryAssertions
Returns an attribute entry with a long value for use with AttributesAssert.containsOnly(java.util.Map.Entry[]).
attributeEntry(String, long...) - Static method in class io.opentelemetry.sdk.testing.assertj.OpenTelemetryAssertions
Returns an attribute entry with a long array value for use with AttributesAssert.containsOnly(java.util.Map.Entry[]).
attributeEntry(String, String) - Static method in class io.opentelemetry.sdk.testing.assertj.OpenTelemetryAssertions
Returns an attribute entry with a String value for use with AttributesAssert.containsOnly(java.util.Map.Entry[]).
attributeEntry(String, String...) - Static method in class io.opentelemetry.sdk.testing.assertj.OpenTelemetryAssertions
Returns an attribute entry with a String array value for use with AttributesAssert.containsOnly(java.util.Map.Entry[]).
AttributesAssert - Class in io.opentelemetry.sdk.testing.assertj
Assertions for Attributes.

B

before() - Method in class io.opentelemetry.sdk.testing.junit4.OpenTelemetryRule
 
beforeAll(ExtensionContext) - Method in class io.opentelemetry.sdk.testing.junit5.OpenTelemetryExtension
 
beforeEach(ExtensionContext) - Method in class io.opentelemetry.sdk.testing.junit5.OpenTelemetryExtension
 
build() - Method in class io.opentelemetry.sdk.testing.exporter.InMemoryMetricReaderBuilder
Constructs a InMemoryMetricReader based on the builder's values.
build() - Method in class io.opentelemetry.sdk.testing.logs.TestLogRecordData.Builder
Create a new LogRecordData instance from the data in this.
build() - Method in class io.opentelemetry.sdk.testing.trace.TestSpanData.Builder
Create a new SpanData instance from the data in this.
builder() - Static method in class io.opentelemetry.sdk.testing.exporter.InMemoryMetricReader
Creates an InMemoryMetricReaderBuilder with defaults.
builder() - Static method in class io.opentelemetry.sdk.testing.logs.TestLogRecordData
Creates a new Builder for creating an LogRecordData instance.
builder() - Static method in class io.opentelemetry.sdk.testing.trace.TestSpanData
Creates a new Builder for creating an SpanData instance.
Builder() - Constructor for class io.opentelemetry.sdk.testing.logs.TestLogRecordData.Builder
 
Builder() - Constructor for class io.opentelemetry.sdk.testing.trace.TestSpanData.Builder
 

C

clearLogRecords() - Method in class io.opentelemetry.sdk.testing.junit4.OpenTelemetryRule
Clears the collected exported LogRecordData.
clearLogRecords() - Method in class io.opentelemetry.sdk.testing.junit5.OpenTelemetryExtension
Clears the collected exported LogRecordData.
clearMetrics() - Method in class io.opentelemetry.sdk.testing.junit4.OpenTelemetryRule
Clears all registered metric instruments, such that OpenTelemetryRule.getMetrics() is empty.
clearMetrics() - Method in class io.opentelemetry.sdk.testing.junit5.OpenTelemetryExtension
Clears all registered metric instruments, such that OpenTelemetryExtension.getMetrics() is empty.
clearSpans() - Method in class io.opentelemetry.sdk.testing.junit4.OpenTelemetryRule
Clears the collected exported SpanData.
clearSpans() - Method in class io.opentelemetry.sdk.testing.junit5.OpenTelemetryExtension
Clears the collected exported SpanData.
collectAllMetrics() - Method in class io.opentelemetry.sdk.testing.exporter.InMemoryMetricReader
Returns all metrics accumulated since the last call.
containsEntry(AttributeKey<Long>, int) - Method in class io.opentelemetry.sdk.testing.assertj.AttributesAssert
Asserts the attributes have the given key and value.
containsEntry(AttributeKey<T>, T) - Method in class io.opentelemetry.sdk.testing.assertj.AttributesAssert
Asserts the attributes have the given key and value.
containsEntry(String, boolean) - Method in class io.opentelemetry.sdk.testing.assertj.AttributesAssert
Asserts the attributes have the given key and boolean value.
containsEntry(String, double) - Method in class io.opentelemetry.sdk.testing.assertj.AttributesAssert
Asserts the attributes have the given key and double value.
containsEntry(String, long) - Method in class io.opentelemetry.sdk.testing.assertj.AttributesAssert
Asserts the attributes have the given key and long value.
containsEntry(String, Boolean...) - Method in class io.opentelemetry.sdk.testing.assertj.AttributesAssert
Asserts the attributes have the given key and boolean array value.
containsEntry(String, Double...) - Method in class io.opentelemetry.sdk.testing.assertj.AttributesAssert
Asserts the attributes have the given key and double array value.
containsEntry(String, Long...) - Method in class io.opentelemetry.sdk.testing.assertj.AttributesAssert
Asserts the attributes have the given key and long array value.
containsEntry(String, String) - Method in class io.opentelemetry.sdk.testing.assertj.AttributesAssert
Asserts the attributes have the given key and string value.
containsEntry(String, String...) - Method in class io.opentelemetry.sdk.testing.assertj.AttributesAssert
Asserts the attributes have the given key and string array value.
containsEntryWithBooleanValuesOf(String, Iterable<Boolean>) - Method in class io.opentelemetry.sdk.testing.assertj.AttributesAssert
Asserts the attributes have the given key and boolean array value.
containsEntryWithDoubleValuesOf(String, Iterable<Double>) - Method in class io.opentelemetry.sdk.testing.assertj.AttributesAssert
Asserts the attributes have the given key and double array value.
containsEntryWithLongValuesOf(String, Iterable<Long>) - Method in class io.opentelemetry.sdk.testing.assertj.AttributesAssert
Asserts the attributes have the given key and long array value.
containsEntryWithStringValuesOf(String, Iterable<String>) - Method in class io.opentelemetry.sdk.testing.assertj.AttributesAssert
Asserts the attributes have the given key and string array value.
containsKey(AttributeKey<?>) - Method in class io.opentelemetry.sdk.testing.assertj.AttributesAssert
Asserts the attributes contain the given key.
containsKey(String) - Method in class io.opentelemetry.sdk.testing.assertj.AttributesAssert
Asserts the attributes contain the given key.
containsOnly(Map.Entry<? extends AttributeKey<?>, ?>...) - Method in class io.opentelemetry.sdk.testing.assertj.AttributesAssert
Asserts the attributes only contain the given entries.
create() - Static method in class io.opentelemetry.sdk.testing.exporter.InMemoryLogRecordExporter
Returns a new instance of the InMemoryLogRecordExporter.
create() - Static method in class io.opentelemetry.sdk.testing.exporter.InMemoryMetricExporter
Returns a new InMemoryMetricExporter with a aggregation temporality of AggregationTemporality.CUMULATIVE.
create() - Static method in class io.opentelemetry.sdk.testing.exporter.InMemoryMetricReader
Returns a new InMemoryMetricReader.
create() - Static method in class io.opentelemetry.sdk.testing.exporter.InMemorySpanExporter
Returns a new instance of the InMemorySpanExporter.
create() - Static method in class io.opentelemetry.sdk.testing.junit4.OpenTelemetryRule
Returns a OpenTelemetryRule with a default SDK initialized with an in-memory span exporter and W3C trace context propagation.
create() - Static method in class io.opentelemetry.sdk.testing.junit5.OpenTelemetryExtension
Returns a OpenTelemetryExtension with a default SDK initialized with an in-memory span exporter and W3C trace context propagation.
create() - Static method in class io.opentelemetry.sdk.testing.time.TestClock
Creates a clock initialized to a constant non-zero time.
create(AggregationTemporality) - Static method in class io.opentelemetry.sdk.testing.exporter.InMemoryMetricExporter
Returns a new InMemoryMetricExporter with the given aggregationTemporality.
create(AggregationTemporalitySelector, DefaultAggregationSelector) - Static method in class io.opentelemetry.sdk.testing.exporter.InMemoryMetricReader
Returns a new InMemoryMetricReader.
create(Instant) - Static method in class io.opentelemetry.sdk.testing.time.TestClock
Creates a clock with the given time.
createDelta() - Static method in class io.opentelemetry.sdk.testing.exporter.InMemoryMetricReader
Creates a new InMemoryMetricReader that prefers DELTA aggregation.

D

doesNotContainKey(AttributeKey<?>) - Method in class io.opentelemetry.sdk.testing.assertj.AttributesAssert
Asserts the attributes do not contain the given key.
doesNotContainKey(String) - Method in class io.opentelemetry.sdk.testing.assertj.AttributesAssert
Asserts the attributes do not contain the given key.
DoubleExemplarAssert - Class in io.opentelemetry.sdk.testing.assertj
Assertions for an exported DoubleExemplarData.
DoubleGaugeAssert - Class in io.opentelemetry.sdk.testing.assertj
Assertions for an exported double GaugeData.
DoublePointAssert - Class in io.opentelemetry.sdk.testing.assertj
Test assertions for DoublePointData.
DoubleSumAssert - Class in io.opentelemetry.sdk.testing.assertj
Test assertions for double SumData.

E

endsAt(long) - Method in class io.opentelemetry.sdk.testing.assertj.SpanDataAssert
Asserts the span ends at the given epoch timestamp, in nanos.
endsAt(long, TimeUnit) - Method in class io.opentelemetry.sdk.testing.assertj.SpanDataAssert
Asserts the span ends at the given epoch timestamp.
endsAt(Instant) - Method in class io.opentelemetry.sdk.testing.assertj.SpanDataAssert
Asserts the span ends at the given epoch timestamp.
equalTo(AttributeKey<Long>, int) - Static method in class io.opentelemetry.sdk.testing.assertj.OpenTelemetryAssertions
Returns an AttributeAssertion that asserts the given key is present with the given value.
equalTo(AttributeKey<T>, T) - Static method in class io.opentelemetry.sdk.testing.assertj.OpenTelemetryAssertions
Returns an AttributeAssertion that asserts the given key is present with the given value.
EventDataAssert - Class in io.opentelemetry.sdk.testing.assertj
Assertions for EventData.
ExponentialHistogramAssert - Class in io.opentelemetry.sdk.testing.assertj
Test assertions for ExponentialHistogramData.
ExponentialHistogramBucketsAssert - Class in io.opentelemetry.sdk.testing.assertj
Test assertions for ExponentialHistogramBuckets.
ExponentialHistogramPointAssert - Class in io.opentelemetry.sdk.testing.assertj
Test assertions for ExponentialHistogramPointData.
export(Collection<LogRecordData>) - Method in class io.opentelemetry.sdk.testing.exporter.InMemoryLogRecordExporter
Exports the collection of Logs into the inmemory queue.
export(Collection<MetricData>) - Method in class io.opentelemetry.sdk.testing.exporter.InMemoryMetricExporter
Exports the collection of Metrics into the inmemory queue.
export(Collection<SpanData>) - Method in class io.opentelemetry.sdk.testing.exporter.InMemorySpanExporter
 

F

flush() - Method in class io.opentelemetry.sdk.testing.exporter.InMemoryLogRecordExporter
 
flush() - Method in class io.opentelemetry.sdk.testing.exporter.InMemoryMetricExporter
The InMemory exporter does not batch metrics, so this method will immediately return with success.
flush() - Method in class io.opentelemetry.sdk.testing.exporter.InMemorySpanExporter
The InMemory exporter does not batch spans, so this method will immediately return with success.
forceFlush() - Method in class io.opentelemetry.sdk.testing.exporter.InMemoryMetricReader
 

G

get() - Method in class io.opentelemetry.sdk.testing.context.SettableContextStorageProvider
 
getAggregationTemporality(InstrumentType) - Method in class io.opentelemetry.sdk.testing.exporter.InMemoryMetricExporter
 
getAggregationTemporality(InstrumentType) - Method in class io.opentelemetry.sdk.testing.exporter.InMemoryMetricReader
 
getContextStorage() - Static method in class io.opentelemetry.sdk.testing.context.SettableContextStorageProvider
Returns the current ContextStorage.
getDefaultAggregation(InstrumentType) - Method in class io.opentelemetry.sdk.testing.exporter.InMemoryMetricReader
 
getFinishedLogRecordItems() - Method in class io.opentelemetry.sdk.testing.exporter.InMemoryLogRecordExporter
Returns a List of the finished Logs, represented by LogRecord.
getFinishedMetricItems() - Method in class io.opentelemetry.sdk.testing.exporter.InMemoryMetricExporter
Returns a List of the finished Metrics, represented by MetricData.
getFinishedSpanItems() - Method in class io.opentelemetry.sdk.testing.exporter.InMemorySpanExporter
Returns a List of the finished Spans, represented by SpanData.
getInstrumentationLibraryInfo() - Method in class io.opentelemetry.sdk.testing.trace.TestSpanData
Deprecated.
getInstrumentationScopeInfo() - Method in class io.opentelemetry.sdk.testing.trace.TestSpanData
 
getLogRecords() - Method in class io.opentelemetry.sdk.testing.junit4.OpenTelemetryRule
Returns all the exported LogRecordData so far.
getLogRecords() - Method in class io.opentelemetry.sdk.testing.junit5.OpenTelemetryExtension
Returns all the exported LogRecordData so far.
getMemoryMode() - Method in class io.opentelemetry.sdk.testing.exporter.InMemoryMetricReader
 
getMetrics() - Method in class io.opentelemetry.sdk.testing.junit4.OpenTelemetryRule
Returns the current MetricData in AggregationTemporality.CUMULATIVE format.
getMetrics() - Method in class io.opentelemetry.sdk.testing.junit5.OpenTelemetryExtension
Returns the current MetricData in AggregationTemporality.CUMULATIVE format.
getOpenTelemetry() - Method in class io.opentelemetry.sdk.testing.junit4.OpenTelemetryRule
Returns the OpenTelemetrySdk created by this extension.
getOpenTelemetry() - Method in class io.opentelemetry.sdk.testing.junit5.OpenTelemetryExtension
Returns the OpenTelemetrySdk created by this extension.
getSpan(int) - Method in class io.opentelemetry.sdk.testing.assertj.TraceAssert
Returns the span at the index within the trace.
getSpans() - Method in class io.opentelemetry.sdk.testing.junit4.OpenTelemetryRule
Returns all the exported SpanData so far.
getSpans() - Method in class io.opentelemetry.sdk.testing.junit5.OpenTelemetryExtension
Returns all the exported SpanData so far.

H

hasAttribute(AttributeKey<T>, T) - Method in class io.opentelemetry.sdk.testing.assertj.AbstractPointAssert
Asserts the point has the given attribute.
hasAttribute(AttributeKey<T>, T) - Method in class io.opentelemetry.sdk.testing.assertj.ResourceAssert
Asserts the resource has the given attribute.
hasAttribute(AttributeKey<T>, T) - Method in class io.opentelemetry.sdk.testing.assertj.SpanDataAssert
Asserts the span has the given attribute.
hasAttribute(AttributeAssertion) - Method in class io.opentelemetry.sdk.testing.assertj.AbstractPointAssert
Asserts the point has an attribute matching the attributeAssertion.
hasAttribute(AttributeAssertion) - Method in class io.opentelemetry.sdk.testing.assertj.ResourceAssert
Asserts the resource has an attribute matching the attributeAssertion.
hasAttribute(AttributeAssertion) - Method in class io.opentelemetry.sdk.testing.assertj.SpanDataAssert
Asserts the span has an attribute matching the attributeAssertion.
hasAttributes(Attributes) - Method in class io.opentelemetry.sdk.testing.assertj.AbstractPointAssert
Asserts the point has the given attributes.
hasAttributes(Attributes) - Method in class io.opentelemetry.sdk.testing.assertj.EventDataAssert
Asserts the event has the given attributes.
hasAttributes(Attributes) - Method in class io.opentelemetry.sdk.testing.assertj.LogRecordDataAssert
Asserts the log has the given attributes.
hasAttributes(Attributes) - Method in class io.opentelemetry.sdk.testing.assertj.ResourceAssert
Asserts the resource has the given attributes.
hasAttributes(Attributes) - Method in class io.opentelemetry.sdk.testing.assertj.SpanDataAssert
Asserts the span has the given attributes.
hasAttributes(Map.Entry<? extends AttributeKey<?>, ?>...) - Method in class io.opentelemetry.sdk.testing.assertj.AbstractPointAssert
Asserts the point has the given attributes.
hasAttributes(Map.Entry<? extends AttributeKey<?>, ?>...) - Method in class io.opentelemetry.sdk.testing.assertj.LogRecordDataAssert
Asserts the log has the given attributes.
hasAttributes(Map.Entry<? extends AttributeKey<?>, ?>...) - Method in class io.opentelemetry.sdk.testing.assertj.ResourceAssert
Asserts the resource has the given attributes.
hasAttributes(Map.Entry<? extends AttributeKey<?>, ?>...) - Method in class io.opentelemetry.sdk.testing.assertj.SpanDataAssert
Asserts the span has the given attributes.
hasAttributesSatisfying(AttributeAssertion...) - Method in class io.opentelemetry.sdk.testing.assertj.AbstractPointAssert
Asserts the point has attributes matching all assertions.
hasAttributesSatisfying(AttributeAssertion...) - Method in class io.opentelemetry.sdk.testing.assertj.EventDataAssert
Asserts the event has attributes matching all assertions.
hasAttributesSatisfying(AttributeAssertion...) - Method in class io.opentelemetry.sdk.testing.assertj.LogRecordDataAssert
Asserts the log has attributes matching all assertions.
hasAttributesSatisfying(AttributeAssertion...) - Method in class io.opentelemetry.sdk.testing.assertj.ResourceAssert
Asserts the event has attributes matching all assertions.
hasAttributesSatisfying(AttributeAssertion...) - Method in class io.opentelemetry.sdk.testing.assertj.SpanDataAssert
Asserts the event has attributes matching all assertions.
hasAttributesSatisfying(Iterable<AttributeAssertion>) - Method in class io.opentelemetry.sdk.testing.assertj.AbstractPointAssert
Asserts the point has attributes matching all assertions.
hasAttributesSatisfying(Iterable<AttributeAssertion>) - Method in class io.opentelemetry.sdk.testing.assertj.EventDataAssert
Asserts the event has attributes matching all assertions.
hasAttributesSatisfying(Iterable<AttributeAssertion>) - Method in class io.opentelemetry.sdk.testing.assertj.LogRecordDataAssert
Asserts the log has attributes matching all assertions.
hasAttributesSatisfying(Iterable<AttributeAssertion>) - Method in class io.opentelemetry.sdk.testing.assertj.ResourceAssert
Asserts the event has attributes matching all assertions.
hasAttributesSatisfying(Iterable<AttributeAssertion>) - Method in class io.opentelemetry.sdk.testing.assertj.SpanDataAssert
Asserts the event has attributes matching all assertions.
hasAttributesSatisfying(Consumer<Attributes>) - Method in class io.opentelemetry.sdk.testing.assertj.EventDataAssert
Asserts the event has attributes satisfying the given condition.
hasAttributesSatisfying(Consumer<Attributes>) - Method in class io.opentelemetry.sdk.testing.assertj.LogRecordDataAssert
Asserts the log has attributes satisfying the given condition.
hasAttributesSatisfying(Consumer<Attributes>) - Method in class io.opentelemetry.sdk.testing.assertj.ResourceAssert
Asserts the resource has attributes satisfying the given condition.
hasAttributesSatisfying(Consumer<Attributes>) - Method in class io.opentelemetry.sdk.testing.assertj.SpanDataAssert
Asserts the span has attributes satisfying the given condition.
hasAttributesSatisfyingExactly(AttributeAssertion...) - Method in class io.opentelemetry.sdk.testing.assertj.AbstractPointAssert
Asserts the point has attributes matching all assertions and no more.
hasAttributesSatisfyingExactly(AttributeAssertion...) - Method in class io.opentelemetry.sdk.testing.assertj.EventDataAssert
Asserts the event has attributes matching all assertions and no more.
hasAttributesSatisfyingExactly(AttributeAssertion...) - Method in class io.opentelemetry.sdk.testing.assertj.LogRecordDataAssert
Asserts the log has attributes matching all assertions and no more.
hasAttributesSatisfyingExactly(AttributeAssertion...) - Method in class io.opentelemetry.sdk.testing.assertj.ResourceAssert
Asserts the resource has attributes matching all assertions and no more.
hasAttributesSatisfyingExactly(AttributeAssertion...) - Method in class io.opentelemetry.sdk.testing.assertj.SpanDataAssert
Asserts the span has attributes matching all assertions and no more.
hasAttributesSatisfyingExactly(Iterable<AttributeAssertion>) - Method in class io.opentelemetry.sdk.testing.assertj.AbstractPointAssert
Asserts the point has attributes matching all assertions and no more.
hasAttributesSatisfyingExactly(Iterable<AttributeAssertion>) - Method in class io.opentelemetry.sdk.testing.assertj.EventDataAssert
Asserts the event has attributes matching all assertions and no more.
hasAttributesSatisfyingExactly(Iterable<AttributeAssertion>) - Method in class io.opentelemetry.sdk.testing.assertj.LogRecordDataAssert
Asserts the log has attributes matching all assertions and no more.
hasAttributesSatisfyingExactly(Iterable<AttributeAssertion>) - Method in class io.opentelemetry.sdk.testing.assertj.ResourceAssert
Asserts the resource has attributes matching all assertions and no more.
hasAttributesSatisfyingExactly(Iterable<AttributeAssertion>) - Method in class io.opentelemetry.sdk.testing.assertj.SpanDataAssert
Asserts the span has attributes matching all assertions and no more.
hasBody(String) - Method in class io.opentelemetry.sdk.testing.assertj.LogRecordDataAssert
Asserts the log has the given body.
hasBucketBoundaries(double...) - Method in class io.opentelemetry.sdk.testing.assertj.HistogramPointAssert
Asserts the boundaries field matches the expected value.
hasBucketBoundaries(double[], Offset<Double>) - Method in class io.opentelemetry.sdk.testing.assertj.HistogramPointAssert
Asserts the boundaries field matches the expected value.
hasBucketCounts(long...) - Method in class io.opentelemetry.sdk.testing.assertj.HistogramPointAssert
Asserts the counts field matches the expected value.
hasCode(StatusCode) - Method in class io.opentelemetry.sdk.testing.assertj.StatusDataAssert
Asserts that the status has the given StatusCode.
hasCount(long) - Method in class io.opentelemetry.sdk.testing.assertj.ExponentialHistogramPointAssert
Ensures the count field matches the expected value.
hasCount(long) - Method in class io.opentelemetry.sdk.testing.assertj.HistogramPointAssert
Asserts the count field matches the expected value.
hasCount(long) - Method in class io.opentelemetry.sdk.testing.assertj.SummaryPointAssert
Asserts the summary has seen the expected count of measurements.
hasCounts(List<Long>) - Method in class io.opentelemetry.sdk.testing.assertj.ExponentialHistogramBucketsAssert
Ensures that the counts field matches the expected value.
hasDescription(String) - Method in class io.opentelemetry.sdk.testing.assertj.MetricAssert
Asserts the metric has the given description.
hasDescription(String) - Method in class io.opentelemetry.sdk.testing.assertj.StatusDataAssert
Asserts that the status has the given description.
hasDescriptionMatching(String) - Method in class io.opentelemetry.sdk.testing.assertj.StatusDataAssert
Asserts that the status has a description matching the given regular expression.
hasDoubleGaugeSatisfying(Consumer<DoubleGaugeAssert>) - Method in class io.opentelemetry.sdk.testing.assertj.MetricAssert
Asserts this MetricData is a DoubleGauge that satisfies the provided assertion.
hasDoubleSumSatisfying(Consumer<DoubleSumAssert>) - Method in class io.opentelemetry.sdk.testing.assertj.MetricAssert
Asserts this MetricData is a double sum that satisfies the provided assertion.
hasEnded() - Method in class io.opentelemetry.sdk.testing.assertj.SpanDataAssert
Asserts the span has ended.
hasEnded() - Method in class io.opentelemetry.sdk.testing.trace.TestSpanData
 
hasEntrySatisfying(AttributeKey<T>, Consumer<T>) - Method in class io.opentelemetry.sdk.testing.assertj.AttributesAssert
Asserts the attributes have the given key with a value satisfying the given condition.
hasEpochNanos(long) - Method in class io.opentelemetry.sdk.testing.assertj.AbstractPointAssert
Asserts the point has the given epoch timestamp, in nanos.
hasEpochNanos(long) - Method in class io.opentelemetry.sdk.testing.assertj.DoubleExemplarAssert
Asserts the exemplar has the given epoch timestamp, in nanos.
hasEpochNanos(long) - Method in class io.opentelemetry.sdk.testing.assertj.LongExemplarAssert
Asserts the exemplar has the given epoch timestamp, in nanos.
hasEvents(EventData...) - Method in class io.opentelemetry.sdk.testing.assertj.SpanDataAssert
Asserts the span has the given events.
hasEvents(Iterable<EventData>) - Method in class io.opentelemetry.sdk.testing.assertj.SpanDataAssert
Asserts the span has the given events.
hasEventsSatisfying(Consumer<List<? extends EventData>>) - Method in class io.opentelemetry.sdk.testing.assertj.SpanDataAssert
Asserts the span has events satisfying the given condition.
hasEventsSatisfyingExactly(Consumer<EventDataAssert>...) - Method in class io.opentelemetry.sdk.testing.assertj.SpanDataAssert
Asserts that the span under assertion has the same number of events as provided assertions and executes each EventDataAssert in assertions in order with the corresponding event.
hasException(Throwable) - Method in class io.opentelemetry.sdk.testing.assertj.SpanDataAssert
Asserts the span has an exception event for the given Throwable.
hasExemplars(DoubleExemplarData...) - Method in class io.opentelemetry.sdk.testing.assertj.DoublePointAssert
Asserts the point has the specified exemplars, in any order.
hasExemplars(DoubleExemplarData...) - Method in class io.opentelemetry.sdk.testing.assertj.ExponentialHistogramPointAssert
Asserts the point has the specified exemplars, in any order.
hasExemplars(DoubleExemplarData...) - Method in class io.opentelemetry.sdk.testing.assertj.HistogramPointAssert
Asserts the point has the specified exemplars, in any order.
hasExemplars(LongExemplarData...) - Method in class io.opentelemetry.sdk.testing.assertj.LongPointAssert
Asserts the point has the specified exemplars, in any order.
hasExemplarsSatisfying(Iterable<? extends Consumer<DoubleExemplarAssert>>) - Method in class io.opentelemetry.sdk.testing.assertj.DoublePointAssert
Asserts the point has exemplars matching all of the assertions, in any order.
hasExemplarsSatisfying(Iterable<? extends Consumer<DoubleExemplarAssert>>) - Method in class io.opentelemetry.sdk.testing.assertj.ExponentialHistogramPointAssert
Asserts the point has exemplars matching all of the assertions, in any order.
hasExemplarsSatisfying(Iterable<? extends Consumer<DoubleExemplarAssert>>) - Method in class io.opentelemetry.sdk.testing.assertj.HistogramPointAssert
Asserts the point has exemplars matching all of the assertions, in any order.
hasExemplarsSatisfying(Iterable<? extends Consumer<LongExemplarAssert>>) - Method in class io.opentelemetry.sdk.testing.assertj.LongPointAssert
Asserts the point has exemplars matching all of the assertions, in any order.
hasExemplarsSatisfying(Consumer<DoubleExemplarAssert>...) - Method in class io.opentelemetry.sdk.testing.assertj.DoublePointAssert
Asserts the point has exemplars matching all of the assertions, in any order.
hasExemplarsSatisfying(Consumer<DoubleExemplarAssert>...) - Method in class io.opentelemetry.sdk.testing.assertj.ExponentialHistogramPointAssert
Asserts the point has exemplars matching all of the assertions, in any order.
hasExemplarsSatisfying(Consumer<DoubleExemplarAssert>...) - Method in class io.opentelemetry.sdk.testing.assertj.HistogramPointAssert
Asserts the point has exemplars matching all of the assertions, in any order.
hasExemplarsSatisfying(Consumer<LongExemplarAssert>...) - Method in class io.opentelemetry.sdk.testing.assertj.LongPointAssert
Asserts the point has exemplars matching all of the assertions, in any order.
hasExponentialHistogramSatisfying(Consumer<ExponentialHistogramAssert>) - Method in class io.opentelemetry.sdk.testing.assertj.MetricAssert
Asserts this MetricData is an exponential histogram that satisfies the provided assertion.
hasFilteredAttribute(AttributeKey<T>, T) - Method in class io.opentelemetry.sdk.testing.assertj.DoubleExemplarAssert
Asserts the exemplar has the given filtered attribute.
hasFilteredAttribute(AttributeKey<T>, T) - Method in class io.opentelemetry.sdk.testing.assertj.LongExemplarAssert
Asserts the exemplar has the given filtered attribute.
hasFilteredAttribute(AttributeAssertion) - Method in class io.opentelemetry.sdk.testing.assertj.DoubleExemplarAssert
Asserts the exemplar has the given filtered attribute.
hasFilteredAttribute(AttributeAssertion) - Method in class io.opentelemetry.sdk.testing.assertj.LongExemplarAssert
Asserts the exemplar has the given filtered attribute.
hasFilteredAttributes(Attributes) - Method in class io.opentelemetry.sdk.testing.assertj.DoubleExemplarAssert
Asserts the exemplar has the given filtered attributes.
hasFilteredAttributes(Attributes) - Method in class io.opentelemetry.sdk.testing.assertj.LongExemplarAssert
Asserts the exemplar has the given filtered attributes.
hasFilteredAttributes(Map.Entry<? extends AttributeKey<?>, ?>...) - Method in class io.opentelemetry.sdk.testing.assertj.DoubleExemplarAssert
Asserts the exemplar has the given filtered attributes.
hasFilteredAttributes(Map.Entry<? extends AttributeKey<?>, ?>...) - Method in class io.opentelemetry.sdk.testing.assertj.LongExemplarAssert
Asserts the exemplar has the given filtered attributes.
hasFilteredAttributesSatisfying(AttributeAssertion...) - Method in class io.opentelemetry.sdk.testing.assertj.DoubleExemplarAssert
Asserts the exemplar has filtered attributes matching all assertions.
hasFilteredAttributesSatisfying(AttributeAssertion...) - Method in class io.opentelemetry.sdk.testing.assertj.LongExemplarAssert
Asserts the exemplar has filtered attributes matching all assertions.
hasFilteredAttributesSatisfying(Iterable<AttributeAssertion>) - Method in class io.opentelemetry.sdk.testing.assertj.DoubleExemplarAssert
Asserts the exemplar has filtered attributes matching all assertions.
hasFilteredAttributesSatisfying(Iterable<AttributeAssertion>) - Method in class io.opentelemetry.sdk.testing.assertj.LongExemplarAssert
Asserts the exemplar has filtered attributes matching all assertions.
hasFilteredAttributesSatisfyingExactly(AttributeAssertion...) - Method in class io.opentelemetry.sdk.testing.assertj.DoubleExemplarAssert
Asserts the exemplar has filtered attributes matching all assertions and no more.
hasFilteredAttributesSatisfyingExactly(AttributeAssertion...) - Method in class io.opentelemetry.sdk.testing.assertj.LongExemplarAssert
Asserts the exemplar has filtered attributes matching all assertions and no more.
hasFilteredAttributesSatisfyingExactly(Iterable<AttributeAssertion>) - Method in class io.opentelemetry.sdk.testing.assertj.DoubleExemplarAssert
Asserts the exemplar has filtered attributes matching all assertions and no more.
hasFilteredAttributesSatisfyingExactly(Iterable<AttributeAssertion>) - Method in class io.opentelemetry.sdk.testing.assertj.LongExemplarAssert
Asserts the exemplar has filtered attributes matching all assertions and no more.
hasHistogramSatisfying(Consumer<HistogramAssert>) - Method in class io.opentelemetry.sdk.testing.assertj.MetricAssert
Asserts this MetricData is a histogram that satisfies the provided assertion.
hasInstrumentationLibraryInfo(InstrumentationLibraryInfo) - Method in class io.opentelemetry.sdk.testing.assertj.SpanDataAssert
hasInstrumentationScope(InstrumentationScopeInfo) - Method in class io.opentelemetry.sdk.testing.assertj.LogRecordDataAssert
Asserts the InstrumentationScopeInfo associated with a log matches the expected value.
hasInstrumentationScope(InstrumentationScopeInfo) - Method in class io.opentelemetry.sdk.testing.assertj.MetricAssert
Asserts the metric has the given the InstrumentationScopeInfo.
hasInstrumentationScopeInfo(InstrumentationScopeInfo) - Method in class io.opentelemetry.sdk.testing.assertj.SpanDataAssert
Asserts the span has the given InstrumentationScopeInfo.
hasKind(SpanKind) - Method in class io.opentelemetry.sdk.testing.assertj.SpanDataAssert
Asserts the span has the given kind.
hasLinks(LinkData...) - Method in class io.opentelemetry.sdk.testing.assertj.SpanDataAssert
Asserts the span has the given links.
hasLinks(Iterable<LinkData>) - Method in class io.opentelemetry.sdk.testing.assertj.SpanDataAssert
Asserts the span has the given links.
hasLinksSatisfying(Consumer<List<? extends LinkData>>) - Method in class io.opentelemetry.sdk.testing.assertj.SpanDataAssert
Asserts the span has events satisfying the given condition.
hasLongGaugeSatisfying(Consumer<LongGaugeAssert>) - Method in class io.opentelemetry.sdk.testing.assertj.MetricAssert
Asserts this MetricData is a LongGauge that satisfies the provided assertion.
hasLongSumSatisfying(Consumer<LongSumAssert>) - Method in class io.opentelemetry.sdk.testing.assertj.MetricAssert
Asserts this MetricData is a long sum that satisfies the provided assertion.
hasMax(double) - Method in class io.opentelemetry.sdk.testing.assertj.ExponentialHistogramPointAssert
Ensures the min field matches the expected value.
hasMax(double) - Method in class io.opentelemetry.sdk.testing.assertj.HistogramPointAssert
Asserts the max field matches the expected value.
hasMin(double) - Method in class io.opentelemetry.sdk.testing.assertj.ExponentialHistogramPointAssert
Ensures the min field matches the expected value.
hasMin(double) - Method in class io.opentelemetry.sdk.testing.assertj.HistogramPointAssert
Asserts the min field matches the expected value.
hasName(String) - Method in class io.opentelemetry.sdk.testing.assertj.EventDataAssert
Asserts the event has the given name.
hasName(String) - Method in class io.opentelemetry.sdk.testing.assertj.MetricAssert
Asserts the metric has the given name.
hasName(String) - Method in class io.opentelemetry.sdk.testing.assertj.SpanDataAssert
Asserts the span has the given name.
hasNegativeBucketsSatisfying(Consumer<ExponentialHistogramBucketsAssert>) - Method in class io.opentelemetry.sdk.testing.assertj.ExponentialHistogramPointAssert
Ensures the negativeBuckets field satisfies the provided assertion.
hasNoParent() - Method in class io.opentelemetry.sdk.testing.assertj.SpanDataAssert
Asserts the span has no parent span.
hasNotEnded() - Method in class io.opentelemetry.sdk.testing.assertj.SpanDataAssert
Asserts the span has not ended.
hasObservedTimestamp(long) - Method in class io.opentelemetry.sdk.testing.assertj.LogRecordDataAssert
Asserts the log has the given epoch observedTimestamp.
hasOffset(int) - Method in class io.opentelemetry.sdk.testing.assertj.ExponentialHistogramBucketsAssert
Ensures that the totalCount field matches the expected value.
hasParent(SpanData) - Method in class io.opentelemetry.sdk.testing.assertj.SpanDataAssert
Asserts the span has the given parent span.
hasParentSpanId(String) - Method in class io.opentelemetry.sdk.testing.assertj.SpanDataAssert
Asserts the span has the given parent span ID.
hasPointsSatisfying(Iterable<? extends Consumer<DoublePointAssert>>) - Method in class io.opentelemetry.sdk.testing.assertj.DoubleGaugeAssert
Asserts the gauge has points matching all of the given assertions and no more, in any order.
hasPointsSatisfying(Iterable<? extends Consumer<DoublePointAssert>>) - Method in class io.opentelemetry.sdk.testing.assertj.DoubleSumAssert
Asserts the sum has points matching all of the given assertions and no more, in any order.
hasPointsSatisfying(Iterable<? extends Consumer<ExponentialHistogramPointAssert>>) - Method in class io.opentelemetry.sdk.testing.assertj.ExponentialHistogramAssert
Asserts the exponential histogram has points matching all of the given assertions and no more, in any order.
hasPointsSatisfying(Iterable<? extends Consumer<HistogramPointAssert>>) - Method in class io.opentelemetry.sdk.testing.assertj.HistogramAssert
Asserts the histogram has points matching all of the given assertions and no more, in any order.
hasPointsSatisfying(Iterable<? extends Consumer<LongPointAssert>>) - Method in class io.opentelemetry.sdk.testing.assertj.LongGaugeAssert
Asserts the gauge has points matching all of the given assertions and no more, in any order.
hasPointsSatisfying(Iterable<? extends Consumer<LongPointAssert>>) - Method in class io.opentelemetry.sdk.testing.assertj.LongSumAssert
Asserts the sum has points matching all the given assertions and no more, in any order.
hasPointsSatisfying(Iterable<? extends Consumer<SummaryPointAssert>>) - Method in class io.opentelemetry.sdk.testing.assertj.SummaryAssert
Asserts the summary has points matching all of the given assertions and no more, in any order.
hasPointsSatisfying(Consumer<DoublePointAssert>...) - Method in class io.opentelemetry.sdk.testing.assertj.DoubleGaugeAssert
Asserts the gauge has points matching all of the given assertions and no more, in any order.
hasPointsSatisfying(Consumer<DoublePointAssert>...) - Method in class io.opentelemetry.sdk.testing.assertj.DoubleSumAssert
Asserts the sum has points matching all of the given assertions and no more, in any order.
hasPointsSatisfying(Consumer<ExponentialHistogramPointAssert>...) - Method in class io.opentelemetry.sdk.testing.assertj.ExponentialHistogramAssert
Asserts the exponential histogram has points matching all of the given assertions and no more, in any order.
hasPointsSatisfying(Consumer<HistogramPointAssert>...) - Method in class io.opentelemetry.sdk.testing.assertj.HistogramAssert
Asserts the histogram has points matching all of the given assertions and no more, in any order.
hasPointsSatisfying(Consumer<LongPointAssert>...) - Method in class io.opentelemetry.sdk.testing.assertj.LongGaugeAssert
Asserts the gauge has points matching all of the given assertions and no more, in any order.
hasPointsSatisfying(Consumer<LongPointAssert>...) - Method in class io.opentelemetry.sdk.testing.assertj.LongSumAssert
Asserts the sum has points matching all the given assertions and no more, in any order.
hasPointsSatisfying(Consumer<SummaryPointAssert>...) - Method in class io.opentelemetry.sdk.testing.assertj.SummaryAssert
Asserts the summary has points matching all of the given assertions and no more, in any order.
hasPositiveBucketsSatisfying(Consumer<ExponentialHistogramBucketsAssert>) - Method in class io.opentelemetry.sdk.testing.assertj.ExponentialHistogramPointAssert
Ensures the positiveBuckets field satisfies the provided assertion.
hasQuantile(double) - Method in class io.opentelemetry.sdk.testing.assertj.ValueAtQuantileAssert
Asserts the given quantile.
hasResource(Resource) - Method in class io.opentelemetry.sdk.testing.assertj.LogRecordDataAssert
Asserts the Resource associated with a log matches the expected value.
hasResource(Resource) - Method in class io.opentelemetry.sdk.testing.assertj.MetricAssert
Asserts the metric has the given Resource.
hasResource(Resource) - Method in class io.opentelemetry.sdk.testing.assertj.SpanDataAssert
Asserts the span has the given Resource.
hasResourceSatisfying(Consumer<ResourceAssert>) - Method in class io.opentelemetry.sdk.testing.assertj.LogRecordDataAssert
Asserts the log has a resource satisfying the given condition.
hasResourceSatisfying(Consumer<ResourceAssert>) - Method in class io.opentelemetry.sdk.testing.assertj.MetricAssert
Asserts the metric has a resource satisfying the given condition.
hasResourceSatisfying(Consumer<ResourceAssert>) - Method in class io.opentelemetry.sdk.testing.assertj.SpanDataAssert
Asserts the span has a resource satisfying the given condition.
hasScale(int) - Method in class io.opentelemetry.sdk.testing.assertj.ExponentialHistogramPointAssert
Ensures the scale field matches the expected value.
hasSchemaUrl(String) - Method in class io.opentelemetry.sdk.testing.assertj.ResourceAssert
Asserts the resource has a schemaUrl satisfying the given condition.
hasSeverity(Severity) - Method in class io.opentelemetry.sdk.testing.assertj.LogRecordDataAssert
Asserts the log has the given severity.
hasSeverityText(String) - Method in class io.opentelemetry.sdk.testing.assertj.LogRecordDataAssert
Asserts the log has the given severity text.
hasSize(int) - Method in class io.opentelemetry.sdk.testing.assertj.AttributesAssert
Asserts the number of attributes in the collection.
hasSpanContext(SpanContext) - Method in class io.opentelemetry.sdk.testing.assertj.LogRecordDataAssert
Asserts the log has the given span context.
hasSpanId(String) - Method in class io.opentelemetry.sdk.testing.assertj.DoubleExemplarAssert
Asserts the exemplar has the given span ID.
hasSpanId(String) - Method in class io.opentelemetry.sdk.testing.assertj.LongExemplarAssert
Asserts the exemplar has the given span ID.
hasSpanId(String) - Method in class io.opentelemetry.sdk.testing.assertj.SpanDataAssert
Asserts the span has the given span ID.
hasSpansSatisfyingExactly(Iterable<? extends Consumer<SpanDataAssert>>) - Method in class io.opentelemetry.sdk.testing.assertj.TraceAssert
Asserts that the trace under assertion has the same number of spans as provided assertions and executes each SpanDataAssert in assertions in order with the corresponding span.
hasSpansSatisfyingExactly(Consumer<SpanDataAssert>...) - Method in class io.opentelemetry.sdk.testing.assertj.TraceAssert
Asserts that the trace under assertion has the same number of spans as provided assertions and executes each SpanDataAssert in assertions in order with the corresponding span.
hasSpansSatisfyingExactlyInAnyOrder(Iterable<? extends Consumer<SpanDataAssert>>) - Method in class io.opentelemetry.sdk.testing.assertj.TraceAssert
Asserts that the trace under assertion has the same number of spans as provided assertions and verifies that there is a combination of spans that satisfies specified SpanDataAssert assertions in the given order.
hasSpansSatisfyingExactlyInAnyOrder(Consumer<SpanDataAssert>...) - Method in class io.opentelemetry.sdk.testing.assertj.TraceAssert
Asserts that the trace under assertion has the same number of spans as provided assertions and verifies that there is a combination of spans that satisfies specified SpanDataAssert assertions in the given order.
hasStartEpochNanos(long) - Method in class io.opentelemetry.sdk.testing.assertj.AbstractPointAssert
Asserts the point has the given start epoch timestamp, in nanos.
hasStatus(StatusData) - Method in class io.opentelemetry.sdk.testing.assertj.SpanDataAssert
Asserts the span has the given StatusData.
hasStatusSatisfying(Consumer<StatusDataAssert>) - Method in class io.opentelemetry.sdk.testing.assertj.SpanDataAssert
Asserts the span has a status satisfying the given condition.
hasSum(double) - Method in class io.opentelemetry.sdk.testing.assertj.ExponentialHistogramPointAssert
Ensures the sum field matches the expected value.
hasSum(double) - Method in class io.opentelemetry.sdk.testing.assertj.HistogramPointAssert
Asserts the sum field matches the expected value.
hasSum(double) - Method in class io.opentelemetry.sdk.testing.assertj.SummaryPointAssert
Asserts the summary has the expected sum across all observed measurements.
hasSumGreaterThan(double) - Method in class io.opentelemetry.sdk.testing.assertj.HistogramPointAssert
Asserts the sum field contains a greater value than the passed boundary.
hasSummarySatisfying(Consumer<SummaryAssert>) - Method in class io.opentelemetry.sdk.testing.assertj.MetricAssert
Asserts this MetricData is a summary that satisfies the provided assertion.
hasTimestamp(long) - Method in class io.opentelemetry.sdk.testing.assertj.EventDataAssert
Asserts the event has the given timestamp, in nanos.
hasTimestamp(long) - Method in class io.opentelemetry.sdk.testing.assertj.LogRecordDataAssert
Asserts the log has the given epoch timestamp.
hasTimestamp(long, TimeUnit) - Method in class io.opentelemetry.sdk.testing.assertj.EventDataAssert
Asserts the event has the given timestamp.
hasTimestamp(Instant) - Method in class io.opentelemetry.sdk.testing.assertj.EventDataAssert
Asserts the event has the given timestamp, in nanos.
hasTotalAttributeCount(int) - Method in class io.opentelemetry.sdk.testing.assertj.LogRecordDataAssert
Asserts the log has the given total attributes.
hasTotalAttributeCount(int) - Method in class io.opentelemetry.sdk.testing.assertj.SpanDataAssert
Asserts the span has the given total attributes.
hasTotalCount(long) - Method in class io.opentelemetry.sdk.testing.assertj.ExponentialHistogramBucketsAssert
Ensures that the totalCount field matches the expected value.
hasTotalRecordedEvents(int) - Method in class io.opentelemetry.sdk.testing.assertj.SpanDataAssert
Asserts the span has the given total recorded events.
hasTotalRecordedLinks(int) - Method in class io.opentelemetry.sdk.testing.assertj.SpanDataAssert
Asserts the span has the given total recorded links.
hasTraceId(String) - Method in class io.opentelemetry.sdk.testing.assertj.DoubleExemplarAssert
Asserts the exemplar has the given trace ID.
hasTraceId(String) - Method in class io.opentelemetry.sdk.testing.assertj.LongExemplarAssert
Asserts the exemplar has the given trace ID.
hasTraceId(String) - Method in class io.opentelemetry.sdk.testing.assertj.SpanDataAssert
Asserts the span has the given trace ID.
hasTraceId(String) - Method in class io.opentelemetry.sdk.testing.assertj.TraceAssert
Asserts that the trace has the given trace ID.
hasTracesSatisfyingExactly(Iterable<? extends Consumer<TraceAssert>>) - Method in class io.opentelemetry.sdk.testing.assertj.TracesAssert
Asserts that the traces under assertion have the same number of traces as provided assertions and executes each TracesAssert in assertions in order with the corresponding trace.
hasTracesSatisfyingExactly(Consumer<TraceAssert>...) - Method in class io.opentelemetry.sdk.testing.assertj.TracesAssert
Asserts that the traces under assertion have the same number of traces as provided assertions and executes each TracesAssert in assertions in order with the corresponding trace.
hasTraceState(TraceState) - Method in class io.opentelemetry.sdk.testing.assertj.SpanDataAssert
Asserts the span has the given TraceState.
hasUnit(String) - Method in class io.opentelemetry.sdk.testing.assertj.MetricAssert
Asserts the metric has the given unit.
hasValue(double) - Method in class io.opentelemetry.sdk.testing.assertj.DoubleExemplarAssert
Asserts the exemplar has the given value.
hasValue(double) - Method in class io.opentelemetry.sdk.testing.assertj.DoublePointAssert
Asserts the point has the given value.
hasValue(double) - Method in class io.opentelemetry.sdk.testing.assertj.ValueAtQuantileAssert
Asserts the given value.
hasValue(long) - Method in class io.opentelemetry.sdk.testing.assertj.LongExemplarAssert
Asserts the exemplar has the given value.
hasValue(long) - Method in class io.opentelemetry.sdk.testing.assertj.LongPointAssert
Asserts the point has the given value.
hasValuesSatisfying(Iterable<? extends Consumer<ValueAtQuantileAssert>>) - Method in class io.opentelemetry.sdk.testing.assertj.SummaryPointAssert
Asserts the point has values matching all of the given assertions and no more, in any order.
hasValuesSatisfying(Consumer<ValueAtQuantileAssert>...) - Method in class io.opentelemetry.sdk.testing.assertj.SummaryPointAssert
Asserts the point has values matching all of the given assertions and no more, in any order.
hasZeroCount(long) - Method in class io.opentelemetry.sdk.testing.assertj.ExponentialHistogramPointAssert
Ensures the zeroCount field matches the expected value.
HistogramAssert - Class in io.opentelemetry.sdk.testing.assertj
Test assertions for HistogramData.
HistogramPointAssert - Class in io.opentelemetry.sdk.testing.assertj
Test assertions for HistogramPointData.

I

InMemoryLogRecordExporter - Class in io.opentelemetry.sdk.testing.exporter
A LogRecordExporter implementation that can be used to test OpenTelemetry integration.
InMemoryMetricExporter - Class in io.opentelemetry.sdk.testing.exporter
A MetricExporter implementation that can be used to test OpenTelemetry integration.
InMemoryMetricReader - Class in io.opentelemetry.sdk.testing.exporter
A MetricReader implementation that can be used to test OpenTelemetry integration.
InMemoryMetricReaderBuilder - Class in io.opentelemetry.sdk.testing.exporter
InMemorySpanExporter - Class in io.opentelemetry.sdk.testing.exporter
A SpanExporter implementation that can be used to test OpenTelemetry integration.
io.opentelemetry.sdk.testing.assertj - package io.opentelemetry.sdk.testing.assertj
 
io.opentelemetry.sdk.testing.context - package io.opentelemetry.sdk.testing.context
 
io.opentelemetry.sdk.testing.exporter - package io.opentelemetry.sdk.testing.exporter
 
io.opentelemetry.sdk.testing.junit4 - package io.opentelemetry.sdk.testing.junit4
 
io.opentelemetry.sdk.testing.junit5 - package io.opentelemetry.sdk.testing.junit5
 
io.opentelemetry.sdk.testing.logs - package io.opentelemetry.sdk.testing.logs
 
io.opentelemetry.sdk.testing.time - package io.opentelemetry.sdk.testing.time
 
io.opentelemetry.sdk.testing.trace - package io.opentelemetry.sdk.testing.trace
 
isCumulative() - Method in class io.opentelemetry.sdk.testing.assertj.DoubleSumAssert
Ensures that aggregation_temporality field is CUMULATIVE.
isCumulative() - Method in class io.opentelemetry.sdk.testing.assertj.ExponentialHistogramAssert
Ensures that aggregation_temporality field is CUMULATIVE.
isCumulative() - Method in class io.opentelemetry.sdk.testing.assertj.HistogramAssert
Ensures that aggregation_temporality field is CUMULATIVE.
isCumulative() - Method in class io.opentelemetry.sdk.testing.assertj.LongSumAssert
Ensures that aggregation_temporality field is CUMULATIVE.
isDelta() - Method in class io.opentelemetry.sdk.testing.assertj.DoubleSumAssert
Ensures that aggregation_temporality field is DELTA.
isDelta() - Method in class io.opentelemetry.sdk.testing.assertj.ExponentialHistogramAssert
Ensures that aggregation_temporality field is DELTA.
isDelta() - Method in class io.opentelemetry.sdk.testing.assertj.HistogramAssert
Ensures that aggregation_temporality field is DELTA.
isDelta() - Method in class io.opentelemetry.sdk.testing.assertj.LongSumAssert
Ensures that aggregation_temporality field is DELTA.
isEmpty() - Method in class io.opentelemetry.sdk.testing.assertj.AttributesAssert
Asserts the attributes have no entries.
isError() - Method in class io.opentelemetry.sdk.testing.assertj.StatusDataAssert
Asserts that the status is StatusCode.ERROR.
isMonotonic() - Method in class io.opentelemetry.sdk.testing.assertj.DoubleSumAssert
Ensures that is_monotonic field is true.
isMonotonic() - Method in class io.opentelemetry.sdk.testing.assertj.LongSumAssert
Ensures that is_monotonic field is true.
isNotMonotonic() - Method in class io.opentelemetry.sdk.testing.assertj.DoubleSumAssert
Ensures that is_monotonic field is false.
isNotMonotonic() - Method in class io.opentelemetry.sdk.testing.assertj.LongSumAssert
Ensures that is_monotonic field is false.
isNotSampled() - Method in class io.opentelemetry.sdk.testing.assertj.SpanDataAssert
Asserts the span is not sampled.
isOk() - Method in class io.opentelemetry.sdk.testing.assertj.StatusDataAssert
Asserts that the status is StatusCode.OK.
isSampled() - Method in class io.opentelemetry.sdk.testing.assertj.SpanDataAssert
Asserts the span is sampled.

L

LogRecordDataAssert - Class in io.opentelemetry.sdk.testing.assertj
Test assertions for LogRecordData.
LongExemplarAssert - Class in io.opentelemetry.sdk.testing.assertj
Assertions for an exported LongExemplarData.
LongGaugeAssert - Class in io.opentelemetry.sdk.testing.assertj
Assertions for an exported long GaugeData.
LongPointAssert - Class in io.opentelemetry.sdk.testing.assertj
Assertions for an exported LongPointData.
LongSumAssert - Class in io.opentelemetry.sdk.testing.assertj
Test assertions for long SumData.

M

MetricAssert - Class in io.opentelemetry.sdk.testing.assertj
Assertions for an exported MetricData.

N

nanoTime() - Method in class io.opentelemetry.sdk.testing.time.TestClock
 
newAbstractIterableAssert(Iterable<? extends SpanData>) - Method in class io.opentelemetry.sdk.testing.assertj.TraceAssert
 
newAbstractIterableAssert(Iterable<? extends List<SpanData>>) - Method in class io.opentelemetry.sdk.testing.assertj.TracesAssert
 
now() - Method in class io.opentelemetry.sdk.testing.time.TestClock
 

O

OpenTelemetryAssertions - Class in io.opentelemetry.sdk.testing.assertj
Entry point for assertion methods for OpenTelemetry types.
OpenTelemetryAssertions.BooleanAssertConsumer - Interface in io.opentelemetry.sdk.testing.assertj
 
OpenTelemetryAssertions.BooleanListAssertConsumer - Interface in io.opentelemetry.sdk.testing.assertj
 
OpenTelemetryAssertions.DoubleAssertConsumer - Interface in io.opentelemetry.sdk.testing.assertj
 
OpenTelemetryAssertions.DoubleListAssertConsumer - Interface in io.opentelemetry.sdk.testing.assertj
 
OpenTelemetryAssertions.LongAssertConsumer - Interface in io.opentelemetry.sdk.testing.assertj
 
OpenTelemetryAssertions.LongListAssertConsumer - Interface in io.opentelemetry.sdk.testing.assertj
 
OpenTelemetryAssertions.StringAssertConsumer - Interface in io.opentelemetry.sdk.testing.assertj
 
OpenTelemetryAssertions.StringListAssertConsumer - Interface in io.opentelemetry.sdk.testing.assertj
 
OpenTelemetryExtension - Class in io.opentelemetry.sdk.testing.junit5
A JUnit5 extension which sets up the OpenTelemetrySdk for testing, resetting state between tests.
OpenTelemetryRule - Class in io.opentelemetry.sdk.testing.junit4
A JUnit4 rule which sets up the OpenTelemetrySdk for testing, resetting state between tests.

P

points() - Method in class io.opentelemetry.sdk.testing.assertj.SummaryAssert
Returns convenience API to assert against the points field.

R

register(CollectionRegistration) - Method in class io.opentelemetry.sdk.testing.exporter.InMemoryMetricReader
 
reset() - Method in class io.opentelemetry.sdk.testing.exporter.InMemoryLogRecordExporter
Clears the internal List of finished Logs.
reset() - Method in class io.opentelemetry.sdk.testing.exporter.InMemoryMetricExporter
Clears the internal List of finished Metrics.
reset() - Method in class io.opentelemetry.sdk.testing.exporter.InMemorySpanExporter
Clears the internal List of finished Spans.
ResourceAssert - Class in io.opentelemetry.sdk.testing.assertj
Assertions for Resource.

S

satisfies(AttributeKey<Boolean>, OpenTelemetryAssertions.BooleanAssertConsumer) - Static method in class io.opentelemetry.sdk.testing.assertj.OpenTelemetryAssertions
Returns an AttributeAssertion that asserts the given key is present with a value satisfying assertion.
satisfies(AttributeKey<Double>, OpenTelemetryAssertions.DoubleAssertConsumer) - Static method in class io.opentelemetry.sdk.testing.assertj.OpenTelemetryAssertions
Returns an AttributeAssertion that asserts the given key is present with a value satisfying assertion.
satisfies(AttributeKey<Long>, OpenTelemetryAssertions.LongAssertConsumer) - Static method in class io.opentelemetry.sdk.testing.assertj.OpenTelemetryAssertions
Returns an AttributeAssertion that asserts the given key is present with a value satisfying assertion.
satisfies(AttributeKey<String>, OpenTelemetryAssertions.StringAssertConsumer) - Static method in class io.opentelemetry.sdk.testing.assertj.OpenTelemetryAssertions
Returns an AttributeAssertion that asserts the given key is present with a value satisfying assertion.
satisfies(AttributeKey<List<Boolean>>, OpenTelemetryAssertions.BooleanListAssertConsumer) - Static method in class io.opentelemetry.sdk.testing.assertj.OpenTelemetryAssertions
Returns an AttributeAssertion that asserts the given key is present with a value satisfying assertion.
satisfies(AttributeKey<List<Double>>, OpenTelemetryAssertions.DoubleListAssertConsumer) - Static method in class io.opentelemetry.sdk.testing.assertj.OpenTelemetryAssertions
Returns an AttributeAssertion that asserts the given key is present with a value satisfying assertion.
satisfies(AttributeKey<List<Long>>, OpenTelemetryAssertions.LongListAssertConsumer) - Static method in class io.opentelemetry.sdk.testing.assertj.OpenTelemetryAssertions
Returns an AttributeAssertion that asserts the given key is present with a value satisfying assertion.
satisfies(AttributeKey<List<String>>, OpenTelemetryAssertions.StringListAssertConsumer) - Static method in class io.opentelemetry.sdk.testing.assertj.OpenTelemetryAssertions
Returns an AttributeAssertion that asserts the given key is present with a value satisfying assertion.
setAggregationTemporalitySelector(AggregationTemporalitySelector) - Method in class io.opentelemetry.sdk.testing.exporter.InMemoryMetricReaderBuilder
Sets the AggregationTemporalitySelector used by AggregationTemporalitySelector.getAggregationTemporality(InstrumentType).
setAttributes(Attributes) - Method in class io.opentelemetry.sdk.testing.logs.TestLogRecordData.Builder
Set the attributes.
setAttributes(Attributes) - Method in class io.opentelemetry.sdk.testing.trace.TestSpanData.Builder
Set the attributes that are associated with this span, in the form of Attributes.
setBody(String) - Method in class io.opentelemetry.sdk.testing.logs.TestLogRecordData.Builder
Set the body string.
setContextStorage(ContextStorage) - Static method in class io.opentelemetry.sdk.testing.context.SettableContextStorageProvider
Sets the ContextStorage to use for future context operations.
setDefaultAggregationSelector(DefaultAggregationSelector) - Method in class io.opentelemetry.sdk.testing.exporter.InMemoryMetricReaderBuilder
Sets the DefaultAggregationSelector used by MetricExporter.getDefaultAggregation(InstrumentType).
setEndEpochNanos(long) - Method in class io.opentelemetry.sdk.testing.trace.TestSpanData.Builder
Set the end timestamp of the span.
setEvents(List<EventData>) - Method in class io.opentelemetry.sdk.testing.trace.TestSpanData.Builder
Set timed events that are associated with this span.
setHasEnded(boolean) - Method in class io.opentelemetry.sdk.testing.trace.TestSpanData.Builder
Sets to true if the span has been ended.
setInstrumentationLibraryInfo(InstrumentationLibraryInfo) - Method in class io.opentelemetry.sdk.testing.trace.TestSpanData.Builder
setInstrumentationScopeInfo(InstrumentationScopeInfo) - Method in class io.opentelemetry.sdk.testing.logs.TestLogRecordData.Builder
Sets the InstrumentationScopeInfo.
setInstrumentationScopeInfo(InstrumentationScopeInfo) - Method in class io.opentelemetry.sdk.testing.trace.TestSpanData.Builder
Sets the instrumentation scope of the tracer which created this span.
setKind(SpanKind) - Method in class io.opentelemetry.sdk.testing.trace.TestSpanData.Builder
Set the kind of span.
setLinks(List<LinkData>) - Method in class io.opentelemetry.sdk.testing.trace.TestSpanData.Builder
Set the links associated with this span.
setMemoryMode(MemoryMode) - Method in class io.opentelemetry.sdk.testing.exporter.InMemoryMetricReaderBuilder
Sets the MemoryMode.
setName(String) - Method in class io.opentelemetry.sdk.testing.trace.TestSpanData.Builder
Set the name of the span.
setObservedTimestamp(long, TimeUnit) - Method in class io.opentelemetry.sdk.testing.logs.TestLogRecordData.Builder
Set the epoch observedTimestamp, using the timestamp and unit.
setObservedTimestamp(Instant) - Method in class io.opentelemetry.sdk.testing.logs.TestLogRecordData.Builder
Set the observedTimestamp, using the instant.
setParentSpanContext(SpanContext) - Method in class io.opentelemetry.sdk.testing.trace.TestSpanData.Builder
The parent span context associated for this span, which may be null.
setResource(Resource) - Method in class io.opentelemetry.sdk.testing.logs.TestLogRecordData.Builder
Set the Resource.
setResource(Resource) - Method in class io.opentelemetry.sdk.testing.trace.TestSpanData.Builder
Set the Resource associated with this span.
setSeverity(Severity) - Method in class io.opentelemetry.sdk.testing.logs.TestLogRecordData.Builder
Set the severity.
setSeverityText(String) - Method in class io.opentelemetry.sdk.testing.logs.TestLogRecordData.Builder
Set the severity text.
setSpanContext(SpanContext) - Method in class io.opentelemetry.sdk.testing.logs.TestLogRecordData.Builder
Set the span context.
setSpanContext(SpanContext) - Method in class io.opentelemetry.sdk.testing.trace.TestSpanData.Builder
Set the SpanContext on this builder.
setStartEpochNanos(long) - Method in class io.opentelemetry.sdk.testing.trace.TestSpanData.Builder
Set the start timestamp of the span.
setStatus(StatusData) - Method in class io.opentelemetry.sdk.testing.trace.TestSpanData.Builder
Set the status for this span.
SettableContextStorageProvider - Class in io.opentelemetry.sdk.testing.context
A ContextStorageProvider which can have it's ContextStorage set at any time.
SettableContextStorageProvider() - Constructor for class io.opentelemetry.sdk.testing.context.SettableContextStorageProvider
 
setTime(Instant) - Method in class io.opentelemetry.sdk.testing.time.TestClock
Sets the current time.
setTimestamp(long, TimeUnit) - Method in class io.opentelemetry.sdk.testing.logs.TestLogRecordData.Builder
Set the epoch timestamp, using the timestamp and unit.
setTimestamp(Instant) - Method in class io.opentelemetry.sdk.testing.logs.TestLogRecordData.Builder
Set the epoch timestamp, using the instant.
setTotalAttributeCount(int) - Method in class io.opentelemetry.sdk.testing.logs.TestLogRecordData.Builder
Set the total attribute count.
setTotalAttributeCount(int) - Method in class io.opentelemetry.sdk.testing.trace.TestSpanData.Builder
Set the total number of attributes recorded on this span.
setTotalRecordedEvents(int) - Method in class io.opentelemetry.sdk.testing.trace.TestSpanData.Builder
Set the total number of events recorded on this span.
setTotalRecordedLinks(int) - Method in class io.opentelemetry.sdk.testing.trace.TestSpanData.Builder
Set the total number of links recorded on this span.
shutdown() - Method in class io.opentelemetry.sdk.testing.exporter.InMemoryLogRecordExporter
Clears the internal List of finished Logs.
shutdown() - Method in class io.opentelemetry.sdk.testing.exporter.InMemoryMetricExporter
Clears the internal List of finished Metrics.
shutdown() - Method in class io.opentelemetry.sdk.testing.exporter.InMemoryMetricReader
 
shutdown() - Method in class io.opentelemetry.sdk.testing.exporter.InMemorySpanExporter
Clears the internal List of finished SpanDatas.
SpanDataAssert - Class in io.opentelemetry.sdk.testing.assertj
Assertions for an exported SpanData.
startsAt(long) - Method in class io.opentelemetry.sdk.testing.assertj.SpanDataAssert
Asserts the span starts at the given epoch timestamp, in nanos.
startsAt(long, TimeUnit) - Method in class io.opentelemetry.sdk.testing.assertj.SpanDataAssert
Asserts the span starts at the given epoch timestamp.
startsAt(Instant) - Method in class io.opentelemetry.sdk.testing.assertj.SpanDataAssert
Asserts the span starts at the given epoch timestamp.
StatusDataAssert - Class in io.opentelemetry.sdk.testing.assertj
Assertions for the StatusData of an exported SpanData.
SummaryAssert - Class in io.opentelemetry.sdk.testing.assertj
Test assertions for SummaryData.
SummaryPointAssert - Class in io.opentelemetry.sdk.testing.assertj
Test assertions for SummaryPointData.

T

TestClock - Class in io.opentelemetry.sdk.testing.time
A mutable Clock that allows the time to be set for testing.
TestLogRecordData - Class in io.opentelemetry.sdk.testing.logs
Immutable representation of LogRecordData.
TestLogRecordData.Builder - Class in io.opentelemetry.sdk.testing.logs
A Builder class for TestLogRecordData.
TestSpanData - Class in io.opentelemetry.sdk.testing.trace
Immutable representation of all data collected by the Span class.
TestSpanData.Builder - Class in io.opentelemetry.sdk.testing.trace
A Builder class for TestSpanData.
toAssert(SpanData, String) - Method in class io.opentelemetry.sdk.testing.assertj.TraceAssert
 
toAssert(List<SpanData>, String) - Method in class io.opentelemetry.sdk.testing.assertj.TracesAssert
 
toString() - Method in class io.opentelemetry.sdk.testing.exporter.InMemoryMetricReader
 
TraceAssert - Class in io.opentelemetry.sdk.testing.assertj
Assertions for an exported trace, a list of SpanData with the same trace ID.
TracesAssert - Class in io.opentelemetry.sdk.testing.assertj
Assertions for a list of exported traces.

V

ValueAtQuantileAssert - Class in io.opentelemetry.sdk.testing.assertj
Test assertions for ValueAtQuantile.
A B C D E F G H I L M N O P R S T V 
All Classes and Interfaces|All Packages