This PR contains the following updates: | Package | Type | Update | Change | |---|---|---|---| | [CodSpeedHQ/action](https://redirect.github.com/CodSpeedHQ/action) | action | minor | `v4.10.1` → `v4.11.0` | --- > [!WARNING] > Some dependencies could not be looked up. Check the [Dependency Dashboard](../issues/5322) for more information. --- ### Release Notes <details> <summary>CodSpeedHQ/action (CodSpeedHQ/action)</summary> ### [`v4.11.0`](https://redirect.github.com/CodSpeedHQ/action/releases/tag/v4.11.0) [Compare Source](https://redirect.github.com/CodSpeedHQ/action/compare/v4.10.6...v4.11.0) #### Release Notes ##### <!-- 0 -->🚀 Features - feat: add SHA256 hash verification for the installer script by [@​art049](https://redirect.github.com/art049) in [#​189](https://redirect.github.com/CodSpeedHQ/action/pull/189) - Collect debug info by pid by [@​GuillaumeLagrange](https://redirect.github.com/GuillaumeLagrange) in [#​240](https://redirect.github.com/CodSpeedHQ/runner/pull/240) - Skip tests requiring sudo if `GITHUB_ACTIONS` is not set by [@​GuillaumeLagrange](https://redirect.github.com/GuillaumeLagrange) - Deduplicate symbol maps, unwind\_data and debug info by [@​GuillaumeLagrange](https://redirect.github.com/GuillaumeLagrange) - Use bench\_pids filters when harvesting symbols from perf file by [@​GuillaumeLagrange](https://redirect.github.com/GuillaumeLagrange) - Add new fields to perf metadata by [@​GuillaumeLagrange](https://redirect.github.com/GuillaumeLagrange) in [#​246](https://redirect.github.com/CodSpeedHQ/runner/pull/246) - Always try to attach to libc-compatible API by [@​not-matthias](https://redirect.github.com/not-matthias) - Support tcmalloc by [@​not-matthias](https://redirect.github.com/not-matthias) - Support more standard allocation APIs by [@​not-matthias](https://redirect.github.com/not-matthias) - Add tracegrind support as an alternative simulation tool by [@​art049](https://redirect.github.com/art049) in [#​236](https://redirect.github.com/CodSpeedHQ/runner/pull/236) ##### <!-- 1 -->🐛 Bug Fixes - Re-add perf map colection removed by mistake by [@​GuillaumeLagrange](https://redirect.github.com/GuillaumeLagrange) in [#​251](https://redirect.github.com/CodSpeedHQ/runner/pull/251) ##### <!-- 2 -->🏗️ Refactor - Use common lib paths for all allocators by [@​not-matthias](https://redirect.github.com/not-matthias) ##### <!-- 7 -->⚙️ Internals - chore: bump runner version to 4.11.0 by [@​github-actions](https://redirect.github.com/github-actions)\[bot] in [#​190](https://redirect.github.com/CodSpeedHQ/action/pull/190) - Bump exec-harness version - Remove outdated allocator check by [@​not-matthias](https://redirect.github.com/not-matthias) in [#​241](https://redirect.github.com/CodSpeedHQ/runner/pull/241) - Add tcmalloc test by [@​not-matthias](https://redirect.github.com/not-matthias) #### Install codspeed-runner 4.11.0 ##### Install prebuilt binaries via shell script ```sh curl --proto '=https' --tlsv1.2 -LsSf https://github.com/CodSpeedHQ/codspeed/releases/download/v4.11.0/codspeed-runner-installer.sh | sh ``` #### Download codspeed-runner 4.11.0 | File | Platform | Checksum | | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------- | ------------------------------------------------------------------------------------------------------------------------------------- | | [codspeed-runner-aarch64-unknown-linux-musl.tar.gz](https://redirect.github.com/CodSpeedHQ/codspeed/releases/download/v4.11.0/codspeed-runner-aarch64-unknown-linux-musl.tar.gz) | ARM64 MUSL Linux | [checksum](https://redirect.github.com/CodSpeedHQ/codspeed/releases/download/v4.11.0/codspeed-runner-aarch64-unknown-linux-musl.tar.gz.sha256) | | [codspeed-runner-x86\_64-unknown-linux-musl.tar.gz](https://redirect.github.com/CodSpeedHQ/codspeed/releases/download/v4.11.0/codspeed-runner-x86_64-unknown-linux-musl.tar.gz) | x64 MUSL Linux | [checksum](https://redirect.github.com/CodSpeedHQ/codspeed/releases/download/v4.11.0/codspeed-runner-x86_64-unknown-linux-musl.tar.gz.sha256) | **Full Runner Changelog**: <https://github.com/CodSpeedHQ/codspeed/blob/main/CHANGELOG.md> **Full Changelog**: <https://github.com/CodSpeedHQ/action/compare/v4.10.6...v4.11.0> ### [`v4.10.6`](https://redirect.github.com/CodSpeedHQ/action/releases/tag/v4.10.6) [Compare Source](https://redirect.github.com/CodSpeedHQ/action/compare/v4.10.5...v4.10.6) #### Release Notes ##### <!-- 0 -->🚀 Features - Use codspeed.io installer for cached and authenticated requests by [@​adriencaccia](https://redirect.github.com/adriencaccia) in [#​187](https://redirect.github.com/CodSpeedHQ/action/pull/187) - Force necessary flags for `go run` in introspected go by [@​GuillaumeLagrange](https://redirect.github.com/GuillaumeLagrange) in [#​238](https://redirect.github.com/CodSpeedHQ/runner/pull/238) - Bump the stack size for python by [@​GuillaumeLagrange](https://redirect.github.com/GuillaumeLagrange) - Make python generate perf maps in exec-harness analysis by [@​GuillaumeLagrange](https://redirect.github.com/GuillaumeLagrange) - Harvest python perf maps after parsing perf data by [@​GuillaumeLagrange](https://redirect.github.com/GuillaumeLagrange) - Allow memory instrument with exec-harness's integration hook by [@​GuillaumeLagrange](https://redirect.github.com/GuillaumeLagrange) - Use the new instrument-hooks bindings rather than codspeed core by [@​GuillaumeLagrange](https://redirect.github.com/GuillaumeLagrange) ##### <!-- 1 -->🐛 Bug Fixes - Panic if integration doesn't support memory profiling by [@​not-matthias](https://redirect.github.com/not-matthias) in [#​239](https://redirect.github.com/CodSpeedHQ/runner/pull/239) - Allow memtrack caching by resetting .cargo permissions by [@​not-matthias](https://redirect.github.com/not-matthias) in [#​237](https://redirect.github.com/CodSpeedHQ/runner/pull/237) - Search build directories in sub-folders by [@​not-matthias](https://redirect.github.com/not-matthias) - Handle working-directory option by [@​not-matthias](https://redirect.github.com/not-matthias) - Improve simulation script support and detect subprocesses by [@​GuillaumeLagrange](https://redirect.github.com/GuillaumeLagrange) ##### <!-- 2 -->🏗️ Refactor - Move common perf-map utility outside of valgrind helpers by [@​GuillaumeLagrange](https://redirect.github.com/GuillaumeLagrange) ##### <!-- 7 -->⚙️ Internals - chore: bump runner version to 4.10.6 by [@​github-actions](https://redirect.github.com/github-actions)\[bot] in [#​188](https://redirect.github.com/CodSpeedHQ/action/pull/188) - Bump memtrack version - Add debug logs for harvested bench pids by [@​GuillaumeLagrange](https://redirect.github.com/GuillaumeLagrange) - Update wording in build.rs by [@​GuillaumeLagrange](https://redirect.github.com/GuillaumeLagrange) in [#​235](https://redirect.github.com/CodSpeedHQ/runner/pull/235) - Use tokio::fs when harvesting perf maps from pids by [@​GuillaumeLagrange](https://redirect.github.com/GuillaumeLagrange) - Import instrument-hooks bindings from codspeed-rust by [@​GuillaumeLagrange](https://redirect.github.com/GuillaumeLagrange) - Move small snapshot files out of Git LFS by [@​art049](https://redirect.github.com/art049) #### Install codspeed-runner 4.10.6 ##### Install prebuilt binaries via shell script ```sh curl --proto '=https' --tlsv1.2 -LsSf https://github.com/CodSpeedHQ/codspeed/releases/download/v4.10.6/codspeed-runner-installer.sh | sh ``` #### Download codspeed-runner 4.10.6 | File | Platform | Checksum | | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------- | ------------------------------------------------------------------------------------------------------------------------------------- | | [codspeed-runner-aarch64-unknown-linux-musl.tar.gz](https://redirect.github.com/CodSpeedHQ/codspeed/releases/download/v4.10.6/codspeed-runner-aarch64-unknown-linux-musl.tar.gz) | ARM64 MUSL Linux | [checksum](https://redirect.github.com/CodSpeedHQ/codspeed/releases/download/v4.10.6/codspeed-runner-aarch64-unknown-linux-musl.tar.gz.sha256) | | [codspeed-runner-x86\_64-unknown-linux-musl.tar.gz](https://redirect.github.com/CodSpeedHQ/codspeed/releases/download/v4.10.6/codspeed-runner-x86_64-unknown-linux-musl.tar.gz) | x64 MUSL Linux | [checksum](https://redirect.github.com/CodSpeedHQ/codspeed/releases/download/v4.10.6/codspeed-runner-x86_64-unknown-linux-musl.tar.gz.sha256) | **Full Runner Changelog**: <https://github.com/CodSpeedHQ/codspeed/blob/main/CHANGELOG.md> **Full Changelog**: <https://github.com/CodSpeedHQ/action/compare/v4.10.5...v4.10.6> ### [`v4.10.5`](https://redirect.github.com/CodSpeedHQ/action/releases/tag/v4.10.5) [Compare Source](https://redirect.github.com/CodSpeedHQ/action/compare/v4.10.4...v4.10.5) #### Release Notes ##### <!-- 0 -->🚀 Features - Support codspeed-node memory profiling by [@​not-matthias](https://redirect.github.com/not-matthias) in [#​228](https://redirect.github.com/CodSpeedHQ/runner/pull/228) ##### <!-- 1 -->🐛 Bug Fixes - Check benchmark URIs rather than memtrack events by [@​not-matthias](https://redirect.github.com/not-matthias) in [#​230](https://redirect.github.com/CodSpeedHQ/runner/pull/230) - Do not error out if no head report is present after local run by [@​GuillaumeLagrange](https://redirect.github.com/GuillaumeLagrange) in [#​233](https://redirect.github.com/CodSpeedHQ/runner/pull/233) ##### <!-- 7 -->⚙️ Internals - chore: bump runner version to 4.10.5 by [@​github-actions](https://redirect.github.com/github-actions)\[bot] in [#​186](https://redirect.github.com/CodSpeedHQ/action/pull/186) ##### Install prebuilt binaries via shell script ```sh curl --proto '=https' --tlsv1.2 -LsSf https://github.com/CodSpeedHQ/codspeed/releases/download/v4.10.5/codspeed-runner-installer.sh | sh ``` #### Download codspeed-runner 4.10.5 | File | Platform | Checksum | | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------- | ------------------------------------------------------------------------------------------------------------------------------------- | | [codspeed-runner-aarch64-unknown-linux-musl.tar.gz](https://redirect.github.com/CodSpeedHQ/codspeed/releases/download/v4.10.5/codspeed-runner-aarch64-unknown-linux-musl.tar.gz) | ARM64 MUSL Linux | [checksum](https://redirect.github.com/CodSpeedHQ/codspeed/releases/download/v4.10.5/codspeed-runner-aarch64-unknown-linux-musl.tar.gz.sha256) | | [codspeed-runner-x86\_64-unknown-linux-musl.tar.gz](https://redirect.github.com/CodSpeedHQ/codspeed/releases/download/v4.10.5/codspeed-runner-x86_64-unknown-linux-musl.tar.gz) | x64 MUSL Linux | [checksum](https://redirect.github.com/CodSpeedHQ/codspeed/releases/download/v4.10.5/codspeed-runner-x86_64-unknown-linux-musl.tar.gz.sha256) | **Full Runner Changelog**: <https://github.com/CodSpeedHQ/codspeed/blob/main/CHANGELOG.md> **Full Changelog**: <https://github.com/CodSpeedHQ/action/compare/v4.10.4...v4.10.5> ### [`v4.10.4`](https://redirect.github.com/CodSpeedHQ/action/releases/tag/v4.10.4) [Compare Source](https://redirect.github.com/CodSpeedHQ/action/compare/v4.10.2...v4.10.4) #### Release Notes ##### <!-- 0 -->🚀 Features - Check for repository existence before run in local runs by [@​GuillaumeLagrange](https://redirect.github.com/GuillaumeLagrange) in [#​229](https://redirect.github.com/CodSpeedHQ/runner/pull/229) - Support pytest-codspeed memory profiling by [@​not-matthias](https://redirect.github.com/not-matthias) in [#​225](https://redirect.github.com/CodSpeedHQ/runner/pull/225) - Attach to different jemalloc prefixed functions by [@​not-matthias](https://redirect.github.com/not-matthias) - Support tracking `libstdc++` by [@​not-matthias](https://redirect.github.com/not-matthias) - Track `posix_memalign` by [@​not-matthias](https://redirect.github.com/not-matthias) ##### <!-- 1 -->🐛 Bug Fixes - Check non-default allocators first by [@​not-matthias](https://redirect.github.com/not-matthias) - Reset owernship by [@​not-matthias](https://redirect.github.com/not-matthias) ##### <!-- 2 -->🏗️ Refactor - Use standard allocation API across allocators by [@​not-matthias](https://redirect.github.com/not-matthias) in [#​212](https://redirect.github.com/CodSpeedHQ/runner/pull/212) ##### <!-- 7 -->⚙️ Internals - chore: bump runner version to 4.10.3 by [@​github-actions](https://redirect.github.com/github-actions)\[bot] in [#​184](https://redirect.github.com/CodSpeedHQ/action/pull/184) - chore: bump runner version to 4.10.4 by [@​github-actions](https://redirect.github.com/github-actions)\[bot] in [#​185](https://redirect.github.com/CodSpeedHQ/action/pull/185) - Use snapshots for c tests by [@​not-matthias](https://redirect.github.com/not-matthias) - Only run tests in CI by [@​not-matthias](https://redirect.github.com/not-matthias) - Use single thread for tests to avoid opening too many files by [@​not-matthias](https://redirect.github.com/not-matthias) - Add cpp allocator test by [@​not-matthias](https://redirect.github.com/not-matthias) - Add rust allocator tests by [@​not-matthias](https://redirect.github.com/not-matthias) - Allow tracking statically linked allocators in tests by [@​not-matthias](https://redirect.github.com/not-matthias) #### Install codspeed-runner 4.10.4 ##### Install prebuilt binaries via shell script ```sh curl --proto '=https' --tlsv1.2 -LsSf https://github.com/CodSpeedHQ/codspeed/releases/download/v4.10.4/codspeed-runner-installer.sh | sh ``` #### Download codspeed-runner 4.10.4 | File | Platform | Checksum | | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------- | ------------------------------------------------------------------------------------------------------------------------------------- | | [codspeed-runner-aarch64-unknown-linux-musl.tar.gz](https://redirect.github.com/CodSpeedHQ/codspeed/releases/download/v4.10.4/codspeed-runner-aarch64-unknown-linux-musl.tar.gz) | ARM64 MUSL Linux | [checksum](https://redirect.github.com/CodSpeedHQ/codspeed/releases/download/v4.10.4/codspeed-runner-aarch64-unknown-linux-musl.tar.gz.sha256) | | [codspeed-runner-x86\_64-unknown-linux-musl.tar.gz](https://redirect.github.com/CodSpeedHQ/codspeed/releases/download/v4.10.4/codspeed-runner-x86_64-unknown-linux-musl.tar.gz) | x64 MUSL Linux | [checksum](https://redirect.github.com/CodSpeedHQ/codspeed/releases/download/v4.10.4/codspeed-runner-x86_64-unknown-linux-musl.tar.gz.sha256) | **Full Runner Changelog**: <https://github.com/CodSpeedHQ/codspeed/blob/main/CHANGELOG.md> **Full Changelog**: <https://github.com/CodSpeedHQ/action/compare/v4.10.2...v4.10.4> ### [`v4.10.2`](https://redirect.github.com/CodSpeedHQ/action/releases/tag/v4.10.2) [Compare Source](https://redirect.github.com/CodSpeedHQ/action/compare/v4.10.1...v4.10.2) #### Release Notes ##### <!-- 0 -->🚀 Features - Improve efficiency of parse\_perf\_file by [@​GuillaumeLagrange](https://redirect.github.com/GuillaumeLagrange) - Parse the perf file memory mappings by [@​GuillaumeLagrange](https://redirect.github.com/GuillaumeLagrange) ##### <!-- 1 -->🐛 Bug Fixes - Remove very spammy trace logs by [@​GuillaumeLagrange](https://redirect.github.com/GuillaumeLagrange) in [#​224](https://redirect.github.com/CodSpeedHQ/runner/pull/224) ##### <!-- 7 -->⚙️ Internals - chore: bump runner version to 4.10.2 by [@​github-actions](https://redirect.github.com/github-actions)\[bot] in [#​183](https://redirect.github.com/CodSpeedHQ/action/pull/183) - Remove useless conversions. by [@​GuillaumeLagrange](https://redirect.github.com/GuillaumeLagrange) #### Install codspeed-runner 4.10.2 ##### Install prebuilt binaries via shell script ```sh curl --proto '=https' --tlsv1.2 -LsSf https://github.com/CodSpeedHQ/codspeed/releases/download/v4.10.2/codspeed-runner-installer.sh | sh ``` #### Download codspeed-runner 4.10.2 | File | Platform | Checksum | | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------- | ------------------------------------------------------------------------------------------------------------------------------------- | | [codspeed-runner-aarch64-unknown-linux-musl.tar.gz](https://redirect.github.com/CodSpeedHQ/codspeed/releases/download/v4.10.2/codspeed-runner-aarch64-unknown-linux-musl.tar.gz) | ARM64 MUSL Linux | [checksum](https://redirect.github.com/CodSpeedHQ/codspeed/releases/download/v4.10.2/codspeed-runner-aarch64-unknown-linux-musl.tar.gz.sha256) | | [codspeed-runner-x86\_64-unknown-linux-musl.tar.gz](https://redirect.github.com/CodSpeedHQ/codspeed/releases/download/v4.10.2/codspeed-runner-x86_64-unknown-linux-musl.tar.gz) | x64 MUSL Linux | [checksum](https://redirect.github.com/CodSpeedHQ/codspeed/releases/download/v4.10.2/codspeed-runner-x86_64-unknown-linux-musl.tar.gz.sha256) | **Full Runner Changelog**: <https://github.com/CodSpeedHQ/codspeed/blob/main/CHANGELOG.md> **Full Changelog**: <https://github.com/CodSpeedHQ/action/compare/v4.10.1...v4.10.2> </details> --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR is behind base branch, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR was generated by [Mend Renovate](https://mend.io/renovate/). View the [repository job log](https://developer.mend.io/github/open-telemetry/opentelemetry-go). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0My40OC4xIiwidXBkYXRlZEluVmVyIjoiNDMuNDguMSIsInRhcmdldEJyYW5jaCI6Im1haW4iLCJsYWJlbHMiOlsiU2tpcCBDaGFuZ2Vsb2ciLCJkZXBlbmRlbmNpZXMiXX0=--> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
OpenTelemetry-Go
OpenTelemetry-Go is the Go implementation of OpenTelemetry. It provides a set of APIs to directly measure performance and behavior of your software and send this data to observability platforms.
Project Status
| Signal | Status |
|---|---|
| Traces | Stable |
| Metrics | Stable |
| Logs | Beta1 |
Progress and status specific to this repository is tracked in our project boards and milestones.
Project versioning information and stability guarantees can be found in the versioning documentation.
Compatibility
OpenTelemetry-Go ensures compatibility with the current supported versions of the Go language:
Each major Go release is supported until there are two newer major releases. For example, Go 1.5 was supported until the Go 1.7 release, and Go 1.6 was supported until the Go 1.8 release.
For versions of Go that are no longer supported upstream, opentelemetry-go will stop ensuring compatibility with these versions in the following manner:
- A minor release of opentelemetry-go will be made to add support for the new supported release of Go.
- The following minor release of opentelemetry-go will remove compatibility testing for the oldest (now archived upstream) version of Go. This, and future, releases of opentelemetry-go may include features only supported by the currently supported versions of Go.
Currently, this project supports the following environments.
| OS | Go Version | Architecture |
|---|---|---|
| Ubuntu | 1.26 | amd64 |
| Ubuntu | 1.25 | amd64 |
| Ubuntu | 1.26 | 386 |
| Ubuntu | 1.25 | 386 |
| Ubuntu | 1.26 | arm64 |
| Ubuntu | 1.25 | arm64 |
| macOS | 1.26 | amd64 |
| macOS | 1.25 | amd64 |
| macOS | 1.26 | arm64 |
| macOS | 1.25 | arm64 |
| Windows | 1.26 | amd64 |
| Windows | 1.25 | amd64 |
| Windows | 1.26 | 386 |
| Windows | 1.25 | 386 |
While this project should work for other systems, no compatibility guarantees are made for those systems currently.
Getting Started
You can find a getting started guide on opentelemetry.io.
OpenTelemetry's goal is to provide a single set of APIs to capture distributed traces and metrics from your application and send them to an observability platform. This project allows you to do just that for applications written in Go. There are two steps to this process: instrument your application, and configure an exporter.
Instrumentation
To start capturing distributed traces and metric events from your application it first needs to be instrumented. The easiest way to do this is by using an instrumentation library for your code. Be sure to check out the officially supported instrumentation libraries.
If you need to extend the telemetry an instrumentation library provides or want to build your own instrumentation for your application directly you will need to use the Go otel package. The examples are a good way to see some practical uses of this process.
Export
Now that your application is instrumented to collect telemetry, it needs an export pipeline to send that telemetry to an observability platform.
All officially supported exporters for the OpenTelemetry project are contained in the exporters directory.
| Exporter | Logs | Metrics | Traces |
|---|---|---|---|
| OTLP | ✓ | ✓ | ✓ |
| Prometheus | ✓ | ||
| stdout | ✓ | ✓ | ✓ |
| Zipkin | ✓ |
Contributing
See the contributing documentation.