diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 84862b855d..99d9e1d60a 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -49,15 +49,15 @@ jobs: submodules: 'recursive' - name: setup env: - CC: /usr/bin/gcc-10 - CXX: /usr/bin/g++-10 + CC: /usr/bin/gcc-12 + CXX: /usr/bin/g++-12 run: | sudo -E ./ci/setup_googletest.sh sudo -E ./ci/setup_ci_environment.sh - name: run cmake tests (without otlp-exporter) env: - CC: /usr/bin/gcc-10 - CXX: /usr/bin/g++-10 + CC: /usr/bin/gcc-12 + CXX: /usr/bin/g++-12 run: | ./ci/do_ci.sh cmake.test @@ -297,15 +297,15 @@ jobs: submodules: 'recursive' - name: setup env: - CC: /usr/bin/gcc-10 - CXX: /usr/bin/g++-10 + CC: /usr/bin/gcc-12 + CXX: /usr/bin/g++-12 run: | sudo -E ./ci/setup_googletest.sh sudo -E ./ci/setup_ci_environment.sh - name: run cmake tests (without otlp-exporter) env: - CC: /usr/bin/gcc-10 - CXX: /usr/bin/g++-10 + CC: /usr/bin/gcc-12 + CXX: /usr/bin/g++-12 run: | ./ci/do_ci.sh cmake.with_async_export.test @@ -393,7 +393,7 @@ jobs: cmake_test_cxx20_clang: name: CMake C++20 test(Clang with libc++) - runs-on: ubuntu-latest + runs-on: ubuntu-22.04 steps: - uses: actions/checkout@v4 with: @@ -443,7 +443,7 @@ jobs: cmake_test_cxx23_clang: name: CMake C++23 test(Clang with libc++) - runs-on: ubuntu-latest + runs-on: ubuntu-22.04 steps: - uses: actions/checkout@v4 with: @@ -572,15 +572,15 @@ jobs: submodules: 'recursive' - name: setup env: - CC: /usr/bin/gcc-10 - CXX: /usr/bin/g++-10 + CC: /usr/bin/gcc-12 + CXX: /usr/bin/g++-12 run: | sudo -E ./ci/setup_googletest.sh sudo -E ./ci/setup_ci_environment.sh - name: run tests env: - CC: /usr/bin/gcc-10 - CXX: /usr/bin/g++-10 + CC: /usr/bin/gcc-12 + CXX: /usr/bin/g++-12 run: ./ci/do_ci.sh cmake.test_example_plugin bazel_test: @@ -892,7 +892,7 @@ jobs: code_coverage: name: Code coverage - runs-on: ubuntu-latest + runs-on: ubuntu-22.04 steps: - uses: actions/checkout@v4 with: @@ -970,8 +970,8 @@ jobs: submodules: 'recursive' - name: setup env: - CC: /usr/bin/gcc-10 - CXX: /usr/bin/g++-10 + CC: /usr/bin/gcc-12 + CXX: /usr/bin/g++-12 run: | sudo -E ./ci/setup_googletest.sh sudo -E ./ci/setup_ci_environment.sh diff --git a/.github/workflows/codeql-analysis.yml b/.github/workflows/codeql-analysis.yml index 05acb56180..ebf367e4aa 100644 --- a/.github/workflows/codeql-analysis.yml +++ b/.github/workflows/codeql-analysis.yml @@ -20,8 +20,8 @@ jobs: rm -rf third_party - name: Setup env: - CC: /usr/bin/gcc-10 - CXX: /usr/bin/g++-10 + CC: /usr/bin/gcc-12 + CXX: /usr/bin/g++-12 GOOGLETEST_VERSION: 1.12.1 run: | sudo -E ./ci/setup_googletest.sh diff --git a/.github/workflows/iwyu.yml b/.github/workflows/iwyu.yml index 26fdc0f4a7..ad432a78dc 100644 --- a/.github/workflows/iwyu.yml +++ b/.github/workflows/iwyu.yml @@ -69,7 +69,7 @@ jobs: readonly WARNING_COUNT=`grep -c "include-what-you-use reported diagnostics:" iwyu.log` echo "include-what-you-use reported ${WARNING_COUNT} warning(s)" # Acceptable limit, to decrease over time down to 0 - readonly WARNING_LIMIT=10 + readonly WARNING_LIMIT=180 # FAIL the build if WARNING_COUNT > WARNING_LIMIT if [ $WARNING_COUNT -gt $WARNING_LIMIT ] ; then exit 1 diff --git a/api/include/opentelemetry/semconv/error_attributes.h b/api/include/opentelemetry/semconv/error_attributes.h index 1b711ff112..c68cdeda9f 100644 --- a/api/include/opentelemetry/semconv/error_attributes.h +++ b/api/include/opentelemetry/semconv/error_attributes.h @@ -36,9 +36,9 @@ namespace error *
* If the operation has completed successfully, instrumentations SHOULD NOT set @code error.type * @endcode.
If a specific domain defines its own set of error identifiers (such as HTTP or gRPC - * status codes), it's RECOMMENDED to:
The @code key @endcode attribute is applicable to all object-related S3 * operations, i.e. that require the object key as a mandatory parameter. This applies in particular - * to the following operations:
The exact value to use for @code cloud.resource_id @endcode depends on the cloud * provider. The following well-known definitions MUST be used if you set this attribute and they - * apply:
* If the operation has completed successfully, instrumentations SHOULD NOT set @code error.type * @endcode.
If a specific domain defines its own set of error identifiers (such as HTTP or gRPC - * status codes), it's RECOMMENDED to:
For some cloud providers, the above definition * is ambiguous. The following definition of function name MUST be used for this attribute (and - * consequently the span name) for the listed cloud providers/products:
* Depending on the cloud provider and platform, use: - *
*
* @code hw.status @endcode is currently specified as an UpDownCounter but would ideally be
* represented using a StateSet
+ * href="https://github.com/prometheus/OpenMetrics/blob/v1.0.0/specification/OpenMetrics.md#stateset">StateSet
* as defined in OpenMetrics. This semantic convention will be updated once StateSet is
* specified in OpenTelemetry. This planned change is not expected to have any consequence on the
* way users query their timeseries backend to retrieve the values of @code hw.status @endcode over
diff --git a/api/include/opentelemetry/semconv/incubating/system_metrics.h b/api/include/opentelemetry/semconv/incubating/system_metrics.h
index 37ea70a213..1cd5765347 100644
--- a/api/include/opentelemetry/semconv/incubating/system_metrics.h
+++ b/api/include/opentelemetry/semconv/incubating/system_metrics.h
@@ -263,7 +263,7 @@ static inline nostd::shared_ptr
* The real elapsed time ("wall clock") used in the I/O path (time from operations running in
- * parallel are not counted). Measured as:
* Measured as:
- *
*
* Measured as:
- *
*
*
*
* Query string values for the following keys SHOULD be redacted by default and replaced by the
- * value @code REDACTED @endcode:
*
*
* Query string values for the following keys SHOULD be redacted by default and replaced by the
- * value @code REDACTED @endcode:
*
*
*
*