You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
You can now assign an OpenTelemetry schema URL to a Tracer via the new TracerBuilder class that is
accessed via the TracerProvider or any of the global instances that delegate to one.
Extensions
A new @SpanAttribute annotation has been added for adding method parameters to spans automatically. This
has no implementation in this release, but should be supported by the auto-instrumentation agent soon.
Exporters
Bugfixes
Calling shutdown() multiple times on the OTLP and Jaeger GRPC-based exporters will now work correctly and return a proper
implementation of CompletableResultCode for the calls beyond the first.
SDK
Bugfixes
If the jdk.unsupported package is not available, the BatchSpanProcessor will now fall back to a supported, standard Queue implementation.
Enhancements
A Resource can now be assigned an OpenTelemetry schema URL via the ResourceBuilder or the create(Attributes, String)
method on the Resource itself.
You can now obtain a default Clock based on system time via Clock.getDefault. The sdk-testing artifact also provides
a TestClock for unit testing.
Semantic Conventions (alpha)
The SemanticAttributes and ResourceAttributes classes have been updated to match the semantic conventions
as of specification release 1.4.0. These classes also now expose a SCHEMA_URL field which points at the
version of the OpenTelemetry schema the files were generated from. There are no breaking changes in this update, only additions.
Metrics (alpha)
You can now assign an OpenTelemetry schema URL to a Meter via the new MeterBuilder class that is
accessed via the MeterProvider or any global instances that delegate to one.
The metrics SDK now utilizes Attributes rather than Labels internally.
You can now register an IntervalMetricReader as global and forceFlush the global reader.
This discussion was created from the release Version 1.4.0.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
API
Enhancements
Tracer
via the newTracerBuilder
class that isaccessed via the
TracerProvider
or any of the global instances that delegate to one.Extensions
@SpanAttribute
annotation has been added for adding method parameters to spans automatically. Thishas no implementation in this release, but should be supported by the auto-instrumentation agent soon.
Exporters
Bugfixes
shutdown()
multiple times on the OTLP and Jaeger GRPC-based exporters will now work correctly and return a properimplementation of
CompletableResultCode
for the calls beyond the first.SDK
Bugfixes
jdk.unsupported
package is not available, theBatchSpanProcessor
will now fall back to a supported, standardQueue
implementation.Enhancements
Resource
can now be assigned an OpenTelemetry schema URL via theResourceBuilder
or thecreate(Attributes, String)
method on the
Resource
itself.Clock
based on system time viaClock.getDefault
. The sdk-testing artifact also providesa
TestClock
for unit testing.Semantic Conventions (alpha)
SemanticAttributes
andResourceAttributes
classes have been updated to match the semantic conventionsas of specification release
1.4.0
. These classes also now expose aSCHEMA_URL
field which points at theversion of the OpenTelemetry schema the files were generated from. There are no breaking changes in this update, only additions.
Metrics (alpha)
Meter
via the newMeterBuilder
class that isaccessed via the
MeterProvider
or any global instances that delegate to one.Attributes
rather thanLabels
internally.IntervalMetricReader
as global andforceFlush
the global reader.This discussion was created from the release Version 1.4.0.
Beta Was this translation helpful? Give feedback.
All reactions