v1.22.0 release
Release of:
- opentelemetry-api
- opentelemetry-sdk
- exporter packages
What's Changed
- [DOC] Udpate link to membership document by @ThomsonTan in #3452
- [CI] build examples with IWYU by @marcalff in #3450
- Bump ossf/scorecard-action from 2.4.1 to 2.4.2 by @dependabot[bot] in #3455
- [SDK] Use shared_ptr internally for AttributesProcessor to prevent use-after-free by @lalitb in #3457
- [CI] build iwyu by @dbarker in #3459
- Bump github/codeql-action from 3.28.18 to 3.28.19 by @dependabot[bot] in #3462
- [DOC] Update doc comments to pass -WDocumention check by @zurex in #3375
- [TEST] test examples in CI with CMake Part 1 by @dbarker in #3449
- [BUILD] Allow compilation with CXX26 by @vencislav-georgiev-1A in #3464
- [SDK] Add credentials option to OTLP gRPC client (#3402) by @DouglasHeriot in #3403
- [CI] Remove windows 2019 by @marcalff in #3466
- [CodeHealth] fix include-what-you-use, part 8 by @marcalff in #3465
- [BUILD] Upgrade to opentelemetry-proto 1.7.0 by @marcalff in #3443
- Bump github/codeql-action from 3.28.19 to 3.29.0 by @dependabot[bot] in #3472
- Bump step-security/harden-runner from 2.12.0 to 2.12.1 by @dependabot[bot] in #3471
- [SDK] BatchLogRecordProcessor::ForceFlush is not waking up bg thread by @KJTsanaktsidis in #3448
- [CI] rely on github installed cmake for ci runners by @dbarker in #3482
- [CI] Increase code coverage of iwyu and clang-tidy ci jobs by @dbarker in #3469
- [REMOVAL] Remove CMake option WITH_REMOVE_METER_PREVIEW by @marcalff in #3476
- [REMOVAL] Removed deprecated semantic convention header files. by @marcalff in #3475
- Bump docker/setup-buildx-action from 3.10.0 to 3.11.0 by @dependabot[bot] in #3483
- Bump docker/setup-buildx-action from 3.11.0 to 3.11.1 by @dependabot[bot] in #3488
- [Code Health] include-what-you-use cleanup, part 9 by @marcalff in #3492
- [CodeHealth] Fix clang-tidy warnings part 1 by @dbarker in #3493
- [CMAKE] Add thirdparty install cmake project and install bash script by @dbarker in #3486
- [DOC] Update community member listings by @opentelemetrybot in #3499
- [CodeHealth] Fix clang-tidy warnings part 2 by @dbarker in #3496
- [CodeHealth] Fix clang-tidy warnings part 3 by @dbarker in #3498
- [DOC] Fix outdated community membership link by @opentelemetrybot in #3500
- [CONFIGURATION] File configuration - trace model by @marcalff in #3467
- [CONFIGURATION] File configuration - sampler model by @marcalff in #3468
- [BUILD] Fixes grpc linking for OTLP exporter's tests by @owent in #3435
- [CONFIGURATION] File configuration - log model by @marcalff in #3473
- [CONFIGURATION] File configuration - metric model by @marcalff in #3474
- Bump github/codeql-action from 3.29.0 to 3.29.1 by @dependabot[bot] in #3505
- [EXPORTER] Add bytes support for OTLP recordables by @owent in #3495
- [CodeHealth] Fix clang tidy warnings part 4 by @dbarker in #3501
- [CodeHealth] Fix clang-tidy warnings part 5 by @dbarker in #3506
- [CI] Add minimum token permissions for all github workflow files by @opentelemetrybot in #3508
- Bump step-security/harden-runner from 2.12.1 to 2.12.2 by @dependabot[bot] in #3509
- Bump github/codeql-action from 3.29.1 to 3.29.2 by @dependabot[bot] in #3510
- [BUILD] Fixes compiling problems in NDK r27 by @owent in #3517
- [CMAKE] clean up googletest and benchmark dependency management by @dbarker in #3485
- [CONFIGURATION] File configuration - extension model by @marcalff in #3503
- [CONFIGURATION] File configuration - misc model by @marcalff in #3504
- [CONFIGURATION] File configuration - metric aggregation model by @marcalff in #3502
- [CMAKE] find or fetch nlohmann-json by @dbarker in #3523
- [CMAKE] Address the vcpkg opentelemetry-cpp port CMake patches by @dbarker in #3518
- [CMAKE] Add CMake script to find or fetch prometheus-cpp by @dbarker in #3522
- [CMAKE] Switch opentelemetry-proto to use FetchContent by @dbarker in #3524
- [CMAKE] Add CMake script to find or fetch Microsoft.GSL by @dbarker in #3521
- [SEMANTIC CONVENTIONS] Upgrade to semantic conventions 1.36.0 by @marcalff in #3527
- [SDK] Fixes duration overflow by @owent in #3529
- [CONFIGURATION] File configuration - yaml parser by @marcalff in #3519
- [CONFIGURATION] File configuration - configuration parser by @marcalff in #3520
- [ADMIN] Remove file .github/repository-settings.md by @reyang in #3534
- [RELEASE] Release opentelemetry-cpp version 1.22.0 by @marcalff in #3532
Important changes
-
[REMOVAL] Removed deprecated semantic convention header files
#3475-
Old semantic conventions header files have been removed,
per announcement from Nov 9, 2024, see
#3105 -
Mitigation steps are repeated below, for convenience.
-
Two things have changed:
- the header file to use
- the symbol name to use.
Before, the semantic convention for
url.full
was:- declared in file
semantic_conventions.h
- declared as symbol
SemanticConventions::kUrlFull
Now, the
url.full
convention, which is part or theurl
group, is:- declared in file
semconv/url_attributes.h
- declared as symbol
semconv::url::kUrlFull
Application code that uses semantic conventions must be adjusted
accordingly.In addition, semantic conventions that are not marked as stable
are generated in a different header file, placed under directory
incubating
, to better separate stable and non stable code.For example, file
semconv/incubating/url_attributes.h
definessemconv::url::kUrlDomain
,
which is not marked as stable in semconv v1.27.0
-
New Contributors
- @vencislav-georgiev-1A made their first contribution in #3464
- @DouglasHeriot made their first contribution in #3403
- @KJTsanaktsidis made their first contribution in #3448
Full Changelog: v1.21.0...v1.22.0