OpenTelemetry C++ v1.10.0
v1.10.0 release
Release of core packages
- opentelemetry-api
- opentelemetry-sdk
and exporter packages:
- opentelemetry-exporter-otlp (gRPC + HTTP/JSON)
- opentelemetry-exporter-prometheus
REMOVAL
- [REMOVAL] Remove the jaeger exporter
#2031
CI
-
[CI] Add a C++11 build
#2152 -
[CI] Add Include what you use
#2214 -
[CI] opentelemetry-cpp project CI
#2071 -
[CI] Do not tag pull_request with the "need-triage" label
#2228
BUILD
-
[BUILD] Fixing CMake to build GTest on Windows
#1887 -
[BUILD] Remove option WITH_OTLP
#2161 -
[BUILD] Link to opentelemetry_logs even without OTLP
#2177 -
[BUILD] Avoid dependency on protobuf from the OTLP HTTP metrics exporter header
#2179 -
[BUILD] Add ctime header to metrics_exporter.cc
#2187 -
[BUILD] Fix the exported symbol name for 32-bit win32 DLL
#2190 -
[BUILD] Upgrade to opentelemetry-proto 0.20.0
#2195 -
[BUILD] SDK Header files cleanup, use forward declarations
#2182 -
[BUILD] Enable building otel-cpp extensions from main repo
#1937 -
[BUILD] Fix if check on environment variable and add CMake variable
#2207 -
[BUILD] Add
OPENTELEMETRY_CPP_FOUND
into cmake CONFIG file
#2215 -
[BUILD] Upgrade opentelemetry-proto to 1.0.0
#2216 -
[BUILD] Include nostd/string_view which is used in severity.h
#2219
TEST
- [TEST] Expand api singleton test to cover explicit dlopen()
#2164
API
SDK
-
[SDK] Add AdaptingCircularBufferCounter for exponential histograms
#2158 -
[SDK] Add base2 exponential histogram indexer
#2173 -
[SDK] Simplify SDK version
#2180 -
[SDK] Add benchmark for base2 exponential histogram indexer
#2181 -
[SDK] Provide builders to avoid exposing Metrics SDK internals
#2189 -
[SDK] MeterProvider should own MeterContext, not share it
#2218 -
[SDK] TracerProvider should own TracerContext, not share it
#2221
EXPORTER
-
[EXPORTER] Change OTLP Json field name to camelCase
#2162 -
[EXPORTER] Support empty arrays in
OtlpRecordable
attributes
#2166 -
[EXPORTER] set is_monotonic only for instrument type kCounter
#2171 -
[EXPORTER] Fixed HTTP CURL for 32bits platforms
#2178 -
[EXPORTER] Fix OTLP HTTP exporting in sync mode
#2193 -
[EXPORTER] Prometheus exporter sanitizes invalid characters
#1934 -
[EXPORTER] Prometheus: Error on ingesting samples
with different value but same timestamp
#2200 -
[EXPORTER] OTLP GRPC mTLS support
#2120
DOC
Important changes
- [API] Remove Meters
#2205- The CMake option
WITH_REMOVE_METER_PREVIEW
was added. - This option is experimental, and may change in the future.
- Enabling it is an ABI breaking change.
- The CMake option
Breaking changes
-
[REMOVAL] Remove the jaeger exporter
#2031- The CMake
WITH_JAEGER
option has been removed - Please remove usage of
WITH_JAEGER
from user scripts and makefiles.
- The CMake
-
[SDK] MeterProvider should own MeterContext, not share it
#2218- The
MeterProvider
constructor now takes aunique_ptr
on
MeterContext
, instead of ashared_ptr
. - Please adjust SDK configuration code accordingly.
- The
-
[SDK] TracerProvider should own TracerContext, not share it
#2221- The
TracerProvider
constructor now takes aunique_ptr
on
TracerContext
, instead of ashared_ptr
. - The
LoggerProvider
constructor now takes aunique_ptr
on
LoggerContext
, instead of ashared_ptr
. - Please adjust SDK configuration code accordingly.
- The
All Deprecations
- C++11 support is to end, C++14 will be supported instead,
see DEPRECATED for details.
New Contributors
- @bachittle made their first contribution in #1887
- @mbrobbel made their first contribution in #2166
- @euroelessar made their first contribution in #2158
- @jaelrod made their first contribution in #2171
- @kylepl made their first contribution in #2120
Full Changelog: v1.9.1...v1.10.0