Version 1.1.0
#3124
Replies: 1 comment
-
|
The Context class now provides methods to wrap java.util.concurrent.Executor and java.util.concurrent.ExecutorService |
Beta Was this translation helpful? Give feedback.
0 replies
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.
-
API
Bugfixes
@GuardedByannotation for errorprone so there won't be an accidentaltransitive dependency on a 3rd-party jar.
TraceStateBuildernow will not crash when an empty value is provided.Enhancements
Contextclass now provides methods to wrapjava.util.concurrent.Executorandjava.util.concurrent.ExecutorServiceinstances to do context propagation using the current context. See
io.opentelemetry.context.Context.taskWrapping(...)formore details.
OpenTracing Shim (alpha)
TEXT_MAPand theHTTP_HEADERtype propagators for the shim.See
io.opentelemetry.opentracingshim.OpenTracingPropagatorsfor details.Extensions
SDK
Bugfixes
CompletableResultCode.join(long timeout, TimeUnit unit)method will no longerfailthe resultwhen the timeout happens. Nor will
whenCompleteactions be executed in that case.SimpleSpanProcessornow keeps track of pending export calls and will wait for them to completevia a CompletableResultCode when
forceFlush()is called. Similiarly, this is also done onshutdown().Enhancements
Linkentries that are reference an invalid SpanContext.This is an update from the OpenTelemetry Specification v1.1.0 release.
BatchSpanProcessorhave had some optimization done on them, to reduce CPUusage under load.
Resourceclass now hasbuilder()andtoBuilder()methods and a correspondingResourceBuilderclasshas been introduced for more fluent creation and modification of
Resourceinstances.error messages are logged in a single minute by an exporter, logging will be throttled down to only a single
log message per minute.
SDK Extensions
Bugfixes
autoconfiguremodule without a metrics SDK on the classpath.Enhancements
autoconfiguremodule now supportsOTEL_EXPORTER_OTLP_METRICS_ENDPOINTandOTEL_EXPORTER_OTLP_TRACES_ENDPOINTsettings, in addition to the combined
OTEL_EXPORTER_OTLP_ENDPOINTenvironment variable. Correspondingsystem properties are also supported (
-Dotel.exporter.otlp.metrics.endpointand-Dotel.exporter.otlp.traces.endpoint).SdkMeterProviderConfigurerSPI is now available in theautoconfiguremodule.Semantic Conventions (alpha)
This includes a breaking changes to the constants defined in the
ResourceAttributesclass:ResourceAttributes.CLOUD_ZONEhas been replaced withResourceAttributes.CLOUD_AVAILABILITY_ZONE.Metrics (alpha)
Breaking Changes
ViewRegistrynow lets you registerViewobjects, rather thanAggregatorFactoryinstances.GlobalMetricsProviderhas been renamed toGlobalMeterProvider.Viewregistration has been moved to theSdkMeterProviderBuilderand the methods on theSdkMeterProviderto add views have been deprecated. They will be removed in the next release.
Enhancements
This discussion was created from the release Version 1.1.0.
Beta Was this translation helpful? Give feedback.
All reactions