Skip to content

Commit 4de0bd5

Browse files
authored
Merge branch 'main' into copilot/fix-3511
2 parents aff62f5 + 62ba4de commit 4de0bd5

139 files changed

Lines changed: 10995 additions & 1166 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.github/repository-settings.md

Lines changed: 0 additions & 38 deletions
This file was deleted.

.github/workflows/ci.yml

Lines changed: 5 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ jobs:
4848
- name: setup
4949
run: |
5050
sudo -E ./ci/setup_ci_environment.sh
51-
sudo -E ./ci/setup_googletest.sh
51+
sudo -E apt-get install -y zlib1g-dev libcurl4-openssl-dev nlohmann-json3-dev
5252
- name: run cmake tests
5353
run: |
5454
./ci/do_ci.sh cmake.test
@@ -70,11 +70,10 @@ jobs:
7070
- name: setup
7171
run: |
7272
sudo -E ./ci/setup_ci_environment.sh
73-
sudo -E ./ci/setup_googletest.sh
74-
- name: Install abseil, protobuf, and grpc with apt
73+
- name: install dependencies
7574
run: |
7675
sudo -E apt-get update
77-
sudo -E apt-get install -y libabsl-dev libprotobuf-dev libgrpc++-dev protobuf-compiler protobuf-compiler-grpc
76+
sudo -E apt-get install -y zlib1g-dev libcurl4-openssl-dev libabsl-dev libprotobuf-dev libgrpc++-dev protobuf-compiler protobuf-compiler-grpc
7877
- name: run fetch content cmake test
7978
run: |
8079
./ci/do_ci.sh cmake.fetch_content.test
@@ -325,7 +324,7 @@ jobs:
325324
CXX: /usr/bin/g++-12
326325
run: |
327326
sudo -E ./ci/setup_ci_environment.sh
328-
sudo -E ./ci/setup_googletest.sh
327+
sudo -E apt-get install -y zlib1g-dev libcurl4-openssl-dev
329328
- name: run cmake tests (without otlp-exporter)
330329
env:
331330
CC: /usr/bin/gcc-12
@@ -348,7 +347,6 @@ jobs:
348347
- name: setup
349348
run: |
350349
sudo -E ./ci/setup_ci_environment.sh
351-
sudo -E ./ci/setup_googletest.sh
352350
- name: run cmake tests (enable opentracing-shim)
353351
run: ./ci/do_ci.sh cmake.opentracing_shim.test
354352

@@ -367,7 +365,6 @@ jobs:
367365
- name: setup
368366
run: |
369367
sudo -E ./ci/setup_ci_environment.sh
370-
sudo -E ./ci/setup_googletest.sh
371368
- name: run tests (enable stl)
372369
env:
373370
CXX_STANDARD: '14'
@@ -388,7 +385,6 @@ jobs:
388385
- name: setup
389386
run: |
390387
sudo -E ./ci/setup_ci_environment.sh
391-
sudo -E ./ci/setup_googletest.sh
392388
- name: run tests (enable stl)
393389
env:
394390
CXX_STANDARD: '17'
@@ -409,7 +405,6 @@ jobs:
409405
- name: setup
410406
run: |
411407
sudo -E ./ci/setup_ci_environment.sh
412-
sudo -E ./ci/setup_googletest.sh
413408
- name: run tests
414409
env:
415410
CXX_STANDARD: '20'
@@ -438,7 +433,6 @@ jobs:
438433
CXXFLAGS: "-stdlib=libc++"
439434
run: |
440435
sudo -E ./ci/setup_ci_environment.sh
441-
sudo -E ./ci/setup_googletest.sh
442436
- name: run tests
443437
env:
444438
CC: /usr/bin/clang
@@ -469,7 +463,6 @@ jobs:
469463
- name: setup
470464
run: |
471465
sudo -E ./ci/setup_ci_environment.sh
472-
sudo -E ./ci/setup_googletest.sh
473466
- name: run tests
474467
env:
475468
CXX_STANDARD: '23'
@@ -498,7 +491,6 @@ jobs:
498491
CXXFLAGS: "-stdlib=libc++"
499492
run: |
500493
sudo -E ./ci/setup_ci_environment.sh
501-
sudo -E ./ci/setup_googletest.sh
502494
- name: run tests
503495
env:
504496
CC: /usr/bin/clang
@@ -630,7 +622,6 @@ jobs:
630622
CXX: /usr/bin/g++-12
631623
run: |
632624
sudo -E ./ci/setup_ci_environment.sh
633-
sudo -E ./ci/setup_googletest.sh
634625
- name: run tests
635626
env:
636627
CC: /usr/bin/gcc-12
@@ -1047,7 +1038,6 @@ jobs:
10471038
CXX: /usr/bin/g++-10
10481039
run: |
10491040
sudo -E ./ci/setup_ci_environment.sh
1050-
sudo -E ./ci/setup_googletest.sh
10511041
- name: run tests and generate report
10521042
env:
10531043
CC: /usr/bin/gcc-10
@@ -1143,7 +1133,7 @@ jobs:
11431133
CXX: /usr/bin/g++-12
11441134
run: |
11451135
sudo -E ./ci/setup_ci_environment.sh
1146-
sudo -E ./ci/setup_googletest.sh
1136+
sudo -E apt-get install -y zlib1g-dev libcurl4-openssl-dev
11471137
- name: run w3c trace-context test server (background)
11481138
env:
11491139
CXX_STANDARD: '14'

.github/workflows/clang-tidy.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,9 @@ jobs:
1717
matrix:
1818
include:
1919
- cmake_options: all-options-abiv1-preview
20-
warning_limit: 62
20+
warning_limit: 61
2121
- cmake_options: all-options-abiv2-preview
22-
warning_limit: 62
22+
warning_limit: 61
2323
steps:
2424
- name: Harden the runner (Audit all outbound calls)
2525
uses: step-security/harden-runner@6c439dc8bdf85cadbbce9ed30d1c7b959517bc49 # v2.12.2

.github/workflows/cmake_install.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -215,7 +215,7 @@ jobs:
215215
run: ./ci/do_ci.sh cmake.opentracing_shim.install.test
216216

217217
ubuntu_2404_conan_latest:
218-
name: Ubuntu 24.04 conan latest versions cxx17 (static libs)
218+
name: Ubuntu 24.04 conan latest versions cxx17 (static libs - opentracing shim)
219219
runs-on: ubuntu-24.04
220220
env:
221221
INSTALL_TEST_DIR: '/home/runner/install_test'
@@ -248,6 +248,8 @@ jobs:
248248
run: |
249249
export PKG_CONFIG_PATH=$INSTALL_TEST_DIR/lib/pkgconfig:$PKG_CONFIG_PATH
250250
./ci/verify_packages.sh
251+
- name: Run OpenTracing Shim Test
252+
run: ./ci/do_ci.sh cmake.opentracing_shim.install.test
251253

252254
macos_14_conan_stable:
253255
name: macOS 14 conan stable versions cxx17 (static libs)

.github/workflows/codeql-analysis.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,9 +34,7 @@ jobs:
3434
env:
3535
CC: /usr/bin/gcc-12
3636
CXX: /usr/bin/g++-12
37-
GOOGLETEST_VERSION: 1.12.1
3837
run: |
39-
sudo -E ./ci/setup_googletest.sh
4038
sudo -E ./ci/setup_ci_environment.sh
4139
- name: Initialize CodeQL
4240
uses: github/codeql-action/init@181d5eefc20863364f96762470ba6f862bdef56b # v3.29.2

CHANGELOG.md

Lines changed: 149 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -15,33 +15,176 @@ Increment the:
1515

1616
## [Unreleased]
1717

18-
* [TEST] Test examples in CI with CMake Part 1
18+
## [1.22 2025-07-11]
19+
20+
* [DOC] Udpate link to membership document
21+
[#3452](https://github.com/open-telemetry/opentelemetry-cpp/pull/3452)
22+
23+
* [CI] build examples with IWYU
24+
[#3450](https://github.com/open-telemetry/opentelemetry-cpp/pull/3450)
25+
26+
* Bump ossf/scorecard-action from 2.4.1 to 2.4.2
27+
[#3455](https://github.com/open-telemetry/opentelemetry-cpp/pull/3455)
28+
29+
* [SDK] Use shared_ptr internally for AttributesProcessor to prevent use-after-free
30+
[#3457](https://github.com/open-telemetry/opentelemetry-cpp/pull/3457)
31+
32+
* [CI] build iwyu
33+
[#3459](https://github.com/open-telemetry/opentelemetry-cpp/pull/3459)
34+
35+
* Bump github/codeql-action from 3.28.18 to 3.28.19
36+
[#3462](https://github.com/open-telemetry/opentelemetry-cpp/pull/3462)
37+
38+
* [DOC] Update doc comments to pass -WDocumention check
39+
[#3375](https://github.com/open-telemetry/opentelemetry-cpp/pull/3375)
40+
41+
* [TEST] test examples in CI with CMake Part 1
1942
[#3449](https://github.com/open-telemetry/opentelemetry-cpp/pull/3449)
2043

21-
* [EXPORTER] Add `credentials` option to OTLP Exporter’s gRPC Client
44+
* [BUILD] Allow compilation with CXX26
45+
[#3464](https://github.com/open-telemetry/opentelemetry-cpp/pull/3464)
46+
47+
* [SDK] Add credentials option to OTLP gRPC client
2248
[#3403](https://github.com/open-telemetry/opentelemetry-cpp/pull/3403)
2349

24-
* To enable with CMake: `-DWITH_OTLP_GRPC_CREDENTIAL_PREVIEW=ON`
25-
* To enable with Bazel: `--@io_opentelemetry_cpp//exporters/otlp:with_otlp_grpc_credential_preview=true`
50+
* [CI] Remove windows 2019
51+
[#3466](https://github.com/open-telemetry/opentelemetry-cpp/pull/3466)
2652

27-
* [BUILD] Upgrade opentelemetry-proto to 1.7.0
53+
* [CodeHealth] fix include-what-you-use, part 8
54+
[#3465](https://github.com/open-telemetry/opentelemetry-cpp/pull/3465)
55+
56+
* [BUILD] Upgrade to opentelemetry-proto 1.7.0
2857
[#3443](https://github.com/open-telemetry/opentelemetry-cpp/pull/3443)
2958

59+
* Bump github/codeql-action from 3.28.19 to 3.29.0
60+
[#3472](https://github.com/open-telemetry/opentelemetry-cpp/pull/3472)
61+
62+
* Bump step-security/harden-runner from 2.12.0 to 2.12.1
63+
[#3471](https://github.com/open-telemetry/opentelemetry-cpp/pull/3471)
64+
65+
* [SDK] BatchLogRecordProcessor::ForceFlush is not waking up bg thread
66+
[#3448](https://github.com/open-telemetry/opentelemetry-cpp/pull/3448)
67+
68+
* [CI] rely on github installed cmake for ci runners
69+
[#3482](https://github.com/open-telemetry/opentelemetry-cpp/pull/3482)
70+
71+
* [CI] Increase code coverage of iwyu and clang-tidy ci jobs
72+
[#3469](https://github.com/open-telemetry/opentelemetry-cpp/pull/3469)
73+
74+
* [REMOVAL] Remove CMake option WITH_REMOVE_METER_PREVIEW
75+
[#3476](https://github.com/open-telemetry/opentelemetry-cpp/pull/3476)
76+
3077
* [REMOVAL] Removed deprecated semantic convention header files
3178
[#3475](https://github.com/open-telemetry/opentelemetry-cpp/pull/3475)
3279

80+
* Bump docker/setup-buildx-action from 3.10.0 to 3.11.0
81+
[#3483](https://github.com/open-telemetry/opentelemetry-cpp/pull/3483)
82+
83+
* Bump docker/setup-buildx-action from 3.11.0 to 3.11.1
84+
[#3488](https://github.com/open-telemetry/opentelemetry-cpp/pull/3488)
85+
86+
* [Code Health] include-what-you-use cleanup, part 9
87+
[#3492](https://github.com/open-telemetry/opentelemetry-cpp/pull/3492)
88+
3389
* [CodeHealth] Fix clang-tidy warnings part 1
3490
[#3493](https://github.com/open-telemetry/opentelemetry-cpp/pull/3493)
3591

92+
* [CMAKE] Add thirdparty install cmake project and install bash script
93+
[#3486](https://github.com/open-telemetry/opentelemetry-cpp/pull/3486)
94+
95+
* [DOC] Update community member listings
96+
[#3499](https://github.com/open-telemetry/opentelemetry-cpp/pull/3499)
97+
3698
* [CodeHealth] Fix clang-tidy warnings part 2
3799
[#3496](https://github.com/open-telemetry/opentelemetry-cpp/pull/3496)
38100

39101
* [CodeHealth] Fix clang-tidy warnings part 3
40102
[#3498](https://github.com/open-telemetry/opentelemetry-cpp/pull/3498)
41103

42-
* [CodeHealth] Fix clang-tidy warnings part 4
104+
* [DOC] Fix outdated community membership link
105+
[#3500](https://github.com/open-telemetry/opentelemetry-cpp/pull/3500)
106+
107+
* [CONFIGURATION] File configuration - trace model
108+
[#3467](https://github.com/open-telemetry/opentelemetry-cpp/pull/3467)
109+
110+
* [CONFIGURATION] File configuration - sampler model
111+
[#3468](https://github.com/open-telemetry/opentelemetry-cpp/pull/3468)
112+
113+
* [BUILD] Fixes grpc linking for OTLP exporter's tests
114+
[#3435](https://github.com/open-telemetry/opentelemetry-cpp/pull/3435)
115+
116+
* [CONFIGURATION] File configuration - log model
117+
[#3473](https://github.com/open-telemetry/opentelemetry-cpp/pull/3473)
118+
119+
* [CONFIGURATION] File configuration - metric model
120+
[#3474](https://github.com/open-telemetry/opentelemetry-cpp/pull/3474)
121+
122+
* Bump github/codeql-action from 3.29.0 to 3.29.1
123+
[#3505](https://github.com/open-telemetry/opentelemetry-cpp/pull/3505)
124+
125+
* [EXPORTER] Add bytes support for OTLP recordables
126+
[#3495](https://github.com/open-telemetry/opentelemetry-cpp/pull/3495)
127+
128+
* [CodeHealth] Fix clang tidy warnings part 4
43129
[#3501](https://github.com/open-telemetry/opentelemetry-cpp/pull/3501)
44130

131+
* [CodeHealth] Fix clang-tidy warnings part 5
132+
[#3506](https://github.com/open-telemetry/opentelemetry-cpp/pull/3506)
133+
134+
* [CI] Add minimum token permissions for all github workflow files
135+
[#3508](https://github.com/open-telemetry/opentelemetry-cpp/pull/3508)
136+
137+
* Bump step-security/harden-runner from 2.12.1 to 2.12.2
138+
[#3509](https://github.com/open-telemetry/opentelemetry-cpp/pull/3509)
139+
140+
* Bump github/codeql-action from 3.29.1 to 3.29.2
141+
[#3510](https://github.com/open-telemetry/opentelemetry-cpp/pull/3510)
142+
143+
* [BUILD] Fixes compiling problems in NDK r27
144+
[#3517](https://github.com/open-telemetry/opentelemetry-cpp/pull/3517)
145+
146+
* [CMAKE] clean up googletest and benchmark dependency management
147+
[#3485](https://github.com/open-telemetry/opentelemetry-cpp/pull/3485)
148+
149+
* [CONFIGURATION] File configuration - extension model
150+
[#3503](https://github.com/open-telemetry/opentelemetry-cpp/pull/3503)
151+
152+
* [CONFIGURATION] File configuration - misc model
153+
[#3504](https://github.com/open-telemetry/opentelemetry-cpp/pull/3504)
154+
155+
* [CONFIGURATION] File configuration - metric aggregation model
156+
[#3502](https://github.com/open-telemetry/opentelemetry-cpp/pull/3502)
157+
158+
* [CMAKE] find or fetch nlohmann-json
159+
[#3523](https://github.com/open-telemetry/opentelemetry-cpp/pull/3523)
160+
161+
* [CMAKE] Address the vcpkg opentelemetry-cpp port CMake patches
162+
[#3518](https://github.com/open-telemetry/opentelemetry-cpp/pull/3518)
163+
164+
* [CMAKE] Add CMake script to find or fetch prometheus-cpp
165+
[#3522](https://github.com/open-telemetry/opentelemetry-cpp/pull/3522)
166+
167+
* [CMAKE] Switch opentelemetry-proto to use FetchContent
168+
[#3524](https://github.com/open-telemetry/opentelemetry-cpp/pull/3524)
169+
170+
* [CMAKE] Add CMake script to find or fetch Microsoft.GSL
171+
[#3521](https://github.com/open-telemetry/opentelemetry-cpp/pull/3521)
172+
173+
* [SEMANTIC CONVENTIONS] Upgrade to semantic conventions 1.36.0
174+
[#3527](https://github.com/open-telemetry/opentelemetry-cpp/pull/3527)
175+
176+
* [SDK] Fixes duration overflow
177+
[#3529](https://github.com/open-telemetry/opentelemetry-cpp/pull/3529)
178+
179+
* [CONFIGURATION] File configuration - yaml parser
180+
[#3519](https://github.com/open-telemetry/opentelemetry-cpp/pull/3519)
181+
182+
* [CONFIGURATION] File configuration - configuration parser
183+
[#3520](https://github.com/open-telemetry/opentelemetry-cpp/pull/3520)
184+
185+
* [ADMIN] Remove file .github/repository-settings.md
186+
[#3534](https://github.com/open-telemetry/opentelemetry-cpp/pull/3534)
187+
45188
Important changes:
46189

47190
* [REMOVAL] Removed deprecated semantic convention header files

0 commit comments

Comments
 (0)