Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Created by
brew bump
Created with
brew bump-formula-pr
.release notes
and exporter packages:
What's Changed
nostd::enable_if_t
instead ofstd::enable_if_t
by @owent in [BUILD] Usenostd::enable_if_t
instead ofstd::enable_if_t
open-telemetry/opentelemetry-cpp#2648Logger::EmitLogRecord
by @owent in [API] DO not allow unsafeLogger::EmitLogRecord
open-telemetry/opentelemetry-cpp#2673third_party_release
by @owent in [BUILD] Read default proto version fromthird_party_release
open-telemetry/opentelemetry-cpp#2677WITH_OTLP_GRPC_SSL_MTLS_PREVIEW
by @owent in [BUILD] Add optionWITH_OTLP_GRPC_SSL_MTLS_PREVIEW
open-telemetry/opentelemetry-cpp#2714Important changes
#2664
opentelemetry::trace::Tracer
exposed methods suchas
ForceFlush()
,ForceFlushWithMicroseconds()
,Close()
and
CloseWithMicroseconds()
.and should not be part of the API. Exposing them was an oversight.
OPENTELEMETRY_ABI_VERSION_NO 1
, nothing is changed,because removing this code would break the ABI.
OPENTELEMETRY_ABI_VERSION_NO 2
, these methods are movedfrom the API to the SDK. This is a breaking change for ABI version 2,
which is still experimental.
invoke flush or close on a tracer, do not use these methods.
Breaking changes
#2664
returned an API object (opentelemetry::trace::TracerProvider)
to the caller.
(opentelemetry::sdk::trace::TracerProvider) to the caller.
cleanup and invoke SDK level methods, such as ForceFlush(),
on a provider.
the various provider factories, may need adjustment.
longer perform static_cast do convert an API object to an SDK object.
Please refer to examples for guidance on how to adjust.
an alternate and temporary solution is to build with option
WITH_DEPRECATED_SDK_FACTORY=ON in CMake.
without application changes, posponing changes for later.
an easier migration path. Expect this flag to be removed,
as early as by the next release.
Notes on experimental features
introduced
MeterProvider::SetExemplar()
which accepts anExemplarFilterType
enumeration withkAlwaysOff
,kAlwaysOn
andkTraceBased
.New Contributors
Full Changelog: open-telemetry/opentelemetry-cpp@v1.15.0...v1.16.0