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
- apply(MetricProducer) - Method in class io.opentelemetry.sdk.testing.exporter.InMemoryMetricReader
- 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
attributes
field.
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
InMemoryMetricExporter
with a preferred 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
InMemoryMetricExporter
with the givenpreferredTemporality
. - createDelta() - Static method in class io.opentelemetry.sdk.testing.exporter.InMemoryMetricReader
-
Creates a new
InMemoryMetricReader
that 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
exemplars
field. - 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
Metric
s into the inmemory queue.
F
- filteredAttributes() - Method in class io.opentelemetry.sdk.testing.assertj.ExemplarDataAssert
-
Returns convenience API to assert against the
filteredAttributes
field. - 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
- getFinishedMetricItems() - Method in class io.opentelemetry.sdk.testing.exporter.InMemoryMetricExporter
-
Returns a
List
of the finishedMetric
s, represented byMetricData
. - getPreferredTemporality() - Method in class io.opentelemetry.sdk.testing.exporter.InMemoryMetricExporter
- getPreferredTemporality() - Method in class io.opentelemetry.sdk.testing.exporter.InMemoryMetricReader
H
- hasAttributes(Attributes) - Method in class io.opentelemetry.sdk.testing.assertj.AbstractPointDataAssert
-
Ensures the
attributes
field matches the expected value. - hasBucketBoundaries(double...) - Method in class io.opentelemetry.sdk.testing.assertj.HistogramPointDataAssert
-
Ensures the
boundaries
field matches the expected value. - hasBucketCounts(long...) - Method in class io.opentelemetry.sdk.testing.assertj.HistogramPointDataAssert
-
Ensures the
counts
field matches the expected value. - hasCount(long) - Method in class io.opentelemetry.sdk.testing.assertj.HistogramPointDataAssert
-
Ensures the
count
field 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
counts
field matches the expected value. - hasDescription(String) - Method in class io.opentelemetry.sdk.testing.assertj.MetricDataAssert
-
Ensures the
description
field matches the expected value. - hasDoubleGauge() - Method in class io.opentelemetry.sdk.testing.assertj.MetricDataAssert
-
Ensures this
MetricData
is aDoubleGauge
. - hasDoubleHistogram() - Method in class io.opentelemetry.sdk.testing.assertj.MetricDataAssert
-
Ensures this
MetricData
is aDoubleHistogram
. - hasDoubleSum() - Method in class io.opentelemetry.sdk.testing.assertj.MetricDataAssert
-
Ensures this
MetricData
is aDoubleSum
. - hasDoubleSummary() - Method in class io.opentelemetry.sdk.testing.assertj.MetricDataAssert
-
Ensures this
MetricData
is aDoubleSummaryData
. - hasEpochNanos(long) - Method in class io.opentelemetry.sdk.testing.assertj.AbstractPointDataAssert
-
Ensures the
epoch_nanos
field matches the expected value. - hasEpochNanos(long) - Method in class io.opentelemetry.sdk.testing.assertj.ExemplarDataAssert
-
Ensures the
epochNanos
field matches the expected value. - hasExemplars(ExemplarData...) - Method in class io.opentelemetry.sdk.testing.assertj.AbstractPointDataAssert
-
Ensures the
exemplars
field matches the expected value. - hasExponentialHistogram() - Method in class io.opentelemetry.sdk.testing.assertj.MetricDataAssert
-
Ensures this
MetricData
is aExponentialHistogram
. - hasFilteredAttributes(Attributes) - Method in class io.opentelemetry.sdk.testing.assertj.ExemplarDataAssert
-
Ensures the
fitleredAttributes
field matches the expected value. - hasInstrumentationLibrary(InstrumentationLibraryInfo) - Method in class io.opentelemetry.sdk.testing.assertj.MetricDataAssert
-
Ensures the
InstrumentationLibraryInfo
associated with a metric matches the expected value. - hasLongGauge() - Method in class io.opentelemetry.sdk.testing.assertj.MetricDataAssert
-
Ensures this
MetricData
is aLongGauge
. - hasLongSum() - Method in class io.opentelemetry.sdk.testing.assertj.MetricDataAssert
-
Ensures this
MetricData
is aLongSum
. - hasName(String) - Method in class io.opentelemetry.sdk.testing.assertj.MetricDataAssert
-
Ensures the
name
field matches the expected value. - hasOffset(int) - Method in class io.opentelemetry.sdk.testing.assertj.ExponentialHistogramBucketsAssert
-
Ensures that the
totalCount
field matches the expected value. - hasPercentileValues(ValueAtPercentile...) - Method in class io.opentelemetry.sdk.testing.assertj.SummaryPointDataAssert
-
Ensure the summary has exactly, in any order, the given percentile values.
- hasResource(Resource) - Method in class io.opentelemetry.sdk.testing.assertj.MetricDataAssert
-
Ensures the
Resource
associated with a metric matches the expected value. - hasScale(int) - Method in class io.opentelemetry.sdk.testing.assertj.ExponentialHistogramPointDataAssert
-
Ensures the
scale
field matches the expected value. - hasSpanId(String) - Method in class io.opentelemetry.sdk.testing.assertj.ExemplarDataAssert
-
Ensures the
spanId
field matches the expected value. - hasStartEpochNanos(long) - Method in class io.opentelemetry.sdk.testing.assertj.AbstractPointDataAssert
-
Ensures the
start_epoch_nanos
field matches the expected value. - hasSum(double) - Method in class io.opentelemetry.sdk.testing.assertj.ExponentialHistogramPointDataAssert
-
Ensures the
sum
field matches the expected value. - hasSum(double) - Method in class io.opentelemetry.sdk.testing.assertj.HistogramPointDataAssert
-
Ensures the
sum
field 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
sum
field contains a greater value than the passedboundary
. - hasTotalCount(long) - Method in class io.opentelemetry.sdk.testing.assertj.ExponentialHistogramBucketsAssert
-
Ensures that the
totalCount
field matches the expected value. - hasTotalCount(long) - Method in class io.opentelemetry.sdk.testing.assertj.ExponentialHistogramPointDataAssert
-
Ensures the
totalCount
field matches the expected value. - hasTraceId(String) - Method in class io.opentelemetry.sdk.testing.assertj.ExemplarDataAssert
-
Ensures the
traceId
field matches the expected value. - hasUnit(String) - Method in class io.opentelemetry.sdk.testing.assertj.MetricDataAssert
-
Ensures the
unit
field matches the expected value. - hasValue(double) - Method in class io.opentelemetry.sdk.testing.assertj.DoublePointDataAssert
-
Ensures the
as_double
field matches the expected value. - hasValue(double) - Method in class io.opentelemetry.sdk.testing.assertj.ExemplarDataAssert
-
Ensures the
value
field matches the expected value. - hasValue(long) - Method in class io.opentelemetry.sdk.testing.assertj.LongPointDataAssert
-
Ensures the
as_int
field matches the expected value. - hasZeroCount(long) - Method in class io.opentelemetry.sdk.testing.assertj.ExponentialHistogramPointDataAssert
-
Ensures the
zeroCount
field 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
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. - 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_temporality
field isCUMULATIVE
. - isCumulative() - Method in class io.opentelemetry.sdk.testing.assertj.HistogramAssert
-
Ensures that
aggregation_temporality
field isCUMULATIVE
. - isCumulative() - Method in class io.opentelemetry.sdk.testing.assertj.SumDataAssert
-
Ensures that
aggregation_temporality
field isCUMULATIVE
. - isDelta() - Method in class io.opentelemetry.sdk.testing.assertj.ExponentialHistogramAssert
-
Ensures that
aggregation_temporality
field isDELTA
. - isDelta() - Method in class io.opentelemetry.sdk.testing.assertj.HistogramAssert
-
Ensures that
aggregation_temporality
field isDELTA
. - isDelta() - Method in class io.opentelemetry.sdk.testing.assertj.SumDataAssert
-
Ensures that
aggregation_temporality
field isDELTA
. - isMonotonic() - Method in class io.opentelemetry.sdk.testing.assertj.SumDataAssert
-
Ensures that
is_monotonic
field is true. - isNotMonotonic() - Method in class io.opentelemetry.sdk.testing.assertj.SumDataAssert
-
Ensures that
is_monotonic
field 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
points
field. - 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
points
field. - points() - Method in class io.opentelemetry.sdk.testing.assertj.SumDataAssert
-
Returns convenience API to assert against the
points
field. - points() - Method in class io.opentelemetry.sdk.testing.assertj.SummaryDataAssert
-
Returns convenience API to assert against the
points
field.
R
- reset() - Method in class io.opentelemetry.sdk.testing.exporter.InMemoryMetricExporter
-
Clears the internal
List
of finishedMetric
s.
S
- shutdown() - Method in class io.opentelemetry.sdk.testing.exporter.InMemoryMetricExporter
-
Clears the internal
List
of finishedMetric
s. - 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
SummaryData
metric. - 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