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
WITH_DEPRECATED_SDK_FACTORY
by @marcalff in [REMOVAL] Remove build optionWITH_DEPRECATED_SDK_FACTORY
open-telemetry/opentelemetry-cpp#2717PeriodicExportingMetricReader
. by @owent in [SDK] Fix crash inPeriodicExportingMetricReader
. open-telemetry/opentelemetry-cpp#2983Breaking changes
[REMOVAL] Remove build option
WITH_DEPRECATED_SDK_FACTORY
#2717
As announced in opentelemetry-cpp previous release 1.16.0,
CMake option
WITH_DEPRECATED_SDK_FACTORY
was temporary,and to be removed by the next release.
This option is now removed.
Code configuring the SDK must be adjusted, as previously described:
[API/SDK] Provider cleanup
#2664
Before this fix:
SDK factory methods such as:
returned an API object (opentelemetry::trace::TracerProvider)
to the caller.
After this fix, these methods return an SDK level object
(opentelemetry::sdk::trace::TracerProvider) to the caller.
Returning an SDK object is necessary for the application to
cleanup and invoke SDK level methods, such as ForceFlush(),
on a provider.
The application code that configures the SDK, by calling
the various provider factories, may need adjustment.
All the examples have been updated, and in particular no
longer perform static_cast do convert an API object to an SDK object.
Please refer to examples for guidance on how to adjust.
New Contributors
Full Changelog: open-telemetry/opentelemetry-cpp@v1.16.1...v1.17.0