-
Notifications
You must be signed in to change notification settings - Fork 20
deps: update opentelemetry-cpp to 1.27.0 #422
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
3 commits
Select commit
Hold shift + click to select a range
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1 +1 @@ | ||
| 7.1.1 | ||
| 8.5.0 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,58 @@ | ||
| # BCR Publishing Configuration | ||
|
|
||
| This directory contains the template files required for publishing opentelemetry-cpp to the [Bazel Central Registry (BCR)](https://github.com/bazelbuild/bazel-central-registry). | ||
|
|
||
| ## Files | ||
|
|
||
| ### metadata.template.json | ||
| Contains the module metadata including homepage, maintainers, and repository information. This is used to create/update the BCR metadata for the module. | ||
|
|
||
| ### source.template.json | ||
| Defines the source archive location and format. Placeholders like `{OWNER}`, `{REPO}`, `{TAG}`, and `{VERSION}` are automatically replaced during publishing. | ||
|
|
||
| ### presubmit.yml | ||
| Defines the BCR presubmit tests that run when a new version is published. Currently configured to test on: | ||
| - Platforms: debian10, macos, ubuntu2004, windows | ||
| - Bazel versions: 7.x, 8.x, 9.* | ||
|
|
||
| ## Publishing Process | ||
|
|
||
| The publish-to-bcr workflow (`.github/workflows/publish-to-bcr.yml`) automates publishing to BCR. | ||
|
|
||
| ### Prerequisites | ||
|
|
||
| **Create a Personal Access Token (PAT)**: | ||
| - Create a Classic PAT with `workflow` and `repo` permissions | ||
| - Add it as a secret named `BCR_PUBLISH_TOKEN` in repository settings | ||
|
|
||
| ### How to Publish | ||
|
|
||
| The workflow can be triggered in two ways: | ||
|
|
||
| 1. **Automatically**: When a new GitHub release is published | ||
| 2. **Manually**: Via workflow dispatch in GitHub Actions UI | ||
| - Go to Actions → Publish to BCR → Run workflow | ||
| - Enter the tag name (e.g., `v1.24.0`) | ||
|
|
||
| ### What Happens | ||
|
|
||
| When triggered, the workflow: | ||
| 1. Generates a BCR entry using these templates | ||
| 2. Pushes the entry to your BCR fork | ||
| 3. Opens a pull request against the upstream BCR | ||
|
|
||
| ### Using a Fork Registry | ||
|
|
||
| For development and testing, you can use a fork of the Bazel Central Registry: | ||
|
|
||
| 1. Fork https://github.com/bazelbuild/bazel-central-registry | ||
| 2. Configure your fork URL in the workflow (modify the `publish-to-bcr.yml` file) | ||
| 3. Test changes in your fork before submitting to the official BCR | ||
|
|
||
| The configuration in this repository points to the **official** Bazel Central Registry at https://github.com/bazelbuild/bazel-central-registry. However, using a fork registry is recommended for testing and development to avoid polluting the official registry during experimentation. | ||
|
|
||
| ## References | ||
|
|
||
| - [Publish to BCR Action](https://github.com/bazel-contrib/publish-to-bcr) | ||
| - [Bazel Central Registry](https://github.com/bazelbuild/bazel-central-registry) | ||
| - [BCR Module: opentelemetry-cpp](https://github.com/bazelbuild/bazel-central-registry/tree/main/modules/opentelemetry-cpp) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,22 @@ | ||
| { | ||
| "homepage": "https://github.com/open-telemetry/opentelemetry-cpp", | ||
| "maintainers": [ | ||
| { | ||
| "name": "Keith Smiley", | ||
| "email": "keithbsmiley@gmail.com", | ||
| "github": "keith", | ||
| "github_user_id": 283886 | ||
| }, | ||
| { | ||
| "name": "Marc Alff", | ||
| "email": "marc.alff@oracle.com", | ||
| "github": "marcalff", | ||
| "github_user_id": 17238896 | ||
| } | ||
| ], | ||
| "repository": [ | ||
| "github:open-telemetry/opentelemetry-cpp" | ||
| ], | ||
| "versions": [], | ||
| "yanked_versions": {} | ||
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,14 @@ | ||
| # Copyright The OpenTelemetry Authors | ||
| # SPDX-License-Identifier: Apache-2.0 | ||
| matrix: | ||
| platform: ["debian10", "macos", "ubuntu2004", "windows"] | ||
| bazel: ["7.x", "8.x", "9.x"] | ||
| tasks: | ||
| verify_targets: | ||
| platform: ${{ platform }} | ||
| bazel: ${{ bazel }} | ||
| build_flags: | ||
| - '--cxxopt=-std=c++17' | ||
| - '--host_cxxopt=-std=c++17' | ||
| build_targets: | ||
| - '@opentelemetry-cpp//api' | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,5 @@ | ||
| { | ||
| "integrity": "", | ||
| "strip_prefix": "opentelemetry-cpp-{VERSION}", | ||
| "url": "https://github.com/{OWNER}/{REPO}/archive/refs/tags/{TAG}.tar.gz" | ||
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,6 @@ | ||
| # Copyright The OpenTelemetry Authors | ||
| # SPDX-License-Identifier: Apache-2.0 | ||
| # see https://github.com/cncf/clomonitor/blob/main/docs/checks.md#exemptions | ||
| exemptions: | ||
| - check: artifacthub_badge | ||
| reason: "Artifact Hub doesn't support c++ packages" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -4,5 +4,9 @@ | |
| { | ||
| "code_blocks": false, | ||
| "tables": false | ||
| }, | ||
| "MD059": | ||
| { | ||
| "prohibited_texts": [] | ||
| } | ||
| } | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,22 @@ | ||
| # Copyright The OpenTelemetry Authors | ||
| # SPDX-License-Identifier: Apache-2.0 | ||
|
|
||
| # Read the Docs configuration file for Sphinx projects | ||
| # See https://docs.readthedocs.io/en/stable/config-file/v2.html for details | ||
|
|
||
| version: 2 | ||
|
|
||
| build: | ||
| os: ubuntu-24.04 | ||
| tools: | ||
| python: "3.12" | ||
| apt_packages: | ||
| - doxygen | ||
| - graphviz | ||
|
|
||
| sphinx: | ||
| configuration: docs/public/conf.py | ||
|
|
||
| python: | ||
| install: | ||
| - requirements: docs/public/requirements.txt |
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.