OpenTelemetry - CNCF/opentelemetry-cpp: Release v1.4.0
Name: opentelemetry-cpp
Owner: OpenTelemetry - CNCF
Release: OpenTelemetry C++ v1.4.0
Released: 2022-05-18
License: Apache-2.0
Release Assets:
v1.4.0 release
Release of core packages
- opentelemetry-api
- opentelemetry-sdk
and exporter packages:
- opentelemetry-exporter-otlp (gRPC + HTTP/JSON)
- opentelemetry-exporter-etw
- opentelemetry-exporter-zipkin
- opentelemetry-exporter-jaeger (thrift + UDP/HTTP)
Changelog
API
- Upgrade proto to v0.17.0, update log data model (https://github.com/open-telemetry/opentelemetry-cpp/pull/1383)
- Add noexcept/const qualifier at missing places for Trace API. (https://github.com/open-telemetry/opentelemetry-cpp/pull/1374)
- Update yield logic for ARM processor (https://github.com/open-telemetry/opentelemetry-cpp/pull/1325)
SDK
- Get span_id from context when Logger::Log received invalid span_id (https://github.com/open-telemetry/opentelemetry-cpp/pull/1398)
- Fix sharing resource in batched exported spans (https://github.com/open-telemetry/opentelemetry-cpp/pull/1386)
- Fix empty tracestate header propagation (https://github.com/open-telemetry/opentelemetry-cpp/pull/1373)
- Fix baggage propagation for empty/invalid baggage context (https://github.com/open-telemetry/opentelemetry-cpp/pull/1367)
- Add explicit type cast in baggage UrlDecode (https://github.com/open-telemetry/opentelemetry-cpp/pull/1353)
Exporters
- Fix scalar delete against array (https://github.com/open-telemetry/opentelemetry-cpp/pull/1356)
- Conditional include for codecvt header (https://github.com/open-telemetry/opentelemetry-cpp/pull/1355)
- Prometheus exporter (https://github.com/open-telemetry/opentelemetry-cpp/pull/1331)
Build
- Alpine image (https://github.com/open-telemetry/opentelemetry-cpp/pull/1382)
- Fix missing link to nlohmann_json (https://github.com/open-telemetry/opentelemetry-cpp/pull/1390)
- Prometheus exporter meters and instrument name (https://github.com/open-telemetry/opentelemetry-cpp/pull/1378)
- Export opentelemetry_otlp_recordable (https://github.com/open-telemetry/opentelemetry-cpp/pull/1365)
- Add missing include guard (https://github.com/open-telemetry/opentelemetry-cpp/pull/1357)
- Use latest TraceLoggingDynamic.h (https://github.com/open-telemetry/opentelemetry-cpp/pull/1354)
- ostream metrics cmake (https://github.com/open-telemetry/opentelemetry-cpp/pull/1344)
- Link opentelemetry_ext with opentelemetry_api (https://github.com/open-telemetry/opentelemetry-cpp/pull/1336)
- Dependencies image as artifact (https://github.com/open-telemetry/opentelemetry-cpp/pull/1333)
- Fix Ninja path (https://github.com/open-telemetry/opentelemetry-cpp/pull/1326)
- Fix metrics compiler warnings (https://github.com/open-telemetry/opentelemetry-cpp/pull/1328)
Metrics features
- Connect async storage with async instruments (https://github.com/open-telemetry/opentelemetry-cpp/pull/1388)
- Reuse temporal metric storage for sync storage (https://github.com/open-telemetry/opentelemetry-cpp/pull/1369)
- Fix class member initialization order (https://github.com/open-telemetry/opentelemetry-cpp/pull/1360)
- Simplify SDK Configuration: Use View with default aggregation if no matching View is configured (https://github.com/open-telemetry/opentelemetry-cpp/pull/1358)
- Remove exporter registration to meter provider (https://github.com/open-telemetry/opentelemetry-cpp/pull/1350)
- Fix output time in metrics OStream exporter (https://github.com/open-telemetry/opentelemetry-cpp/pull/1346)
- Enable metric collection for Async Instruments - Delta and Cumulative (https://github.com/open-telemetry/opentelemetry-cpp/pull/1334)
- Metrics histogram example (https://github.com/open-telemetry/opentelemetry-cpp/pull/1330)
- Implement Merge and Diff operation for Histogram Aggregation (https://github.com/open-telemetry/opentelemetry-cpp/pull/1303)
Examples
- Prometheus example (https://github.com/open-telemetry/opentelemetry-cpp/pull/1332)
Docs
- Getting started document using ostream exporter (https://github.com/open-telemetry/opentelemetry-cpp/pull/1394)
Notes:
- This release includes alpha milestone of OpenTelemetry Metrics.
- The name parameter for Log APIs is deprecated and will be removed in future releases. See details in CHANGELOG.md