Index
All Classes and Interfaces|All Packages
A
- AbstractPointDataAssert<PointAssertT extends AbstractPointDataAssert<PointAssertT,
PointT>, PointT extends io.opentelemetry.sdk.metrics.data.PointData> - Class in io.opentelemetry.sdk.testing.assertj -
Test assertions for
PointData. - AbstractPointDataAssert(PointT, Class<PointAssertT>) - Constructor for class io.opentelemetry.sdk.testing.assertj.AbstractPointDataAssert
- assertThat(DoublePointData) - Static method in class io.opentelemetry.sdk.testing.assertj.MetricAssertions
-
Returns an assertion for
DoublePointData. - assertThat(ExemplarData) - Static method in class io.opentelemetry.sdk.testing.assertj.MetricAssertions
- assertThat(GaugeData<T>) - Static method in class io.opentelemetry.sdk.testing.assertj.MetricAssertions
-
Returns an assertion for
GaugeData. - assertThat(HistogramData) - Static method in class io.opentelemetry.sdk.testing.assertj.MetricAssertions
-
Returns an assertion for
HistogramData. - assertThat(HistogramPointData) - Static method in class io.opentelemetry.sdk.testing.assertj.MetricAssertions
-
Returns an assertion for
HistogramPointData. - assertThat(LongPointData) - Static method in class io.opentelemetry.sdk.testing.assertj.MetricAssertions
-
Returns an assertion for
LongPointData. - assertThat(MetricData) - Static method in class io.opentelemetry.sdk.testing.assertj.MetricAssertions
-
Returns an assertion for
MetricData. - assertThat(SumData<T>) - Static method in class io.opentelemetry.sdk.testing.assertj.MetricAssertions
-
Returns an assertion for
SumData. - assertThat(SummaryData) - Static method in class io.opentelemetry.sdk.testing.assertj.MetricAssertions
-
Returns an assertion for
SummaryData. - assertThat(SummaryPointData) - Static method in class io.opentelemetry.sdk.testing.assertj.MetricAssertions
-
Returns an assertion for
SummaryPointData. - assertThat(ExponentialHistogramBuckets) - Static method in class io.opentelemetry.sdk.testing.assertj.MetricAssertions
-
Returns an assertion for
ExponentialHistogramBuckets. - assertThat(ExponentialHistogramPointData) - Static method in class io.opentelemetry.sdk.testing.assertj.MetricAssertions
-
Returns an assertion for
ExponentialHistogramPointData. - attributes() - Method in class io.opentelemetry.sdk.testing.assertj.AbstractPointDataAssert
-
Returns convenience API to assert against the
attributesfield.
C
- collectAllMetrics() - Method in class io.opentelemetry.sdk.testing.exporter.InMemoryMetricReader
-
Returns all metrics accumulated since the last call.
- create() - Static method in class io.opentelemetry.sdk.testing.exporter.InMemoryMetricExporter
-
Returns a new
InMemoryMetricExporterwith a aggregation temporality ofAggregationTemporality.CUMULATIVE. - create() - Static method in class io.opentelemetry.sdk.testing.exporter.InMemoryMetricReader
-
Returns a new
InMemoryMetricReader. - create(AggregationTemporality) - Static method in class io.opentelemetry.sdk.testing.exporter.InMemoryMetricExporter
-
Returns a new
InMemoryMetricExporterwith the givenaggregationTemporality. - createDelta() - Static method in class io.opentelemetry.sdk.testing.exporter.InMemoryMetricReader
-
Creates a new
InMemoryMetricReaderthat prefers DELTA aggregation.
D
- DoublePointDataAssert - Class in io.opentelemetry.sdk.testing.assertj
-
Test assertions for
DoublePointData. - DoublePointDataAssert(DoublePointData) - Constructor for class io.opentelemetry.sdk.testing.assertj.DoublePointDataAssert
E
- ExemplarDataAssert - Class in io.opentelemetry.sdk.testing.assertj
-
Test assertions for
ExemplarData. - ExemplarDataAssert(ExemplarData) - Constructor for class io.opentelemetry.sdk.testing.assertj.ExemplarDataAssert
- exemplars() - Method in class io.opentelemetry.sdk.testing.assertj.AbstractPointDataAssert
-
Returns convenience API to assert against the
exemplarsfield. - ExponentialHistogramAssert - Class in io.opentelemetry.sdk.testing.assertj
-
Test assertions for
ExponentialHistogramData. - ExponentialHistogramAssert(ExponentialHistogramData) - Constructor for class io.opentelemetry.sdk.testing.assertj.ExponentialHistogramAssert
- ExponentialHistogramBucketsAssert - Class in io.opentelemetry.sdk.testing.assertj
-
Test assertions for
ExponentialHistogramBuckets. - ExponentialHistogramBucketsAssert(ExponentialHistogramBuckets) - Constructor for class io.opentelemetry.sdk.testing.assertj.ExponentialHistogramBucketsAssert
- ExponentialHistogramPointDataAssert - Class in io.opentelemetry.sdk.testing.assertj
-
Test assertions for
ExponentialHistogramPointData. - ExponentialHistogramPointDataAssert(ExponentialHistogramPointData) - Constructor for class io.opentelemetry.sdk.testing.assertj.ExponentialHistogramPointDataAssert
- export(Collection<MetricData>) - Method in class io.opentelemetry.sdk.testing.exporter.InMemoryMetricExporter
-
Exports the collection of
Metrics into the inmemory queue.
F
- filteredAttributes() - Method in class io.opentelemetry.sdk.testing.assertj.ExemplarDataAssert
-
Returns convenience API to assert against the
filteredAttributesfield. - 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.InMemoryMetricReader
G
- GaugeAssert<T extends io.opentelemetry.sdk.metrics.data.PointData> - Class in io.opentelemetry.sdk.testing.assertj
-
Test assertions for
GaugeData. - GaugeAssert(GaugeData<T>) - Constructor for class io.opentelemetry.sdk.testing.assertj.GaugeAssert
- getAggregationTemporality(InstrumentType) - Method in class io.opentelemetry.sdk.testing.exporter.InMemoryMetricExporter
- getAggregationTemporality(InstrumentType) - Method in class io.opentelemetry.sdk.testing.exporter.InMemoryMetricReader
- getFinishedMetricItems() - Method in class io.opentelemetry.sdk.testing.exporter.InMemoryMetricExporter
-
Returns a
Listof the finishedMetrics, represented byMetricData.
H
- hasAttributes(Attributes) - Method in class io.opentelemetry.sdk.testing.assertj.AbstractPointDataAssert
-
Ensures the
attributesfield matches the expected value. - hasBucketBoundaries(double...) - Method in class io.opentelemetry.sdk.testing.assertj.HistogramPointDataAssert
-
Ensures the
boundariesfield matches the expected value. - hasBucketCounts(long...) - Method in class io.opentelemetry.sdk.testing.assertj.HistogramPointDataAssert
-
Ensures the
countsfield matches the expected value. - hasCount(long) - Method in class io.opentelemetry.sdk.testing.assertj.HistogramPointDataAssert
-
Ensures the
countfield matches the expected value. - hasCount(long) - Method in class io.opentelemetry.sdk.testing.assertj.SummaryPointDataAssert
-
Ensure the summary has seen the expected count of measurements.
- hasCounts(List<Long>) - Method in class io.opentelemetry.sdk.testing.assertj.ExponentialHistogramBucketsAssert
-
Ensures that the
countsfield matches the expected value. - hasDescription(String) - Method in class io.opentelemetry.sdk.testing.assertj.MetricDataAssert
-
Ensures the
descriptionfield matches the expected value. - hasDoubleGauge() - Method in class io.opentelemetry.sdk.testing.assertj.MetricDataAssert
-
Ensures this
MetricDatais aDoubleGauge. - hasDoubleHistogram() - Method in class io.opentelemetry.sdk.testing.assertj.MetricDataAssert
-
Ensures this
MetricDatais aDoubleHistogram. - hasDoubleSum() - Method in class io.opentelemetry.sdk.testing.assertj.MetricDataAssert
-
Ensures this
MetricDatais aDoubleSum. - hasDoubleSummary() - Method in class io.opentelemetry.sdk.testing.assertj.MetricDataAssert
-
Ensures this
MetricDatais aDoubleSummaryData. - hasEpochNanos(long) - Method in class io.opentelemetry.sdk.testing.assertj.AbstractPointDataAssert
-
Ensures the
epoch_nanosfield matches the expected value. - hasEpochNanos(long) - Method in class io.opentelemetry.sdk.testing.assertj.ExemplarDataAssert
-
Ensures the
epochNanosfield matches the expected value. - hasExemplars(ExemplarData...) - Method in class io.opentelemetry.sdk.testing.assertj.AbstractPointDataAssert
-
Ensures the
exemplarsfield matches the expected value. - hasExponentialHistogram() - Method in class io.opentelemetry.sdk.testing.assertj.MetricDataAssert
-
Ensures this
MetricDatais aExponentialHistogram. - hasFilteredAttributes(Attributes) - Method in class io.opentelemetry.sdk.testing.assertj.ExemplarDataAssert
-
Ensures the
fitleredAttributesfield matches the expected value. - hasInstrumentationScope(InstrumentationScopeInfo) - Method in class io.opentelemetry.sdk.testing.assertj.MetricDataAssert
-
Ensures the
InstrumentationScopeInfoassociated with a metric matches the expected value. - hasLongGauge() - Method in class io.opentelemetry.sdk.testing.assertj.MetricDataAssert
-
Ensures this
MetricDatais aLongGauge. - hasLongSum() - Method in class io.opentelemetry.sdk.testing.assertj.MetricDataAssert
-
Ensures this
MetricDatais aLongSum. - hasMax(double) - Method in class io.opentelemetry.sdk.testing.assertj.HistogramPointDataAssert
-
Ensures the
maxfield matches the expected value. - hasMin(double) - Method in class io.opentelemetry.sdk.testing.assertj.HistogramPointDataAssert
-
Ensures the
minfield matches the expected value. - hasName(String) - Method in class io.opentelemetry.sdk.testing.assertj.MetricDataAssert
-
Ensures the
namefield matches the expected value. - hasOffset(int) - Method in class io.opentelemetry.sdk.testing.assertj.ExponentialHistogramBucketsAssert
-
Ensures that the
totalCountfield matches the expected value. - hasResource(Resource) - Method in class io.opentelemetry.sdk.testing.assertj.MetricDataAssert
-
Ensures the
Resourceassociated with a metric matches the expected value. - hasScale(int) - Method in class io.opentelemetry.sdk.testing.assertj.ExponentialHistogramPointDataAssert
-
Ensures the
scalefield matches the expected value. - hasSpanId(String) - Method in class io.opentelemetry.sdk.testing.assertj.ExemplarDataAssert
-
Ensures the
spanIdfield matches the expected value. - hasStartEpochNanos(long) - Method in class io.opentelemetry.sdk.testing.assertj.AbstractPointDataAssert
-
Ensures the
start_epoch_nanosfield matches the expected value. - hasSum(double) - Method in class io.opentelemetry.sdk.testing.assertj.ExponentialHistogramPointDataAssert
-
Ensures the
sumfield matches the expected value. - hasSum(double) - Method in class io.opentelemetry.sdk.testing.assertj.HistogramPointDataAssert
-
Ensures the
sumfield matches the expected value. - hasSum(double) - Method in class io.opentelemetry.sdk.testing.assertj.SummaryPointDataAssert
-
Ensure the summary has the expected sum across all observed measurements.
- hasSumGreaterThan(double) - Method in class io.opentelemetry.sdk.testing.assertj.HistogramPointDataAssert
-
Ensures the
sumfield contains a greater value than the passedboundary. - hasTotalCount(long) - Method in class io.opentelemetry.sdk.testing.assertj.ExponentialHistogramBucketsAssert
-
Ensures that the
totalCountfield matches the expected value. - hasTotalCount(long) - Method in class io.opentelemetry.sdk.testing.assertj.ExponentialHistogramPointDataAssert
-
Ensures the
totalCountfield matches the expected value. - hasTraceId(String) - Method in class io.opentelemetry.sdk.testing.assertj.ExemplarDataAssert
-
Ensures the
traceIdfield matches the expected value. - hasUnit(String) - Method in class io.opentelemetry.sdk.testing.assertj.MetricDataAssert
-
Ensures the
unitfield matches the expected value. - hasValue(double) - Method in class io.opentelemetry.sdk.testing.assertj.DoublePointDataAssert
-
Ensures the
as_doublefield matches the expected value. - hasValue(double) - Method in class io.opentelemetry.sdk.testing.assertj.ExemplarDataAssert
-
Ensures the
valuefield matches the expected value. - hasValue(long) - Method in class io.opentelemetry.sdk.testing.assertj.LongPointDataAssert
-
Ensures the
as_intfield matches the expected value. - hasValues(ValueAtQuantile...) - Method in class io.opentelemetry.sdk.testing.assertj.SummaryPointDataAssert
-
Ensure the summary has exactly, in any order, the given percentile values.
- hasZeroCount(long) - Method in class io.opentelemetry.sdk.testing.assertj.ExponentialHistogramPointDataAssert
-
Ensures the
zeroCountfield matches the expected value. - HistogramAssert - Class in io.opentelemetry.sdk.testing.assertj
-
Test assertions for
HistogramData. - HistogramAssert(HistogramData) - Constructor for class io.opentelemetry.sdk.testing.assertj.HistogramAssert
- HistogramPointDataAssert - Class in io.opentelemetry.sdk.testing.assertj
-
Test assertions for
HistogramPointData. - HistogramPointDataAssert(HistogramPointData) - Constructor for class io.opentelemetry.sdk.testing.assertj.HistogramPointDataAssert
I
- InMemoryMetricExporter - Class in io.opentelemetry.sdk.testing.exporter
-
A
MetricExporterimplementation that can be used to test OpenTelemetry integration. - InMemoryMetricReader - Class in io.opentelemetry.sdk.testing.exporter
-
A
MetricReaderimplementation that can be used to test OpenTelemetry integration. - io.opentelemetry.sdk.testing.assertj - package io.opentelemetry.sdk.testing.assertj
- io.opentelemetry.sdk.testing.exporter - package io.opentelemetry.sdk.testing.exporter
- isCumulative() - Method in class io.opentelemetry.sdk.testing.assertj.ExponentialHistogramAssert
-
Ensures that
aggregation_temporalityfield isCUMULATIVE. - isCumulative() - Method in class io.opentelemetry.sdk.testing.assertj.HistogramAssert
-
Ensures that
aggregation_temporalityfield isCUMULATIVE. - isCumulative() - Method in class io.opentelemetry.sdk.testing.assertj.SumDataAssert
-
Ensures that
aggregation_temporalityfield isCUMULATIVE. - isDelta() - Method in class io.opentelemetry.sdk.testing.assertj.ExponentialHistogramAssert
-
Ensures that
aggregation_temporalityfield isDELTA. - isDelta() - Method in class io.opentelemetry.sdk.testing.assertj.HistogramAssert
-
Ensures that
aggregation_temporalityfield isDELTA. - isDelta() - Method in class io.opentelemetry.sdk.testing.assertj.SumDataAssert
-
Ensures that
aggregation_temporalityfield isDELTA. - isMonotonic() - Method in class io.opentelemetry.sdk.testing.assertj.SumDataAssert
-
Ensures that
is_monotonicfield is true. - isNotMonotonic() - Method in class io.opentelemetry.sdk.testing.assertj.SumDataAssert
-
Ensures that
is_monotonicfield is false.
L
- LongPointDataAssert - Class in io.opentelemetry.sdk.testing.assertj
-
Test assertions for
LongPointData. - LongPointDataAssert(LongPointData) - Constructor for class io.opentelemetry.sdk.testing.assertj.LongPointDataAssert
M
- MetricAssertions - Class in io.opentelemetry.sdk.testing.assertj
-
Test assertions for data heading to exporters within the Metrics SDK.
- MetricDataAssert - Class in io.opentelemetry.sdk.testing.assertj
-
Test assertions for
MetricData. - MetricDataAssert(MetricData) - Constructor for class io.opentelemetry.sdk.testing.assertj.MetricDataAssert
P
- points() - Method in class io.opentelemetry.sdk.testing.assertj.ExponentialHistogramAssert
-
Returns convenience API to assert against the
pointsfield. - points() - Method in class io.opentelemetry.sdk.testing.assertj.GaugeAssert
- points() - Method in class io.opentelemetry.sdk.testing.assertj.HistogramAssert
-
Returns convenience API to assert against the
pointsfield. - points() - Method in class io.opentelemetry.sdk.testing.assertj.SumDataAssert
-
Returns convenience API to assert against the
pointsfield. - points() - Method in class io.opentelemetry.sdk.testing.assertj.SummaryDataAssert
-
Returns convenience API to assert against the
pointsfield.
R
- register(CollectionRegistration) - Method in class io.opentelemetry.sdk.testing.exporter.InMemoryMetricReader
- reset() - Method in class io.opentelemetry.sdk.testing.exporter.InMemoryMetricExporter
-
Clears the internal
Listof finishedMetrics.
S
- shutdown() - Method in class io.opentelemetry.sdk.testing.exporter.InMemoryMetricExporter
-
Clears the internal
Listof finishedMetrics. - shutdown() - Method in class io.opentelemetry.sdk.testing.exporter.InMemoryMetricReader
- SumDataAssert<T extends io.opentelemetry.sdk.metrics.data.PointData> - Class in io.opentelemetry.sdk.testing.assertj
-
Test assertions for
SumData. - SumDataAssert(SumData<T>) - Constructor for class io.opentelemetry.sdk.testing.assertj.SumDataAssert
- SummaryDataAssert - Class in io.opentelemetry.sdk.testing.assertj
-
Assert on a
SummaryDatametric. - SummaryDataAssert(SummaryData) - Constructor for class io.opentelemetry.sdk.testing.assertj.SummaryDataAssert
- SummaryPointDataAssert - Class in io.opentelemetry.sdk.testing.assertj
-
Asserts for (deprecated) Summary points.
- SummaryPointDataAssert(SummaryPointData) - Constructor for class io.opentelemetry.sdk.testing.assertj.SummaryPointDataAssert
All Classes and Interfaces|All Packages