Repository navigation
Version v1.13.0
#4360
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
This release targets the OpenTelemetry SDK 1.13.0.
Although we originally intended 1.13.0 to be the first stable release of the metrics SDK, we've postponed it out of caution due to a large number of changes in both the metrics SDK specification and the java implementation. This release should be considered a release candidate for the metrics SDK. There are several notable changes mentioned in the Metrics section. Additionally, please note that the Auto-configuration module now enables metric export by default via OTLP, i.e. by default
otel.metrics.exporteris set tootlpinstead ofnone.API
TraceStateBuilderreuse bug.SDK
InstrumentationScopeInforeplacesInstrumentationLibraryInfo. Methods returningInstrumentationLibraryInfoare deprecated.ResourceBuilder#removeIf(Predicate)method for symmetry withAttributesBuilder.Traces
ExceptionEventData.Metrics
MetricReaderfactory pattern:MetricReaderinstances, rather thanMetricReaderFacotry, are registered withSdkMeterProviderBuilder. For example:SdkMeterProvider.builder().registerMetricReader(PeriodicMetricReader.builder(exporter).build()).MetricReaderdoes not support custom implementations. Built-in readers include:PeriodicMetricReader,PrometheusHttpServer, and for testing,InMemoryMetricReader.Dataclasses:MetriaDatareturnsInstrumentationScopeInfoinstead ofInstrumentationLibraryInfo.MetricDatafactories classes have been moved internal.ValueAtPercentilehas been converted toValueAtQuantileto reflect specification.HistogramPointDatautility methods for finding bucket bounds.InstrumentTypeandInstrumentValueTypetoio.opentelemetry.sdk.metricspackage.InstrumentSelector/ViewAPIs:InstrumentSelector/Viewand corresponding builders have been moved toio.opentelemetry.sdk.metricspackage.InstrumentSelectormeter selection criteria has been inlined andMeterSelectorhas been removed.InstrumentSelectorcriteria has been reduced to reflect specification. All fields are exact match, except instrument name which accepts wildcard*and?matches.InstrumentSelectorBuilder#build()is called without any selection criteria, an exception will be thrown.Viewbaggage appending attribute processor has been removed. Available for experimental use viaSdkMeterProviderUtil#appendFilteredBaggageAttributes.AttributeProcessorhas been moved internal.Aggregation#histogram(). UseAggregation#explicitBucketHistogram()instead.with_sampled_tracefilter. This can be adjusted via experimental APIs viaSdkMeterProviderUtil#setExemplarFilter.MetricExporter#getPreferredTemporality()has been removed and replaced withgetAggregationTemporality(InstrumentType), which allows exporters to dictate the aggregation temporality on a per-instrument basis.MetricExporter#alwaysCumulative(InstrumentType)andMetricExporter#deltaPreferred(Instrument)are provided as utilities representing common configurations.PeriodicMetricReaderwill no longer callMetricExporter#exportif no metrics are available.SdkMeterProviderBuilder#setMinimumCollectionIntervalhas been removed. Available for experimental use viaSdkMeterProviderUtil#setMinimumCollectionInterval.HistogramDataPoint.Logs
Exporter
otel.scope.nameandotel.scope.version, in addition tootel.library.nameandotel.library.versionwhich are retained for backwards compatibility.PrometheusCollector. UsePrometheusHttpServerinstead.UNIMPLEMENTED.setPreferredTemporalitymethod has been removed fromOtlpGrpcMetricExporterBuilderandOtlpHttpMetricExporterBuilder. UsesetAggregationTemporality(Function<InstrumentType, AggregationTemporality>)instead.SDK Extensions
otel.metrics.exportertootlpinstead ofnone, enabling metric export by default.otel.java.enabled.resource-providersproperty for opting into specific resource providers.Micrometer shim
opentelemetry-java-instrumentation. Artifact is available at maven coordinatesio.opentelemetry:opentelemetry-micrometer1-shim:1.13.0-alpha.Testing
SpanDataAssert.hasAttributemethods.🙇 Thank you
This release was possible thanks to the following contributors who shared their brilliant ideas and awesome pull requests:
@anuraaga
@bogdandrutu
@breedx-splk
@HaloFour
@jack-berg
@jkamon
@jkwatson
@jsuereth
@kubawach
@mateuszrzeszutek
@mdii
@pokusak
@Rocksnake
@trask
@wallezhang
@zeitlinger
This discussion was created from the release Version v1.13.0.
All reactions