A B C D E F G H I L M N R S T U V
All Classes All Packages
All Classes All Packages
All Classes All Packages
A
- aggregation() - Method in class io.opentelemetry.sdk.metrics.view.AggregationConfiguration
-
Returns the
Aggregation
that should be used for this View. - Aggregation - Interface in io.opentelemetry.sdk.metrics.view
-
Aggregation
is the process of combining a certain set of recorded measurements for a givenInstrument
into the equivalentMetricData
. - AggregationConfiguration - Class in io.opentelemetry.sdk.metrics.view
-
An AggregationConfiguration describes how an aggregation should be performed.
- AggregationConfiguration() - Constructor for class io.opentelemetry.sdk.metrics.view.AggregationConfiguration
- AggregationConfiguration.Temporality - Enum in io.opentelemetry.sdk.metrics.view
-
An enumeration which describes the time period over which metrics should be aggregated.
- Aggregations - Class in io.opentelemetry.sdk.metrics.view
- Aggregator - Interface in io.opentelemetry.sdk.metrics.aggregator
-
Aggregator represents the interface for all the available aggregations.
- AggregatorFactory - Interface in io.opentelemetry.sdk.metrics.aggregator
-
Factory class for
Aggregator
. - availableForInstrument(InstrumentType) - Method in interface io.opentelemetry.sdk.metrics.view.Aggregation
-
Returns
true
if thisAggregation
can be applied to the givenInstrumentType
.
B
- build() - Method in class io.opentelemetry.sdk.metrics.export.IntervalMetricReader.Builder
-
Builds a new
IntervalMetricReader
with current settings. - build() - Method in class io.opentelemetry.sdk.metrics.MeterSdkProvider.Builder
-
Create a new TracerSdkFactory instance.
- build() - Method in interface io.opentelemetry.sdk.metrics.view.InstrumentSelector.Builder
-
Returns an InstrumentSelector instance with the content of this builder.
- builder() - Static method in class io.opentelemetry.sdk.metrics.export.IntervalMetricReader
-
Returns a new
IntervalMetricReader.Builder
forIntervalMetricReader
. - builder() - Static method in class io.opentelemetry.sdk.metrics.MeterSdkProvider
-
Returns a new
MeterSdkProvider.Builder
forMeterSdkProvider
. - builderFromDefaultSources() - Static method in class io.opentelemetry.sdk.metrics.export.IntervalMetricReader
-
Returns a new
IntervalMetricReader.Builder
forIntervalMetricReader
reading the configuration values from the environment and from system properties.
C
- collectAllMetrics() - Method in interface io.opentelemetry.sdk.metrics.export.MetricProducer
-
Returns a collection of produced
MetricData
s to be exported. - count() - Static method in class io.opentelemetry.sdk.metrics.view.Aggregations
-
Returns an
Aggregation
that calculates count of recorded measurements (the number of recorded measurements). - COUNTER - io.opentelemetry.sdk.metrics.common.InstrumentType
- create() - Method in class io.opentelemetry.sdk.metrics.spi.MeterProviderFactorySdk
- create(double, double) - Static method in class io.opentelemetry.sdk.metrics.data.MetricData.ValueAtPercentile
- create(long, long, Labels, double) - Static method in class io.opentelemetry.sdk.metrics.data.MetricData.DoublePoint
- create(long, long, Labels, long) - Static method in class io.opentelemetry.sdk.metrics.data.MetricData.LongPoint
- create(long, long, Labels, long, double, List<MetricData.ValueAtPercentile>) - Static method in class io.opentelemetry.sdk.metrics.data.MetricData.SummaryPoint
- create(Aggregation, AggregationConfiguration.Temporality) - Static method in class io.opentelemetry.sdk.metrics.view.AggregationConfiguration
-
Returns a new configuration with the provided options.
- create(Resource, InstrumentationLibraryInfo, String, String, String, MetricData.Type, Collection<MetricData.Point>) - Static method in class io.opentelemetry.sdk.metrics.data.MetricData
- CUMULATIVE - io.opentelemetry.sdk.metrics.view.AggregationConfiguration.Temporality
-
Metrics will be aggregated over the lifetime of the associated
Instrument
.
D
- DELTA - io.opentelemetry.sdk.metrics.view.AggregationConfiguration.Temporality
-
Metrics will be aggregated only over the most recent collection interval.
- distributionWithExplicitBounds(Double...) - Static method in class io.opentelemetry.sdk.metrics.view.Aggregations
-
Returns an
Aggregation
that calculates distribution stats on recorded measurements. - doRecordDouble(double) - Method in class io.opentelemetry.sdk.metrics.aggregator.DoubleLastValueAggregator
- doRecordDouble(double) - Method in class io.opentelemetry.sdk.metrics.aggregator.DoubleMinMaxSumCount
- doRecordDouble(double) - Method in class io.opentelemetry.sdk.metrics.aggregator.DoubleSumAggregator
- doRecordLong(long) - Method in class io.opentelemetry.sdk.metrics.aggregator.LongLastValueAggregator
- doRecordLong(long) - Method in class io.opentelemetry.sdk.metrics.aggregator.LongMinMaxSumCount
- doRecordLong(long) - Method in class io.opentelemetry.sdk.metrics.aggregator.LongSumAggregator
- DOUBLE - io.opentelemetry.sdk.metrics.common.InstrumentValueType
- DoubleLastValueAggregator - Class in io.opentelemetry.sdk.metrics.aggregator
-
Aggregator that aggregates recorded values by storing the last recorded value.
- DoubleLastValueAggregator() - Constructor for class io.opentelemetry.sdk.metrics.aggregator.DoubleLastValueAggregator
- DoubleMinMaxSumCount - Class in io.opentelemetry.sdk.metrics.aggregator
- DoubleSumAggregator - Class in io.opentelemetry.sdk.metrics.aggregator
- DoubleSumAggregator() - Constructor for class io.opentelemetry.sdk.metrics.aggregator.DoubleSumAggregator
E
- export(Collection<MetricData>) - Method in interface io.opentelemetry.sdk.metrics.export.MetricExporter
-
Exports the collection of given
MetricData
.
F
- flush() - Method in interface io.opentelemetry.sdk.metrics.export.MetricExporter
-
Exports the collection of
MetricData
that have not yet been exported. - fromConfigMap(Map<String, String>, ConfigBuilder.NamingConvention) - Method in class io.opentelemetry.sdk.metrics.export.IntervalMetricReader.Builder
-
Sets the configuration values from the given configuration map for only the available keys.
G
- GAUGE_DOUBLE - io.opentelemetry.sdk.metrics.data.MetricData.Type
-
A Gauge represents a measurement of a double value at a moment in time.
- GAUGE_LONG - io.opentelemetry.sdk.metrics.data.MetricData.Type
-
A Gauge represents a measurement of a long value at a moment in time.
- get(String) - Method in class io.opentelemetry.sdk.metrics.MeterSdkProvider
- get(String, String) - Method in class io.opentelemetry.sdk.metrics.MeterSdkProvider
- getAggregator() - Method in interface io.opentelemetry.sdk.metrics.aggregator.AggregatorFactory
-
Returns a new
Aggregator
. - getAggregatorFactory(InstrumentValueType) - Method in interface io.opentelemetry.sdk.metrics.view.Aggregation
-
Returns an
AggregationFactory
that can be used to produce theAggregator
that needs to be used to aggregate all the values to produce thisAggregation
. - getCount() - Method in class io.opentelemetry.sdk.metrics.data.MetricData.SummaryPoint
-
The number of values that are being summarized.
- getDescription() - Method in class io.opentelemetry.sdk.metrics.data.MetricData
-
Returns the description of this metric.
- getDescriptorType(InstrumentType, InstrumentValueType) - Method in interface io.opentelemetry.sdk.metrics.view.Aggregation
-
Returns the
MetricData.Type
that thisAggregation
will produce. - getEpochNanos() - Method in class io.opentelemetry.sdk.metrics.data.MetricData.Point
-
Returns the epoch timestamp in nanos when data were collected, usually it represents the moment when
Instrument.getData()
was called. - getFactory() - Static method in class io.opentelemetry.sdk.metrics.aggregator.DoubleLastValueAggregator
-
Returns an
AggregatorFactory
that producesDoubleLastValueAggregator
instances. - getFactory() - Static method in class io.opentelemetry.sdk.metrics.aggregator.DoubleMinMaxSumCount
- getFactory() - Static method in class io.opentelemetry.sdk.metrics.aggregator.DoubleSumAggregator
-
Returns an
AggregatorFactory
that producesDoubleSumAggregator
instances. - getFactory() - Static method in class io.opentelemetry.sdk.metrics.aggregator.LongLastValueAggregator
-
Returns an
AggregatorFactory
that producesLongLastValueAggregator
instances. - getFactory() - Static method in class io.opentelemetry.sdk.metrics.aggregator.LongMinMaxSumCount
- getFactory() - Static method in class io.opentelemetry.sdk.metrics.aggregator.LongSumAggregator
-
Returns an
AggregatorFactory
that producesLongSumAggregator
instances. - getFactory() - Static method in class io.opentelemetry.sdk.metrics.aggregator.NoopAggregator
- getInstrumentationLibraryInfo() - Method in class io.opentelemetry.sdk.metrics.data.MetricData
-
Returns the instrumentation library specified when creating the
Meter
which created theInstrument
that producesMetricData
. - getLabels() - Method in class io.opentelemetry.sdk.metrics.data.MetricData.Point
-
Returns the labels associated with this
Point
. - getMetricProducer() - Method in class io.opentelemetry.sdk.metrics.MeterSdkProvider
-
Returns the
MetricProducer
that can be used to retrieve metrics from thisMeterSdkProvider
. - getName() - Method in class io.opentelemetry.sdk.metrics.data.MetricData
-
Returns the metric name.
- getPercentile() - Method in class io.opentelemetry.sdk.metrics.data.MetricData.ValueAtPercentile
-
The percentile of a distribution.
- getPercentileValues() - Method in class io.opentelemetry.sdk.metrics.data.MetricData.SummaryPoint
-
Percentile values in the summarization.
- getPoints() - Method in class io.opentelemetry.sdk.metrics.data.MetricData
-
Returns the data
MetricData.Point
s for this metric. - getResource() - Method in class io.opentelemetry.sdk.metrics.data.MetricData
-
Returns the resource of this
MetricData
. - getStartEpochNanos() - Method in class io.opentelemetry.sdk.metrics.data.MetricData.Point
-
Returns the start epoch timestamp in nanos of this
Instrument
, usually the time when the metric was created or an aggregation was enabled. - getSum() - Method in class io.opentelemetry.sdk.metrics.data.MetricData.SummaryPoint
-
The sum of all the values that are being summarized.
- getType() - Method in class io.opentelemetry.sdk.metrics.data.MetricData
-
Returns the type of this metric.
- getUnit() - Method in class io.opentelemetry.sdk.metrics.data.MetricData
-
Returns the unit of this metric.
- getUnit(String) - Method in interface io.opentelemetry.sdk.metrics.view.Aggregation
-
Returns the unit that this
Aggregation
will produce. - getValue() - Method in class io.opentelemetry.sdk.metrics.data.MetricData.DoublePoint
-
Returns the value of the data point.
- getValue() - Method in class io.opentelemetry.sdk.metrics.data.MetricData.LongPoint
-
Returns the value of the data point.
- getValue() - Method in class io.opentelemetry.sdk.metrics.data.MetricData.ValueAtPercentile
-
The value at the given percentile of a distribution.
H
- hasInstrumentNameRegex() - Method in class io.opentelemetry.sdk.metrics.view.InstrumentSelector
-
Returns whether the instrument name regex been specified.
- hasInstrumentType() - Method in class io.opentelemetry.sdk.metrics.view.InstrumentSelector
-
Returns whether the InstrumentType been specified.
- hasRecordings() - Method in interface io.opentelemetry.sdk.metrics.aggregator.Aggregator
-
Whether there have been any recordings since this aggregator has been reset.
- hasRecordings() - Method in class io.opentelemetry.sdk.metrics.aggregator.NoopAggregator
I
- instrumentNamePattern() - Method in class io.opentelemetry.sdk.metrics.view.InstrumentSelector
-
Returns the
Pattern
generated by the providedInstrumentSelector.instrumentNameRegex()
, or null if none was specified. - instrumentNameRegex() - Method in class io.opentelemetry.sdk.metrics.view.InstrumentSelector
-
Returns which instrument names should be selected.
- instrumentNameRegex(String) - Method in interface io.opentelemetry.sdk.metrics.view.InstrumentSelector.Builder
-
Sets a specifier for selecting Instruments by name.
- InstrumentSelector - Class in io.opentelemetry.sdk.metrics.view
-
Provides means for selecting one ore more
Instrument
s. - InstrumentSelector() - Constructor for class io.opentelemetry.sdk.metrics.view.InstrumentSelector
- InstrumentSelector.Builder - Interface in io.opentelemetry.sdk.metrics.view
-
Builder for
InstrumentSelector
instances. - instrumentType() - Method in class io.opentelemetry.sdk.metrics.view.InstrumentSelector
-
Returns
InstrumentType
that should be selected. - instrumentType(InstrumentType) - Method in interface io.opentelemetry.sdk.metrics.view.InstrumentSelector.Builder
-
Sets a specifier for
InstrumentType
. - InstrumentType - Enum in io.opentelemetry.sdk.metrics.common
-
All instrument types available in the metric package.
- InstrumentValueType - Enum in io.opentelemetry.sdk.metrics.common
-
All possible types for the values recorded via the instruments.
- IntervalMetricReader - Class in io.opentelemetry.sdk.metrics.export
-
Wraps a list of
MetricProducer
s and automatically reads and exports the metrics every export interval. - IntervalMetricReader.Builder - Class in io.opentelemetry.sdk.metrics.export
-
Builder for
IntervalMetricReader
. - io.opentelemetry.sdk.metrics - package io.opentelemetry.sdk.metrics
-
The SDK implementation of metrics.
- io.opentelemetry.sdk.metrics.aggregator - package io.opentelemetry.sdk.metrics.aggregator
-
Metric aggregators.
- io.opentelemetry.sdk.metrics.common - package io.opentelemetry.sdk.metrics.common
-
Common utilities used by metrics.
- io.opentelemetry.sdk.metrics.data - package io.opentelemetry.sdk.metrics.data
-
The data format to model metrics for export.
- io.opentelemetry.sdk.metrics.export - package io.opentelemetry.sdk.metrics.export
-
Utilities that allow to export metrics to the OpenTelemetry exporters.
- io.opentelemetry.sdk.metrics.spi - package io.opentelemetry.sdk.metrics.spi
-
The SPI implementation which provides the SDK implementation of metrics.
- io.opentelemetry.sdk.metrics.view - package io.opentelemetry.sdk.metrics.view
-
Metric views.
L
- lastValue() - Static method in class io.opentelemetry.sdk.metrics.view.Aggregations
-
Returns an
Aggregation
that calculates the last value of all recorded measurements. - LONG - io.opentelemetry.sdk.metrics.common.InstrumentValueType
- LongLastValueAggregator - Class in io.opentelemetry.sdk.metrics.aggregator
-
Aggregator that aggregates recorded values by storing the last recorded value.
- LongLastValueAggregator() - Constructor for class io.opentelemetry.sdk.metrics.aggregator.LongLastValueAggregator
- LongMinMaxSumCount - Class in io.opentelemetry.sdk.metrics.aggregator
- LongSumAggregator - Class in io.opentelemetry.sdk.metrics.aggregator
- LongSumAggregator() - Constructor for class io.opentelemetry.sdk.metrics.aggregator.LongSumAggregator
M
- mergeToAndReset(Aggregator) - Method in interface io.opentelemetry.sdk.metrics.aggregator.Aggregator
-
Merges the current value into the given
aggregator
and resets the current value in thisAggregator
. - mergeToAndReset(Aggregator) - Method in class io.opentelemetry.sdk.metrics.aggregator.NoopAggregator
- MeterProviderFactorySdk - Class in io.opentelemetry.sdk.metrics.spi
-
MeterProvider
provider implementation forMeterProviderFactory
. - MeterProviderFactorySdk() - Constructor for class io.opentelemetry.sdk.metrics.spi.MeterProviderFactorySdk
- MeterSdkProvider - Class in io.opentelemetry.sdk.metrics
-
Meter
provider implementation forMeterProvider
. - MeterSdkProvider.Builder - Class in io.opentelemetry.sdk.metrics
-
Builder class for the
MeterSdkProvider
. - MetricData - Class in io.opentelemetry.sdk.metrics.data
-
A
MetricData
represents the data exported as part of aggregating oneInstrument
. - MetricData.DoublePoint - Class in io.opentelemetry.sdk.metrics.data
-
DoublePoint is a single data point in a timeseries that describes the time-varying value of a double metric.
- MetricData.LongPoint - Class in io.opentelemetry.sdk.metrics.data
-
LongPoint is a single data point in a timeseries that describes the time-varying values of a int64 metric.
- MetricData.Point - Class in io.opentelemetry.sdk.metrics.data
- MetricData.SummaryPoint - Class in io.opentelemetry.sdk.metrics.data
-
SummaryPoint is a single data point that summarizes the values in a time series of numeric values.
- MetricData.Type - Enum in io.opentelemetry.sdk.metrics.data
-
The kind of metric.
- MetricData.ValueAtPercentile - Class in io.opentelemetry.sdk.metrics.data
- MetricExporter - Interface in io.opentelemetry.sdk.metrics.export
-
MetricExporter
is the interface that all "push based" metric libraries should use to export metrics to the OpenTelemetry exporters. - MetricProducer - Interface in io.opentelemetry.sdk.metrics.export
-
MetricProducer
is the interface that is used to make metric data available to the OpenTelemetry exporters. - minMaxSumCount() - Static method in class io.opentelemetry.sdk.metrics.view.Aggregations
-
Returns an
Aggregation
that calculates a simple summary of all recorded measurements. - MONOTONIC_DOUBLE - io.opentelemetry.sdk.metrics.data.MetricData.Type
-
An cumulative measurement of a double value.
- MONOTONIC_LONG - io.opentelemetry.sdk.metrics.data.MetricData.Type
-
An cumulative measurement of an long (int64) value.
N
- newBuilder() - Static method in class io.opentelemetry.sdk.metrics.view.InstrumentSelector
- NON_MONOTONIC_DOUBLE - io.opentelemetry.sdk.metrics.data.MetricData.Type
-
An instantaneous measurement of a double value.
- NON_MONOTONIC_LONG - io.opentelemetry.sdk.metrics.data.MetricData.Type
-
An instantaneous measurement of a long (int64) value.
- NoopAggregator - Class in io.opentelemetry.sdk.metrics.aggregator
R
- recordDouble(double) - Method in interface io.opentelemetry.sdk.metrics.aggregator.Aggregator
-
Updates the current aggregator with a newly recorded
double
value. - recordDouble(double) - Method in class io.opentelemetry.sdk.metrics.aggregator.NoopAggregator
- recordLong(long) - Method in interface io.opentelemetry.sdk.metrics.aggregator.Aggregator
-
Updates the current aggregator with a newly recorded
long
value. - recordLong(long) - Method in class io.opentelemetry.sdk.metrics.aggregator.NoopAggregator
- registerView(InstrumentSelector, AggregationConfiguration) - Method in class io.opentelemetry.sdk.metrics.MeterSdkProvider
-
Register a view with the given
InstrumentSelector
.
S
- setClock(Clock) - Method in class io.opentelemetry.sdk.metrics.MeterSdkProvider.Builder
-
Assign a
Clock
. - setExportIntervalMillis(long) - Method in class io.opentelemetry.sdk.metrics.export.IntervalMetricReader.Builder
-
Sets the export interval.
- setMetricExporter(MetricExporter) - Method in class io.opentelemetry.sdk.metrics.export.IntervalMetricReader.Builder
-
Sets the exporter to be called when export metrics.
- setMetricProducers(Collection<MetricProducer>) - Method in class io.opentelemetry.sdk.metrics.export.IntervalMetricReader.Builder
-
Sets a collection of
MetricProducer
from where the metrics should be read. - setResource(Resource) - Method in class io.opentelemetry.sdk.metrics.MeterSdkProvider.Builder
-
Assign a
Resource
to be attached to all Spans created by Tracers. - shutdown() - Method in class io.opentelemetry.sdk.metrics.export.IntervalMetricReader
-
Stops the scheduled task and calls export one more time.
- shutdown() - Method in interface io.opentelemetry.sdk.metrics.export.MetricExporter
-
Called when the associated IntervalMetricReader is shutdown.
- sum() - Static method in class io.opentelemetry.sdk.metrics.view.Aggregations
-
Returns an
Aggregation
that calculates sum of recorded measurements. - SUM_OBSERVER - io.opentelemetry.sdk.metrics.common.InstrumentType
- SUMMARY - io.opentelemetry.sdk.metrics.data.MetricData.Type
-
A Summary of measurements of numeric values, containing the minimum value recorded, the maximum value recorded, the sum of all measurements and the total number of measurements recorded.
T
- temporality() - Method in class io.opentelemetry.sdk.metrics.view.AggregationConfiguration
-
Returns the
AggregationConfiguration.Temporality
that should be used for this View (delta vs. - toPoint(long, long, Labels) - Method in interface io.opentelemetry.sdk.metrics.aggregator.Aggregator
-
Returns the
Point
with the given properties and the value from this Aggregation. - toPoint(long, long, Labels) - Method in class io.opentelemetry.sdk.metrics.aggregator.DoubleLastValueAggregator
- toPoint(long, long, Labels) - Method in class io.opentelemetry.sdk.metrics.aggregator.DoubleMinMaxSumCount
- toPoint(long, long, Labels) - Method in class io.opentelemetry.sdk.metrics.aggregator.DoubleSumAggregator
- toPoint(long, long, Labels) - Method in class io.opentelemetry.sdk.metrics.aggregator.LongLastValueAggregator
- toPoint(long, long, Labels) - Method in class io.opentelemetry.sdk.metrics.aggregator.LongMinMaxSumCount
- toPoint(long, long, Labels) - Method in class io.opentelemetry.sdk.metrics.aggregator.LongSumAggregator
- toPoint(long, long, Labels) - Method in class io.opentelemetry.sdk.metrics.aggregator.NoopAggregator
U
- UP_DOWN_COUNTER - io.opentelemetry.sdk.metrics.common.InstrumentType
- UP_DOWN_SUM_OBSERVER - io.opentelemetry.sdk.metrics.common.InstrumentType
V
- VALUE_OBSERVER - io.opentelemetry.sdk.metrics.common.InstrumentType
- VALUE_RECORDER - io.opentelemetry.sdk.metrics.common.InstrumentType
- valueOf(String) - Static method in enum io.opentelemetry.sdk.metrics.common.InstrumentType
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum io.opentelemetry.sdk.metrics.common.InstrumentValueType
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum io.opentelemetry.sdk.metrics.data.MetricData.Type
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum io.opentelemetry.sdk.metrics.view.AggregationConfiguration.Temporality
-
Returns the enum constant of this type with the specified name.
- values() - Static method in enum io.opentelemetry.sdk.metrics.common.InstrumentType
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum io.opentelemetry.sdk.metrics.common.InstrumentValueType
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum io.opentelemetry.sdk.metrics.data.MetricData.Type
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum io.opentelemetry.sdk.metrics.view.AggregationConfiguration.Temporality
-
Returns an array containing the constants of this enum type, in the order they are declared.
All Classes All Packages