1
0
mirror of https://github.com/open-telemetry/opentelemetry-go.git synced 2026-06-03 18:35:08 +02:00
Commit Graph

4585 Commits

Author SHA1 Message Date
renovate[bot] f54e90405e chore(deps): update module github.com/alecthomas/chroma/v2 to v2.24.1 (#8281)
This PR contains the following updates:

| Package | Change |
[Age](https://docs.renovatebot.com/merge-confidence/) |
[Confidence](https://docs.renovatebot.com/merge-confidence/) |
|---|---|---|---|
|
[github.com/alecthomas/chroma/v2](https://redirect.github.com/alecthomas/chroma)
| `v2.24.0` → `v2.24.1` |
![age](https://developer.mend.io/api/mc/badges/age/go/github.com%2falecthomas%2fchroma%2fv2/v2.24.1?slim=true)
|
![confidence](https://developer.mend.io/api/mc/badges/confidence/go/github.com%2falecthomas%2fchroma%2fv2/v2.24.0/v2.24.1?slim=true)
|

---

> [!WARNING]
> Some dependencies could not be looked up. Check the [Dependency
Dashboard](../issues/5322) for more information.

---

### Release Notes

<details>
<summary>alecthomas/chroma (github.com/alecthomas/chroma/v2)</summary>

###
[`v2.24.1`](https://redirect.github.com/alecthomas/chroma/releases/tag/v2.24.1)

[Compare
Source](https://redirect.github.com/alecthomas/chroma/compare/v2.24.0...v2.24.1)

#### Changelog

-
[`d2a3784`](https://redirect.github.com/alecthomas/chroma/commit/d2a3784)
fix: fallback bug

</details>

---

### Configuration

📅 **Schedule**: (UTC)

- 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:eyJjcmVhdGVkSW5WZXIiOiI0My4xNTAuMCIsInVwZGF0ZWRJblZlciI6IjQzLjE1MC4wIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6WyJTa2lwIENoYW5nZWxvZyIsImRlcGVuZGVuY2llcyJdfQ==-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-04-30 15:12:57 +02:00
renovate[bot] d4d6c456ce chore(deps): update module github.com/fsnotify/fsnotify to v1.10.0 (#8280)
This PR contains the following updates:

| Package | Change |
[Age](https://docs.renovatebot.com/merge-confidence/) |
[Confidence](https://docs.renovatebot.com/merge-confidence/) |
|---|---|---|---|
|
[github.com/fsnotify/fsnotify](https://redirect.github.com/fsnotify/fsnotify)
| `v1.9.0` → `v1.10.0` |
![age](https://developer.mend.io/api/mc/badges/age/go/github.com%2ffsnotify%2ffsnotify/v1.10.0?slim=true)
|
![confidence](https://developer.mend.io/api/mc/badges/confidence/go/github.com%2ffsnotify%2ffsnotify/v1.9.0/v1.10.0?slim=true)
|

---

> [!WARNING]
> Some dependencies could not be looked up. Check the [Dependency
Dashboard](../issues/5322) for more information.

---

### Release Notes

<details>
<summary>fsnotify/fsnotify (github.com/fsnotify/fsnotify)</summary>

###
[`v1.10.0`](https://redirect.github.com/fsnotify/fsnotify/releases/tag/v1.10.0)

[Compare
Source](https://redirect.github.com/fsnotify/fsnotify/compare/v1.9.0...v1.10.0)

This version of fsnotify needs Go 1.23.

##### Changes and fixes

- inotify: improve initialization error message ([#&#8203;731])

- inotify: send Rename event if recursive watch is renamed
([#&#8203;696])

- inotify: avoid copying event buffers when reading names
([#&#8203;741])

- kqueue: skip dangling symlinks (ENOENT) in watchDirectoryFiles, so a
bad entry no longer aborts Watcher.Add for the whole directory
([#&#8203;748])

- kqueue: drop watches directly in Close() to fix a file descriptor leak
when recycling watchers ([#&#8203;740])

- windows: fix nil pointer dereference in remWatch ([#&#8203;736])

- windows: lock watch field updates against concurrent WatchList to fix
a race introduced in v1.9.0 ([#&#8203;709], [#&#8203;749])

[#&#8203;696]: https://redirect.github.com/fsnotify/fsnotify/pull/696

[#&#8203;709]: https://redirect.github.com/fsnotify/fsnotify/pull/709

[#&#8203;731]: https://redirect.github.com/fsnotify/fsnotify/pull/731

[#&#8203;736]: https://redirect.github.com/fsnotify/fsnotify/pull/736

[#&#8203;740]: https://redirect.github.com/fsnotify/fsnotify/pull/740

[#&#8203;741]: https://redirect.github.com/fsnotify/fsnotify/pull/741

[#&#8203;748]: https://redirect.github.com/fsnotify/fsnotify/pull/748

[#&#8203;749]: https://redirect.github.com/fsnotify/fsnotify/pull/749

</details>

---

### Configuration

📅 **Schedule**: (UTC)

- 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:eyJjcmVhdGVkSW5WZXIiOiI0My4xNTAuMCIsInVwZGF0ZWRJblZlciI6IjQzLjE1MC4wIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6WyJTa2lwIENoYW5nZWxvZyIsImRlcGVuZGVuY2llcyJdfQ==-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-04-30 09:16:47 +02:00
renovate[bot] 1827f67d73 chore(deps): update module github.com/alecthomas/chroma/v2 to v2.24.0 (#8277)
This PR contains the following updates:

| Package | Change |
[Age](https://docs.renovatebot.com/merge-confidence/) |
[Confidence](https://docs.renovatebot.com/merge-confidence/) |
|---|---|---|---|
|
[github.com/alecthomas/chroma/v2](https://redirect.github.com/alecthomas/chroma)
| `v2.23.1` → `v2.24.0` |
![age](https://developer.mend.io/api/mc/badges/age/go/github.com%2falecthomas%2fchroma%2fv2/v2.24.0?slim=true)
|
![confidence](https://developer.mend.io/api/mc/badges/confidence/go/github.com%2falecthomas%2fchroma%2fv2/v2.23.1/v2.24.0?slim=true)
|

---

> [!WARNING]
> Some dependencies could not be looked up. Check the [Dependency
Dashboard](../issues/5322) for more information.

---

### Release Notes

<details>
<summary>alecthomas/chroma (github.com/alecthomas/chroma/v2)</summary>

###
[`v2.24.0`](https://redirect.github.com/alecthomas/chroma/releases/tag/v2.24.0)

[Compare
Source](https://redirect.github.com/alecthomas/chroma/compare/v2.23.1...v2.24.0)

#### Changelog

-
[`0b841ee`](https://redirect.github.com/alecthomas/chroma/commit/0b841ee)
chore: go mod tidy
-
[`10fcb68`](https://redirect.github.com/alecthomas/chroma/commit/10fcb68)
chore(deps): update ubuntu docker tag to v26
([#&#8203;1251](https://redirect.github.com/alecthomas/chroma/issues/1251))
-
[`2218de6`](https://redirect.github.com/alecthomas/chroma/commit/2218de6)
chore(deps): update all non-major dependencies
([#&#8203;1236](https://redirect.github.com/alecthomas/chroma/issues/1236))
-
[`2099887`](https://redirect.github.com/alecthomas/chroma/commit/2099887)
Update Solarized Light to use correct background color
([#&#8203;1250](https://redirect.github.com/alecthomas/chroma/issues/1250))
-
[`ce43442`](https://redirect.github.com/alecthomas/chroma/commit/ce43442)
Add Lateralus lexer
([#&#8203;1249](https://redirect.github.com/alecthomas/chroma/issues/1249))
-
[`2b00673`](https://redirect.github.com/alecthomas/chroma/commit/2b00673)
fix: commenting issues on gas lexer
([#&#8203;1247](https://redirect.github.com/alecthomas/chroma/issues/1247))
-
[`8d04def`](https://redirect.github.com/alecthomas/chroma/commit/8d04def)
Add NameOther entry to github-dark theme
([#&#8203;1240](https://redirect.github.com/alecthomas/chroma/issues/1240))
-
[`f2db790`](https://redirect.github.com/alecthomas/chroma/commit/f2db790)
chore(deps): update all non-major dependencies
([#&#8203;1234](https://redirect.github.com/alecthomas/chroma/issues/1234))
-
[`fc18a48`](https://redirect.github.com/alecthomas/chroma/commit/fc18a48)
Include embedded font license in COPYING file
([#&#8203;1233](https://redirect.github.com/alecthomas/chroma/issues/1233))
-
[`e11ef85`](https://redirect.github.com/alecthomas/chroma/commit/e11ef85)
chore(deps): update all non-major dependencies
([#&#8203;1211](https://redirect.github.com/alecthomas/chroma/issues/1211))
-
[`79e0fa7`](https://redirect.github.com/alecthomas/chroma/commit/79e0fa7)
Add ERB lexer
([#&#8203;1228](https://redirect.github.com/alecthomas/chroma/issues/1228))
-
[`b59560d`](https://redirect.github.com/alecthomas/chroma/commit/b59560d)
Add Spade lexer
([#&#8203;1229](https://redirect.github.com/alecthomas/chroma/issues/1229))
-
[`83b5491`](https://redirect.github.com/alecthomas/chroma/commit/83b5491)
Import Luau lexer
([#&#8203;1209](https://redirect.github.com/alecthomas/chroma/issues/1209))
-
[`da72a97`](https://redirect.github.com/alecthomas/chroma/commit/da72a97)
Add JetBrains Darcula theme
([#&#8203;1226](https://redirect.github.com/alecthomas/chroma/issues/1226))
-
[`8087957`](https://redirect.github.com/alecthomas/chroma/commit/8087957)
styles: case-insensitive style registration and lookup
([#&#8203;1223](https://redirect.github.com/alecthomas/chroma/issues/1223))
-
[`10daf04`](https://redirect.github.com/alecthomas/chroma/commit/10daf04)
Add `.json5` to json Lexer
([#&#8203;1224](https://redirect.github.com/alecthomas/chroma/issues/1224))
-
[`dccba78`](https://redirect.github.com/alecthomas/chroma/commit/dccba78)
Add AMPL lexer
([#&#8203;1219](https://redirect.github.com/alecthomas/chroma/issues/1219))
-
[`ee4ad0a`](https://redirect.github.com/alecthomas/chroma/commit/ee4ad0a)
Fix MySQL lexer single comment render error
([#&#8203;1214](https://redirect.github.com/alecthomas/chroma/issues/1214))
-
[`b160804`](https://redirect.github.com/alecthomas/chroma/commit/b160804)
Add `using` Keyword to JavaScript
([#&#8203;1215](https://redirect.github.com/alecthomas/chroma/issues/1215))
-
[`17e5911`](https://redirect.github.com/alecthomas/chroma/commit/17e5911)
Pop type state when encountering punctuation for graphql
([#&#8203;1210](https://redirect.github.com/alecthomas/chroma/issues/1210))
-
[`893841b`](https://redirect.github.com/alecthomas/chroma/commit/893841b)
Show error message in chromad
([#&#8203;1208](https://redirect.github.com/alecthomas/chroma/issues/1208))
-
[`fef8258`](https://redirect.github.com/alecthomas/chroma/commit/fef8258)
Fix error handling in `needRules()`
([#&#8203;1207](https://redirect.github.com/alecthomas/chroma/issues/1207))
-
[`d8a3315`](https://redirect.github.com/alecthomas/chroma/commit/d8a3315)
Update the PHP lexer
([#&#8203;1206](https://redirect.github.com/alecthomas/chroma/issues/1206))
-
[`353c35b`](https://redirect.github.com/alecthomas/chroma/commit/353c35b)
Add the Kanagawa themes
([#&#8203;1198](https://redirect.github.com/alecthomas/chroma/issues/1198))
-
[`41448fe`](https://redirect.github.com/alecthomas/chroma/commit/41448fe)
Update the Materialize lexer
([#&#8203;1201](https://redirect.github.com/alecthomas/chroma/issues/1201))
-
[`020d1c0`](https://redirect.github.com/alecthomas/chroma/commit/020d1c0)
Add `.qrc` as extension for XML
([#&#8203;1205](https://redirect.github.com/alecthomas/chroma/issues/1205))
-
[`6a63b3a`](https://redirect.github.com/alecthomas/chroma/commit/6a63b3a)
Add `meson.options` as filename for Meson
([#&#8203;1204](https://redirect.github.com/alecthomas/chroma/issues/1204))
-
[`d398caf`](https://redirect.github.com/alecthomas/chroma/commit/d398caf)
Import Gettext lexer
([#&#8203;1202](https://redirect.github.com/alecthomas/chroma/issues/1202))
-
[`43245c9`](https://redirect.github.com/alecthomas/chroma/commit/43245c9)
chore(deps): update dependency biome to v2.3.12
([#&#8203;1200](https://redirect.github.com/alecthomas/chroma/issues/1200))
-
[`8215091`](https://redirect.github.com/alecthomas/chroma/commit/8215091)
feat: add scdoc support
([#&#8203;1199](https://redirect.github.com/alecthomas/chroma/issues/1199))
-
[`3fce7ab`](https://redirect.github.com/alecthomas/chroma/commit/3fce7ab)
chore(deps): update all non-major dependencies
([#&#8203;1188](https://redirect.github.com/alecthomas/chroma/issues/1188))

</details>

---

### Configuration

📅 **Schedule**: (UTC)

- 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:eyJjcmVhdGVkSW5WZXIiOiI0My4xNTAuMCIsInVwZGF0ZWRJblZlciI6IjQzLjE1MC4wIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6WyJTa2lwIENoYW5nZWxvZyIsImRlcGVuZGVuY2llcyJdfQ==-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-04-29 14:42:26 +02:00
Nesterov Yehor 1a877475b7 Apply attribute value limit for BYTESLICE and KindBytes (#7990)
Fixes https://github.com/open-telemetry/opentelemetry-go/issues/7954

Apply the SDK attribute value limit to the new BYTESLICE attribute type.

The limiter has been implemented for trace and log attributes, ensuring
values are truncated according to the configured attribute size limit
(counting each byte as 1).

```
goos: darwin
goarch: arm64
pkg: go.opentelemetry.io/otel/sdk/trace
cpu: Apple M1
BenchmarkSpanLimits/None-8         	  275883	      4062 ns/op	   12448 B/op	      38 allocs/op
BenchmarkSpanLimits/AttributeValueLengthLimit-8         	  266834	      4407 ns/op	   13012 B/op	      47 allocs/op
BenchmarkSpanLimits/AttributeCountLimit-8               	  299941	      4025 ns/op	   11616 B/op	      38 allocs/op
BenchmarkSpanLimits/EventCountLimit-8                   	  305880	      3795 ns/op	   11376 B/op	      35 allocs/op
BenchmarkSpanLimits/LinkCountLimit-8                    	  314924	      4375 ns/op	   10976 B/op	      35 allocs/op
BenchmarkSpanLimits/AttributePerEventCountLimit-8       	  275667	      4125 ns/op	   12448 B/op	      38 allocs/op
BenchmarkSpanLimits/AttributePerLinkCountLimit-8        	  285484	      4022 ns/op	   12448 B/op	      38 allocs/op
PASS
ok  	go.opentelemetry.io/otel/sdk/trace	9.394s
```

---------

Co-authored-by: Robert Pająk <pellared@hotmail.com>
2026-04-29 14:31:40 +02:00
renovate[bot] f62e24964a chore(deps): update golang.org/x/telemetry digest to 76f71b9 (#8271)
This PR contains the following updates:

| Package | Type | Update | Change |
|---|---|---|---|
| [golang.org/x/telemetry](https://pkg.go.dev/golang.org/x/telemetry) |
indirect | digest | `329d219` → `76f71b9` |

---

> [!WARNING]
> Some dependencies could not be looked up. Check the [Dependency
Dashboard](../issues/5322) for more information.

---

### Configuration

📅 **Schedule**: (UTC)

- 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:eyJjcmVhdGVkSW5WZXIiOiI0My4xNDEuMyIsInVwZGF0ZWRJblZlciI6IjQzLjE0MS4zIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6WyJTa2lwIENoYW5nZWxvZyIsImRlcGVuZGVuY2llcyJdfQ==-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-04-29 09:38:42 +02:00
renovate[bot] 50f65b3f53 chore(deps): update codspeedhq/action action to v4.15.0 (#8272)
This PR contains the following updates:

| Package | Type | Update | Change |
|---|---|---|---|
| [CodSpeedHQ/action](https://redirect.github.com/CodSpeedHQ/action) |
action | minor | `v4.14.0` → `v4.15.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.15.0`](https://redirect.github.com/CodSpeedHQ/action/releases/tag/v4.15.0)

[Compare
Source](https://redirect.github.com/CodSpeedHQ/action/compare/v4.14.0...v4.15.0)

#### Release Notes

This release adds first support for macOS walltime.

Please note that profiling and other instruments are not yet available
on macOS and will come in a later update.

##### Minimum integration versions

- [`pytest-codspeed`
v4.5.0](https://redirect.github.com/CodSpeedHQ/pytest-codspeed/releases/tag/v4.5.0)
- [`codspeed-rust`
v4.6.0](https://redirect.github.com/CodSpeedHQ/codspeed-rust/releases/tag/v4.6.0)
- [`codspeed-cpp`
v2.3.0](https://redirect.github.com/CodSpeedHQ/codspeed-cpp/releases/tag/v2.3.0)
- [`codspeed-go`
v1.2.0](https://redirect.github.com/CodSpeedHQ/codspeed-go/releases/tag/v1.2.0)
- [`codspeed-node`
v5.4.0](https://redirect.github.com/CodSpeedHQ/codspeed-node/releases/tag/v5.4.0)

##### <!-- 0 -->🚀 Features

- Revert logo changes by
[@&#8203;GuillaumeLagrange](https://redirect.github.com/GuillaumeLagrange)
- Display N/A rather than NaN/inf in the benchmarks results table by
[@&#8203;GuillaumeLagrange](https://redirect.github.com/GuillaumeLagrange)
in [#&#8203;314](https://redirect.github.com/CodSpeedHQ/runner/pull/314)
- Only wrap walltime command with sudo on linux by
[@&#8203;GuillaumeLagrange](https://redirect.github.com/GuillaumeLagrange)
- Add `--with-token` flag to read token from stdin by
[@&#8203;fargito](https://redirect.github.com/fargito) in
[#&#8203;313](https://redirect.github.com/CodSpeedHQ/runner/pull/313)
- Warn when libc debug info is not found by
[@&#8203;not-matthias](https://redirect.github.com/not-matthias) in
[#&#8203;310](https://redirect.github.com/CodSpeedHQ/runner/pull/310)
- Resolve debug info and symbols from separate debug files by
[@&#8203;not-matthias](https://redirect.github.com/not-matthias) in
[#&#8203;303](https://redirect.github.com/CodSpeedHQ/runner/pull/303)

##### <!-- 6 -->🧪 Testing

- Add libc debuglink/build-id fixtures by
[@&#8203;not-matthias](https://redirect.github.com/not-matthias)
- Add stripped binary and debug file test fixtures by
[@&#8203;not-matthias](https://redirect.github.com/not-matthias)

##### <!-- 7 -->⚙️ Internals

- chore: bump runner version to 4.15.0 by
[@&#8203;github-actions](https://redirect.github.com/github-actions)\[bot]
in [#&#8203;204](https://redirect.github.com/CodSpeedHQ/action/pull/204)
- Bump exec-harness version
- Add macos basic run test by
[@&#8203;GuillaumeLagrange](https://redirect.github.com/GuillaumeLagrange)
in [#&#8203;319](https://redirect.github.com/CodSpeedHQ/runner/pull/319)
- Remove DumpPerfMapAtExit in favor of custom dumper by
[@&#8203;not-matthias](https://redirect.github.com/not-matthias) in
[#&#8203;295](https://redirect.github.com/CodSpeedHQ/runner/pull/295)

#### Install codspeed-runner 4.15.0

##### Install prebuilt binaries via shell script

```sh
curl --proto '=https' --tlsv1.2 -LsSf https://github.com/CodSpeedHQ/codspeed/releases/download/v4.15.0/codspeed-runner-installer.sh | sh
```

#### Download codspeed-runner 4.15.0

| File | Platform | Checksum |
|
-----------------------------------------------------------------------------------------------------------------------------------------------------------------------
| ------------------- |
-------------------------------------------------------------------------------------------------------------------------------------
|
|
[codspeed-runner-aarch64-apple-darwin.tar.gz](https://redirect.github.com/CodSpeedHQ/codspeed/releases/download/v4.15.0/codspeed-runner-aarch64-apple-darwin.tar.gz)
| Apple Silicon macOS |
[checksum](https://redirect.github.com/CodSpeedHQ/codspeed/releases/download/v4.15.0/codspeed-runner-aarch64-apple-darwin.tar.gz.sha256)
|
|
[codspeed-runner-aarch64-unknown-linux-musl.tar.gz](https://redirect.github.com/CodSpeedHQ/codspeed/releases/download/v4.15.0/codspeed-runner-aarch64-unknown-linux-musl.tar.gz)
| ARM64 MUSL Linux |
[checksum](https://redirect.github.com/CodSpeedHQ/codspeed/releases/download/v4.15.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.15.0/codspeed-runner-x86_64-unknown-linux-musl.tar.gz)
| x64 MUSL Linux |
[checksum](https://redirect.github.com/CodSpeedHQ/codspeed/releases/download/v4.15.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.14.0...v4.15.0>

</details>

---

### Configuration

📅 **Schedule**: (UTC)

- 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:eyJjcmVhdGVkSW5WZXIiOiI0My4xNDEuMyIsInVwZGF0ZWRJblZlciI6IjQzLjE0MS4zIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6WyJTa2lwIENoYW5nZWxvZyIsImRlcGVuZGVuY2llcyJdfQ==-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-04-29 09:31:14 +02:00
renovate[bot] b6c278eb74 fix(deps): update module go.opentelemetry.io/collector/pdata to v1.57.0 (#8275)
This PR contains the following updates:

| Package | Change |
[Age](https://docs.renovatebot.com/merge-confidence/) |
[Confidence](https://docs.renovatebot.com/merge-confidence/) |
|---|---|---|---|
|
[go.opentelemetry.io/collector/pdata](https://redirect.github.com/open-telemetry/opentelemetry-collector)
| `v1.56.0` → `v1.57.0` |
![age](https://developer.mend.io/api/mc/badges/age/go/go.opentelemetry.io%2fcollector%2fpdata/v1.57.0?slim=true)
|
![confidence](https://developer.mend.io/api/mc/badges/confidence/go/go.opentelemetry.io%2fcollector%2fpdata/v1.56.0/v1.57.0?slim=true)
|

---

> [!WARNING]
> Some dependencies could not be looked up. Check the [Dependency
Dashboard](../issues/5322) for more information.

---

### Release Notes

<details>
<summary>open-telemetry/opentelemetry-collector
(go.opentelemetry.io/collector/pdata)</summary>

###
[`v1.57.0`](https://redirect.github.com/open-telemetry/opentelemetry-collector/blob/HEAD/CHANGELOG.md#v1570v01510)

##### 🛑 Breaking changes 🛑

- `cmd/builder`: In the generated Collector source, the `replace`
statements in the Go module will now use relative paths by default.
([#&#8203;15097](https://redirect.github.com/open-telemetry/opentelemetry-collector/issues/15097))
We expect that this will not break existing use-cases where the
generated collector is only used in an interim manner for builds. It
enables the possibility of tracking the generated Collector code as a
longer living artifact, allowing it to be run on any machine (whereas
absolute paths will be different depending on the machine the Collector
source is generated on.) We have added
`dist::use_absolute_replace_paths` to go back to the absolute path
behaviour in the case where there is an unforeseen use-case that
requires absolute paths.

- `pkg/confighttp`: Stabilize framedSnappy feature gate.
([#&#8203;15096](https://redirect.github.com/open-telemetry/opentelemetry-collector/issues/15096))

##### 💡 Enhancements 💡

- `all`: Add declarative schema support for service telemetry resource
configuration.
([#&#8203;14411](https://redirect.github.com/open-telemetry/opentelemetry-collector/issues/14411))
The `service::telemetry::resource` configuration now accepts the
declarative schema with explicit name/value pairs:

  ```yaml
  service:
    telemetry:
      resource:
        schema_url: https://opentelemetry.io/schemas/1.38.0
        attributes:
          - name: service.name
            value: my-collector
          - name: host.name
            value: collector-host
  ```

The legacy inline attribute map format is still supported for backward
compatibility:

  ```yaml
  service:
    telemetry:
      resource:
        service.name: my-collector
        host.name: collector-host
  ```

Note: `resource.detectors` is accepted for forward compatibility but is
not yet applied by the collector.

- `exporter/otlp_grpc`: Added the `server.address` and `url.path`
attributes to metrics generated by the otlp exporter.
([#&#8203;14998](https://redirect.github.com/open-telemetry/opentelemetry-collector/issues/14998))

- `exporter/otlp_http`: Added the `server.address` and `url.path`
attributes to metrics generated by the otlp\_http exporter.
([#&#8203;14998](https://redirect.github.com/open-telemetry/opentelemetry-collector/issues/14998))

- `pkg/config/configgrpc`: Add `UserAgent` field to `ClientConfig` to
allow overriding the default gRPC user-agent string.
([#&#8203;14686](https://redirect.github.com/open-telemetry/opentelemetry-collector/issues/14686))
  The otlp gRPC exporter was unconditionally setting the User-Agent via
grpc.WithUserAgent() at dial time, which takes precedence over per-call
metadata, causing any user-configured User-Agent to be silently
discarded.
A dedicated `UserAgent` field has been added to `ClientConfig` which,
when
set, is used in the dial option directly instead of the default
BuildInfo-derived string.

- `pkg/config/configgrpc`: Accept gRPC resolver scheme URIs in client
endpoint (e.g. passthrough:///host:port) to allow control over name
resolution
([#&#8203;14990](https://redirect.github.com/open-telemetry/opentelemetry-collector/issues/14990))
After the migration to grpc.NewClient, some gRPC client components such
as the OTLP
exporter experienced connection issues in dual-stack DNS environments.
This can now be
fixed by using the passthrough:/// gRPC resolver scheme in the endpoint
field.

- `pkg/config/confignet`: Add support for Windows Named Pipe (npipe)
transport
([#&#8203;15085](https://redirect.github.com/open-telemetry/opentelemetry-collector/issues/15085))

- `pkg/service`: Emit a warning when using the old v0.2.0 declarative
config format
([#&#8203;15088](https://redirect.github.com/open-telemetry/opentelemetry-collector/issues/15088))

##### 🧰 Bug fixes 🧰

- `pkg/otelcol`: Print components exactly once in the `otelcol
components` command
([#&#8203;14682](https://redirect.github.com/open-telemetry/opentelemetry-collector/issues/14682))
  This resolves an issue where aliased components were skipped.

- `pkg/otelcol`: Synchronize Collector Run and Shutdown lifecycles so
that Shutdown blocks until Run completes all cleanup.
([#&#8203;4947](https://redirect.github.com/open-telemetry/opentelemetry-collector/issues/4947))
Shutdown now blocks until Run finishes cleanup, matching http.Server
semantics.
If Shutdown is called before Run, the next Run call returns nil after
cleaning up
  the config provider.

- `pkg/pdata`: Use spec-compliant string representation for NaN,
Infinity, and -Infinity in Value.AsString().
([#&#8203;14487](https://redirect.github.com/open-telemetry/opentelemetry-collector/issues/14487))

- `pkg/pprofile`: Fix data corruption of resource and scope attributes
after marshal-unmarshal-merge round-trip.
([#&#8203;15084](https://redirect.github.com/open-telemetry/opentelemetry-collector/issues/15084))

- `pkg/service`: Non-string resource attributes in telemetry
configuration now return an error instead of panicking
([#&#8203;15171](https://redirect.github.com/open-telemetry/opentelemetry-collector/issues/15171))

- `pkg/xscraperhelper`: fix the merge of profiles in the profiling
scraper helpers
([#&#8203;14790](https://redirect.github.com/open-telemetry/opentelemetry-collector/issues/14790))

- `receiver/otlp`: Fix profiles receiver reporting its samples as spans
([#&#8203;15089](https://redirect.github.com/open-telemetry/opentelemetry-collector/issues/15089))

<!-- previous-version -->

</details>

---

### Configuration

📅 **Schedule**: (UTC)

- 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:eyJjcmVhdGVkSW5WZXIiOiI0My4xNDEuMyIsInVwZGF0ZWRJblZlciI6IjQzLjE0MS4zIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6WyJTa2lwIENoYW5nZWxvZyIsImRlcGVuZGVuY2llcyJdfQ==-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-04-28 15:32:50 -07:00
renovate[bot] fb02c768a1 chore(deps): update module github.com/securego/gosec/v2 to v2.26.1 (#8270)
This PR contains the following updates:

| Package | Change |
[Age](https://docs.renovatebot.com/merge-confidence/) |
[Confidence](https://docs.renovatebot.com/merge-confidence/) |
|---|---|---|---|
|
[github.com/securego/gosec/v2](https://redirect.github.com/securego/gosec)
| `v2.25.0` → `v2.26.1` |
![age](https://developer.mend.io/api/mc/badges/age/go/github.com%2fsecurego%2fgosec%2fv2/v2.26.1?slim=true)
|
![confidence](https://developer.mend.io/api/mc/badges/confidence/go/github.com%2fsecurego%2fgosec%2fv2/v2.25.0/v2.26.1?slim=true)
|

---

> [!WARNING]
> Some dependencies could not be looked up. Check the [Dependency
Dashboard](../issues/5322) for more information.

---

### Release Notes

<details>
<summary>securego/gosec (github.com/securego/gosec/v2)</summary>

###
[`v2.26.1`](https://redirect.github.com/securego/gosec/releases/tag/v2.26.1)

[Compare
Source](https://redirect.github.com/securego/gosec/compare/v2.26.0...v2.26.1)

#### Changelog

-
[`4a3bd8a`](https://redirect.github.com/securego/gosec/commit/4a3bd8af174872c778439083ded7adbf3747e770)
Update cosign to v3.0.6
([#&#8203;1659](https://redirect.github.com/securego/gosec/issues/1659))

###
[`v2.26.0`](https://redirect.github.com/securego/gosec/compare/v2.25.0...v2.26.0)

[Compare
Source](https://redirect.github.com/securego/gosec/compare/v2.25.0...v2.26.0)

</details>

---

### Configuration

📅 **Schedule**: (UTC)

- 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 becomes conflicted, 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:eyJjcmVhdGVkSW5WZXIiOiI0My4xNDEuMyIsInVwZGF0ZWRJblZlciI6IjQzLjE0MS4zIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6WyJTa2lwIENoYW5nZWxvZyIsImRlcGVuZGVuY2llcyJdfQ==-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-04-28 09:42:18 +02:00
renovate[bot] 1d691d6f77 fix(deps): update googleapis to 7cedc36 (#8266)
This PR contains the following updates:

| Package | Type | Update | Change |
|---|---|---|---|
|
[google.golang.org/genproto/googleapis/api](https://redirect.github.com/googleapis/go-genproto)
| indirect | digest | `e10c466` → `7cedc36` |
|
[google.golang.org/genproto/googleapis/rpc](https://redirect.github.com/googleapis/go-genproto)
| indirect | digest | `e10c466` → `7cedc36` |
|
[google.golang.org/genproto/googleapis/rpc](https://redirect.github.com/googleapis/go-genproto)
| require | digest | `e10c466` → `7cedc36` |

---

> [!WARNING]
> Some dependencies could not be looked up. Check the [Dependency
Dashboard](../issues/5322) for more information.

---

### Configuration

📅 **Schedule**: (UTC)

- 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 becomes conflicted, or you tick the
rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about these
updates 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:eyJjcmVhdGVkSW5WZXIiOiI0My4xNDEuMyIsInVwZGF0ZWRJblZlciI6IjQzLjE0MS4zIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6WyJTa2lwIENoYW5nZWxvZyIsImRlcGVuZGVuY2llcyJdfQ==-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-04-28 09:31:45 +02:00
renovate[bot] 170a1e1301 chore(deps): update module go.uber.org/zap to v1.28.0 (#8269)
This PR contains the following updates:

| Package | Change |
[Age](https://docs.renovatebot.com/merge-confidence/) |
[Confidence](https://docs.renovatebot.com/merge-confidence/) |
|---|---|---|---|
| [go.uber.org/zap](https://redirect.github.com/uber-go/zap) | `v1.27.1`
→ `v1.28.0` |
![age](https://developer.mend.io/api/mc/badges/age/go/go.uber.org%2fzap/v1.28.0?slim=true)
|
![confidence](https://developer.mend.io/api/mc/badges/confidence/go/go.uber.org%2fzap/v1.27.1/v1.28.0?slim=true)
|

---

> [!WARNING]
> Some dependencies could not be looked up. Check the [Dependency
Dashboard](../issues/5322) for more information.

---

### Release Notes

<details>
<summary>uber-go/zap (go.uber.org/zap)</summary>

###
[`v1.28.0`](https://redirect.github.com/uber-go/zap/releases/tag/v1.28.0)

[Compare
Source](https://redirect.github.com/uber-go/zap/compare/v1.27.1...v1.28.0)

Enhancements:

- [#&#8203;1534][]: Add `zapcore.CheckPreWriteHook` and
`CheckedEntry.Before` method for transforming entries before they are
written to any Cores.

[#&#8203;1534]: https://redirect.github.com/uber-go/zap/pull/1534

</details>

---

### Configuration

📅 **Schedule**: (UTC)

- 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:eyJjcmVhdGVkSW5WZXIiOiI0My4xNDEuMyIsInVwZGF0ZWRJblZlciI6IjQzLjE0MS4zIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6WyJTa2lwIENoYW5nZWxvZyIsImRlcGVuZGVuY2llcyJdfQ==-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-04-28 09:16:39 +02:00
renovate[bot] 7e91b17d86 chore(deps): update module github.com/mattn/go-isatty to v0.0.22 (#8265)
This PR contains the following updates:

| Package | Change |
[Age](https://docs.renovatebot.com/merge-confidence/) |
[Confidence](https://docs.renovatebot.com/merge-confidence/) |
|---|---|---|---|
|
[github.com/mattn/go-isatty](https://redirect.github.com/mattn/go-isatty)
| `v0.0.21` → `v0.0.22` |
![age](https://developer.mend.io/api/mc/badges/age/go/github.com%2fmattn%2fgo-isatty/v0.0.22?slim=true)
|
![confidence](https://developer.mend.io/api/mc/badges/confidence/go/github.com%2fmattn%2fgo-isatty/v0.0.21/v0.0.22?slim=true)
|

---

> [!WARNING]
> Some dependencies could not be looked up. Check the [Dependency
Dashboard](../issues/5322) for more information.

---

### Configuration

📅 **Schedule**: (UTC)

- 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:eyJjcmVhdGVkSW5WZXIiOiI0My4xNDEuMyIsInVwZGF0ZWRJblZlciI6IjQzLjE0MS4zIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6WyJTa2lwIENoYW5nZWxvZyIsImRlcGVuZGVuY2llcyJdfQ==-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-04-27 08:45:12 +02:00
renovate[bot] 468c62dac6 chore(deps): update module github.com/sourcegraph/go-diff to v0.8.0 (#8262)
This PR contains the following updates:

| Package | Change |
[Age](https://docs.renovatebot.com/merge-confidence/) |
[Confidence](https://docs.renovatebot.com/merge-confidence/) |
|---|---|---|---|
|
[github.com/sourcegraph/go-diff](https://redirect.github.com/sourcegraph/go-diff)
| `v0.7.0` → `v0.8.0` |
![age](https://developer.mend.io/api/mc/badges/age/go/github.com%2fsourcegraph%2fgo-diff/v0.8.0?slim=true)
|
![confidence](https://developer.mend.io/api/mc/badges/confidence/go/github.com%2fsourcegraph%2fgo-diff/v0.7.0/v0.8.0?slim=true)
|

---

> [!WARNING]
> Some dependencies could not be looked up. Check the [Dependency
Dashboard](../issues/5322) for more information.

---

### Release Notes

<details>
<summary>sourcegraph/go-diff (github.com/sourcegraph/go-diff)</summary>

###
[`v0.8.0`](https://redirect.github.com/sourcegraph/go-diff/releases/tag/v0.8.0)

[Compare
Source](https://redirect.github.com/sourcegraph/go-diff/compare/v0.7.0...v0.8.0)

#### What's Changed

- remove unnecessary dependencies by
[@&#8203;yuxiang-zhang](https://redirect.github.com/yuxiang-zhang) in
[#&#8203;69](https://redirect.github.com/sourcegraph/go-diff/pull/69)
- Make strict dropCR behavior optional via ParseOptions by
[@&#8203;EmmanuelAC1](https://redirect.github.com/EmmanuelAC1) in
[#&#8203;78](https://redirect.github.com/sourcegraph/go-diff/pull/78)
- Add new functionaltiy for reversing diffs. by
[@&#8203;vslashg](https://redirect.github.com/vslashg) in
[#&#8203;72](https://redirect.github.com/sourcegraph/go-diff/pull/72)

**Full Changelog**:
<https://github.com/sourcegraph/go-diff/compare/v0.7.0...v0.8.0>

</details>

---

### Configuration

📅 **Schedule**: (UTC)

- 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:eyJjcmVhdGVkSW5WZXIiOiI0My4xMzkuNyIsInVwZGF0ZWRJblZlciI6IjQzLjEzOS43IiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6WyJTa2lwIENoYW5nZWxvZyIsImRlcGVuZGVuY2llcyJdfQ==-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-04-24 10:47:52 +02:00
renovate[bot] 356445cb74 chore(deps): update golang.org/x/telemetry digest to 329d219 (#8259)
This PR contains the following updates:

| Package | Type | Update | Change |
|---|---|---|---|
| [golang.org/x/telemetry](https://pkg.go.dev/golang.org/x/telemetry) |
indirect | digest | `392afab` → `329d219` |

---

> [!WARNING]
> Some dependencies could not be looked up. Check the [Dependency
Dashboard](../issues/5322) for more information.

---

### Configuration

📅 **Schedule**: (UTC)

- 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:eyJjcmVhdGVkSW5WZXIiOiI0My4xMzkuNyIsInVwZGF0ZWRJblZlciI6IjQzLjEzOS43IiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6WyJTa2lwIENoYW5nZWxvZyIsImRlcGVuZGVuY2llcyJdfQ==-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-04-24 09:41:17 +02:00
renovate[bot] c004118555 fix(deps): update github.com/opentracing-contrib/go-grpc/test digest to 2f88a58 (#8260)
This PR contains the following updates:

| Package | Type | Update | Change |
|---|---|---|---|
|
[github.com/opentracing-contrib/go-grpc/test](https://redirect.github.com/opentracing-contrib/go-grpc)
| require | digest | `07c9668` → `2f88a58` |

---

> [!WARNING]
> Some dependencies could not be looked up. Check the [Dependency
Dashboard](../issues/5322) for more information.

---

### Configuration

📅 **Schedule**: (UTC)

- 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:eyJjcmVhdGVkSW5WZXIiOiI0My4xMzkuNyIsInVwZGF0ZWRJblZlciI6IjQzLjEzOS43IiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6WyJTa2lwIENoYW5nZWxvZyIsImRlcGVuZGVuY2llcyJdfQ==-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-04-24 09:33:05 +02:00
David Ashpole 4dd8821c94 fix counting of spans/logs in self-observability metrics in otlp trace and log exporters (#8254)
Fixes https://github.com/open-telemetry/opentelemetry-go/issues/8253
2026-04-24 09:20:58 +02:00
Robert Pająk b4e15cd1c7 Add MaxRequestSize option to OTLP exporters (#8157)
Per https://github.com/open-telemetry/opentelemetry-proto/pull/782

- Introduce WithMaxRequestSize option for OTLP exporters to set a limit
on the size of serialized export requests.
- Implement logic in the HTTP and gRPC clients to check the request
size against the configured maximum before compression and sending.
- The default configuration is that the maximum request size is 32 MiB.
2026-04-23 22:12:44 +02:00
David Ashpole 760898d668 Run benchmarks using Settable for more accurate comparrisons (#8252)
I had avoided using Settable in our benchmarks in
https://github.com/open-telemetry/opentelemetry-go/pull/8178 because I
thought it would introduce a dependency on the x package in our go.mod
file. But it turns out it doesn't (based on
https://github.com/open-telemetry/opentelemetry-go/pull/8251).

This will make it easier to compare WithAttributeSet to
WithUnsafeAttributes.

```
                                                                          │ before_bench.txt │           after_bench.txt            │
                                                                          │      sec/op      │    sec/op      vs base               │
EndToEndCounterAdd/NoFilter/Attributes/1/Precomputed/WithAttributeSet-24       60.48n ±   7%    61.83n ± 20%        ~ (p=1.000 n=6)
EndToEndCounterAdd/NoFilter/Attributes/1/Precomputed/WithAttributes-24         60.18n ±   9%    65.46n ±  8%        ~ (p=0.065 n=6)
EndToEndCounterAdd/NoFilter/Attributes/1/Dynamic/WithAttributeSet-24           256.2n ±   6%    272.4n ± 18%   +6.34% (p=0.041 n=6)
EndToEndCounterAdd/NoFilter/Attributes/1/Dynamic/WithAttributes-24             311.4n ±  18%    282.4n ± 26%        ~ (p=0.132 n=6)
EndToEndCounterAdd/NoFilter/Attributes/1/Naive/WithAttributes-24               350.4n ±  13%    331.2n ± 45%        ~ (p=0.818 n=6)
EndToEndCounterAdd/NoFilter/Attributes/5/Precomputed/WithAttributeSet-24       64.50n ±  10%    71.22n ± 11%        ~ (p=0.093 n=6)
EndToEndCounterAdd/NoFilter/Attributes/5/Precomputed/WithAttributes-24         61.45n ±  15%    69.04n ± 18%        ~ (p=0.180 n=6)
EndToEndCounterAdd/NoFilter/Attributes/5/Dynamic/WithAttributeSet-24           700.1n ±  36%    776.0n ± 22%        ~ (p=0.394 n=6)
EndToEndCounterAdd/NoFilter/Attributes/5/Dynamic/WithAttributes-24             868.4n ±  14%    738.2n ±  8%  -14.99% (p=0.015 n=6)
EndToEndCounterAdd/NoFilter/Attributes/5/Naive/WithAttributes-24               974.8n ±  19%   1083.5n ± 10%        ~ (p=0.180 n=6)
EndToEndCounterAdd/NoFilter/Attributes/10/Precomputed/WithAttributeSet-24      67.68n ±  15%    64.42n ± 20%        ~ (p=1.000 n=6)
EndToEndCounterAdd/NoFilter/Attributes/10/Precomputed/WithAttributes-24        67.59n ±   7%    63.41n ± 21%        ~ (p=0.937 n=6)
EndToEndCounterAdd/NoFilter/Attributes/10/Dynamic/WithAttributeSet-24          1.310µ ±  27%    1.323µ ± 20%        ~ (p=0.589 n=6)
EndToEndCounterAdd/NoFilter/Attributes/10/Dynamic/WithAttributes-24            2.077µ ±  34%    1.492µ ± 19%  -28.15% (p=0.002 n=6)
EndToEndCounterAdd/NoFilter/Attributes/10/Naive/WithAttributes-24              2.041µ ±  35%    1.977µ ± 43%        ~ (p=0.485 n=6)
EndToEndCounterAdd/Filtered/Attributes/1/Precomputed/WithAttributeSet-24       208.9n ±   7%    214.3n ± 12%        ~ (p=0.784 n=6)
EndToEndCounterAdd/Filtered/Attributes/1/Precomputed/WithAttributes-24         202.5n ±   6%    201.7n ± 19%        ~ (p=0.937 n=6)
EndToEndCounterAdd/Filtered/Attributes/1/Dynamic/WithAttributeSet-24           417.5n ±   7%    403.9n ± 16%        ~ (p=0.394 n=6)
EndToEndCounterAdd/Filtered/Attributes/1/Dynamic/WithAttributes-24             496.8n ±  13%    383.1n ±  8%  -22.89% (p=0.002 n=6)
EndToEndCounterAdd/Filtered/Attributes/1/Naive/WithAttributes-24               542.8n ±  54%    521.7n ± 18%        ~ (p=0.589 n=6)
EndToEndCounterAdd/Filtered/Attributes/5/Precomputed/WithAttributeSet-24       732.6n ±  15%    822.3n ± 23%        ~ (p=0.065 n=6)
EndToEndCounterAdd/Filtered/Attributes/5/Precomputed/WithAttributes-24         803.0n ±  12%    813.9n ± 27%        ~ (p=0.818 n=6)
EndToEndCounterAdd/Filtered/Attributes/5/Dynamic/WithAttributeSet-24           1.389µ ±  28%    1.546µ ± 16%        ~ (p=0.699 n=6)
EndToEndCounterAdd/Filtered/Attributes/5/Dynamic/WithAttributes-24             1.756µ ±  12%    1.399µ ± 12%  -20.36% (p=0.002 n=6)
EndToEndCounterAdd/Filtered/Attributes/5/Naive/WithAttributes-24               1.730µ ±  21%    1.824µ ± 20%        ~ (p=0.818 n=6)
EndToEndCounterAdd/Filtered/Attributes/10/Precomputed/WithAttributeSet-24      5.500µ ± 155%    1.433µ ± 22%  -73.94% (p=0.002 n=6)
EndToEndCounterAdd/Filtered/Attributes/10/Precomputed/WithAttributes-24        2.566µ ±  65%    1.365µ ± 23%  -46.82% (p=0.002 n=6)
EndToEndCounterAdd/Filtered/Attributes/10/Dynamic/WithAttributeSet-24          6.198µ ±  78%    3.188µ ± 14%  -48.57% (p=0.002 n=6)
EndToEndCounterAdd/Filtered/Attributes/10/Dynamic/WithAttributes-24            5.343µ ±  63%    2.963µ ± 10%  -44.55% (p=0.002 n=6)
EndToEndCounterAdd/Filtered/Attributes/10/Naive/WithAttributes-24              4.293µ ± 279%    3.213µ ± 30%        ~ (p=0.065 n=6)
geomean                                                                        591.5n           518.3n        -12.37%

                                                                          │ before_bench.txt │            after_bench.txt            │
                                                                          │       B/op       │     B/op      vs base                 │
EndToEndCounterAdd/NoFilter/Attributes/1/Precomputed/WithAttributeSet-24        0.000 ± 0%       0.000 ± 0%        ~ (p=1.000 n=6) ¹
EndToEndCounterAdd/NoFilter/Attributes/1/Precomputed/WithAttributes-24          0.000 ± 0%       0.000 ± 0%        ~ (p=1.000 n=6) ¹
EndToEndCounterAdd/NoFilter/Attributes/1/Dynamic/WithAttributeSet-24            88.00 ± 0%       64.00 ± 0%  -27.27% (p=0.002 n=6)
EndToEndCounterAdd/NoFilter/Attributes/1/Dynamic/WithAttributes-24             152.00 ± 0%       64.00 ± 0%  -57.89% (p=0.002 n=6)
EndToEndCounterAdd/NoFilter/Attributes/1/Naive/WithAttributes-24                232.0 ± 0%       232.0 ± 0%        ~ (p=1.000 n=6) ¹
EndToEndCounterAdd/NoFilter/Attributes/5/Precomputed/WithAttributeSet-24        0.000 ± 0%       0.000 ± 0%        ~ (p=1.000 n=6) ¹
EndToEndCounterAdd/NoFilter/Attributes/5/Precomputed/WithAttributes-24          0.000 ± 0%       0.000 ± 0%        ~ (p=1.000 n=6) ¹
EndToEndCounterAdd/NoFilter/Attributes/5/Dynamic/WithAttributeSet-24            344.0 ± 0%       320.0 ± 0%   -6.98% (p=0.002 n=6)
EndToEndCounterAdd/NoFilter/Attributes/5/Dynamic/WithAttributes-24              664.0 ± 0%       320.0 ± 0%  -51.81% (p=0.002 n=6)
EndToEndCounterAdd/NoFilter/Attributes/5/Naive/WithAttributes-24               1000.0 ± 0%      1000.0 ± 0%        ~ (p=1.000 n=6) ¹
EndToEndCounterAdd/NoFilter/Attributes/10/Precomputed/WithAttributeSet-24       0.000 ± 0%       0.000 ± 0%        ~ (p=1.000 n=6) ¹
EndToEndCounterAdd/NoFilter/Attributes/10/Precomputed/WithAttributes-24         0.000 ± 0%       0.000 ± 0%        ~ (p=1.000 n=6) ¹
EndToEndCounterAdd/NoFilter/Attributes/10/Dynamic/WithAttributeSet-24           729.0 ± 0%       705.0 ± 0%   -3.29% (p=0.002 n=6)
EndToEndCounterAdd/NoFilter/Attributes/10/Dynamic/WithAttributes-24            1434.0 ± 0%       705.0 ± 0%  -50.84% (p=0.002 n=6)
EndToEndCounterAdd/NoFilter/Attributes/10/Naive/WithAttributes-24             2.102Ki ± 0%     2.102Ki ± 0%        ~ (p=1.000 n=6) ¹
EndToEndCounterAdd/Filtered/Attributes/1/Precomputed/WithAttributeSet-24        64.00 ± 0%       64.00 ± 0%        ~ (p=1.000 n=6) ¹
EndToEndCounterAdd/Filtered/Attributes/1/Precomputed/WithAttributes-24          64.00 ± 0%       64.00 ± 0%        ~ (p=1.000 n=6) ¹
EndToEndCounterAdd/Filtered/Attributes/1/Dynamic/WithAttributeSet-24            152.0 ± 0%       128.0 ± 0%  -15.79% (p=0.002 n=6)
EndToEndCounterAdd/Filtered/Attributes/1/Dynamic/WithAttributes-24              216.0 ± 0%       128.0 ± 0%  -40.74% (p=0.002 n=6)
EndToEndCounterAdd/Filtered/Attributes/1/Naive/WithAttributes-24                296.0 ± 0%       296.0 ± 0%        ~ (p=1.000 n=6) ¹
EndToEndCounterAdd/Filtered/Attributes/5/Precomputed/WithAttributeSet-24        576.0 ± 0%       576.0 ± 0%        ~ (p=1.000 n=6) ¹
EndToEndCounterAdd/Filtered/Attributes/5/Precomputed/WithAttributes-24          576.0 ± 0%       576.0 ± 0%        ~ (p=1.000 n=6) ¹
EndToEndCounterAdd/Filtered/Attributes/5/Dynamic/WithAttributeSet-24            921.0 ± 0%       898.0 ± 0%   -2.50% (p=0.002 n=6)
EndToEndCounterAdd/Filtered/Attributes/5/Dynamic/WithAttributes-24             1241.0 ± 0%       897.0 ± 0%  -27.72% (p=0.002 n=6)
EndToEndCounterAdd/Filtered/Attributes/5/Naive/WithAttributes-24              1.539Ki ± 0%     1.539Ki ± 0%        ~ (p=1.000 n=6) ¹
EndToEndCounterAdd/Filtered/Attributes/10/Precomputed/WithAttributeSet-24     1.312Ki ± 0%     1.312Ki ± 0%        ~ (p=1.000 n=6)
EndToEndCounterAdd/Filtered/Attributes/10/Precomputed/WithAttributes-24       1.312Ki ± 0%     1.312Ki ± 0%        ~ (p=1.000 n=6) ¹
EndToEndCounterAdd/Filtered/Attributes/10/Dynamic/WithAttributeSet-24         2.025Ki ± 0%     2.004Ki ± 0%   -1.06% (p=0.002 n=6)
EndToEndCounterAdd/Filtered/Attributes/10/Dynamic/WithAttributes-24           2.713Ki ± 0%     2.002Ki ± 0%  -26.19% (p=0.002 n=6)
EndToEndCounterAdd/Filtered/Attributes/10/Naive/WithAttributes-24             3.414Ki ± 0%     3.414Ki ± 0%        ~ (p=1.000 n=6)
geomean                                                                                    ²                 -12.74%               ²
¹ all samples are equal
² summaries must be >0 to compute geomean

                                                                          │ before_bench.txt │           after_bench.txt           │
                                                                          │    allocs/op     │ allocs/op   vs base                 │
EndToEndCounterAdd/NoFilter/Attributes/1/Precomputed/WithAttributeSet-24        0.000 ± 0%     0.000 ± 0%        ~ (p=1.000 n=6) ¹
EndToEndCounterAdd/NoFilter/Attributes/1/Precomputed/WithAttributes-24          0.000 ± 0%     0.000 ± 0%        ~ (p=1.000 n=6) ¹
EndToEndCounterAdd/NoFilter/Attributes/1/Dynamic/WithAttributeSet-24            2.000 ± 0%     1.000 ± 0%  -50.00% (p=0.002 n=6)
EndToEndCounterAdd/NoFilter/Attributes/1/Dynamic/WithAttributes-24              3.000 ± 0%     1.000 ± 0%  -66.67% (p=0.002 n=6)
EndToEndCounterAdd/NoFilter/Attributes/1/Naive/WithAttributes-24                5.000 ± 0%     5.000 ± 0%        ~ (p=1.000 n=6) ¹
EndToEndCounterAdd/NoFilter/Attributes/5/Precomputed/WithAttributeSet-24        0.000 ± 0%     0.000 ± 0%        ~ (p=1.000 n=6) ¹
EndToEndCounterAdd/NoFilter/Attributes/5/Precomputed/WithAttributes-24          0.000 ± 0%     0.000 ± 0%        ~ (p=1.000 n=6) ¹
EndToEndCounterAdd/NoFilter/Attributes/5/Dynamic/WithAttributeSet-24            2.000 ± 0%     1.000 ± 0%  -50.00% (p=0.002 n=6)
EndToEndCounterAdd/NoFilter/Attributes/5/Dynamic/WithAttributes-24              3.000 ± 0%     1.000 ± 0%  -66.67% (p=0.002 n=6)
EndToEndCounterAdd/NoFilter/Attributes/5/Naive/WithAttributes-24                5.000 ± 0%     5.000 ± 0%        ~ (p=1.000 n=6) ¹
EndToEndCounterAdd/NoFilter/Attributes/10/Precomputed/WithAttributeSet-24       0.000 ± 0%     0.000 ± 0%        ~ (p=1.000 n=6) ¹
EndToEndCounterAdd/NoFilter/Attributes/10/Precomputed/WithAttributes-24         0.000 ± 0%     0.000 ± 0%        ~ (p=1.000 n=6) ¹
EndToEndCounterAdd/NoFilter/Attributes/10/Dynamic/WithAttributeSet-24           2.000 ± 0%     1.000 ± 0%  -50.00% (p=0.002 n=6)
EndToEndCounterAdd/NoFilter/Attributes/10/Dynamic/WithAttributes-24             3.000 ± 0%     1.000 ± 0%  -66.67% (p=0.002 n=6)
EndToEndCounterAdd/NoFilter/Attributes/10/Naive/WithAttributes-24               5.000 ± 0%     5.000 ± 0%        ~ (p=1.000 n=6) ¹
EndToEndCounterAdd/Filtered/Attributes/1/Precomputed/WithAttributeSet-24        1.000 ± 0%     1.000 ± 0%        ~ (p=1.000 n=6) ¹
EndToEndCounterAdd/Filtered/Attributes/1/Precomputed/WithAttributes-24          1.000 ± 0%     1.000 ± 0%        ~ (p=1.000 n=6) ¹
EndToEndCounterAdd/Filtered/Attributes/1/Dynamic/WithAttributeSet-24            3.000 ± 0%     2.000 ± 0%  -33.33% (p=0.002 n=6)
EndToEndCounterAdd/Filtered/Attributes/1/Dynamic/WithAttributes-24              4.000 ± 0%     2.000 ± 0%  -50.00% (p=0.002 n=6)
EndToEndCounterAdd/Filtered/Attributes/1/Naive/WithAttributes-24                6.000 ± 0%     6.000 ± 0%        ~ (p=1.000 n=6) ¹
EndToEndCounterAdd/Filtered/Attributes/5/Precomputed/WithAttributeSet-24        2.000 ± 0%     2.000 ± 0%        ~ (p=1.000 n=6) ¹
EndToEndCounterAdd/Filtered/Attributes/5/Precomputed/WithAttributes-24          2.000 ± 0%     2.000 ± 0%        ~ (p=1.000 n=6) ¹
EndToEndCounterAdd/Filtered/Attributes/5/Dynamic/WithAttributeSet-24            4.000 ± 0%     3.000 ± 0%  -25.00% (p=0.002 n=6)
EndToEndCounterAdd/Filtered/Attributes/5/Dynamic/WithAttributes-24              5.000 ± 0%     3.000 ± 0%  -40.00% (p=0.002 n=6)
EndToEndCounterAdd/Filtered/Attributes/5/Naive/WithAttributes-24                7.000 ± 0%     7.000 ± 0%        ~ (p=1.000 n=6) ¹
EndToEndCounterAdd/Filtered/Attributes/10/Precomputed/WithAttributeSet-24       2.000 ± 0%     2.000 ± 0%        ~ (p=1.000 n=6) ¹
EndToEndCounterAdd/Filtered/Attributes/10/Precomputed/WithAttributes-24         2.000 ± 0%     2.000 ± 0%        ~ (p=1.000 n=6) ¹
EndToEndCounterAdd/Filtered/Attributes/10/Dynamic/WithAttributeSet-24           4.000 ± 0%     3.000 ± 0%  -25.00% (p=0.002 n=6)
EndToEndCounterAdd/Filtered/Attributes/10/Dynamic/WithAttributes-24             5.000 ± 0%     3.000 ± 0%  -40.00% (p=0.002 n=6)
EndToEndCounterAdd/Filtered/Attributes/10/Naive/WithAttributes-24               7.000 ± 0%     7.000 ± 0%        ~ (p=1.000 n=6) ¹
geomean                                                                                    ²               -23.59%               ²
¹ all samples are equal
² summaries must be >0 to compute geomean
```
2026-04-23 12:57:13 -04:00
renovate[bot] e9e6dc1c87 chore(deps): update otel/weaver docker tag to v0.23.0 (#8255)
This PR contains the following updates:

| Package | Type | Update | Change |
|---|---|---|---|
| [otel/weaver](https://redirect.github.com/open-telemetry/weaver) |
stage | minor | `v0.22.1` → `v0.23.0` |

---

> [!WARNING]
> Some dependencies could not be looked up. Check the [Dependency
Dashboard](../issues/5322) for more information.

---

### Release Notes

<details>
<summary>open-telemetry/weaver (otel/weaver)</summary>

###
[`v0.23.0`](https://redirect.github.com/open-telemetry/weaver/releases/tag/v0.23.0):
0.23.0 - 2026-04-22

[Compare
Source](https://redirect.github.com/open-telemetry/weaver/compare/v0.22.1...v0.23.0)

#### Release Notes

- New feature
([#&#8203;1247](https://redirect.github.com/open-telemetry/weaver/issues/1247),
[#&#8203;1248](https://redirect.github.com/open-telemetry/weaver/issues/1248))
- `.weaver.toml` project configuration file for `live-check`. Covers all
`live-check` CLI flags plus `[[live_check.finding_filters]]` for
dropping findings by ID, minimum level, sample name, and signal type.
CLI flags take precedence over config values. Use `--config` or
auto-discovery from CWD.
([#&#8203;1256](https://redirect.github.com/open-telemetry/weaver/pull/1256)
by [@&#8203;jerbly](https://redirect.github.com/jerbly))
- Fix attribute catalog sorting for attributes with the same key when
converting from v1 to v2 catalog.
([#&#8203;1359](https://redirect.github.com/open-telemetry/weaver/pull/1359)
by
[@&#8203;michaelvanstraten](https://redirect.github.com/michaelvanstraten))
- Fix
([#&#8203;1323](https://redirect.github.com/open-telemetry/weaver/issues/1323))
- Live-check: treat observed `int` as compatible with expected `double`
attribute type, avoiding false violations from OTLP serializers (e.g.
JS) that emit `int_value` for integral numbers.
([#&#8203;1331](https://redirect.github.com/open-telemetry/weaver/pull/1331)
by [@&#8203;jerbly](https://redirect.github.com/jerbly))
- Fix CLI so it doesn't error out early when loading a resolved schema.
([#&#8203;1304](https://redirect.github.com/open-telemetry/weaver/pull/1304)
by [@&#8203;jsuereth](https://redirect.github.com/jsuereth))
- 💥 BREAKING CHANGE 💥 Use `schema_url` to track registries consistently
in lineage / provenance
([#&#8203;1298](https://redirect.github.com/open-telemetry/weaver/pull/1298)
by [@&#8203;jsuereth](https://redirect.github.com/jsuereth))
- Publish and document missing JSON schemas. Add
`head_schema_url`/`baseline_schema_url` to diff v2.
([#&#8203;1106](https://redirect.github.com/open-telemetry/weaver/pull/1106)
by [@&#8203;lmolkova](https://redirect.github.com/lmolkova))
- Add `--allow-git-credentials` global flag to enable system credential
helpers (e.g. `osxkeychain`, `git-credential-manager`) when cloning
private registries. By default, git operations remain isolated for
security.
([#&#8203;1306](https://redirect.github.com/open-telemetry/weaver/pull/1306)
by [@&#8203;jerbly](https://redirect.github.com/jerbly))
- MCP: Add `browse_namespace` tool and `findings_only` output mode for
`live_check`. Add configurable namespace separator via
`--namespace-separator`.
([#&#8203;1324](https://redirect.github.com/open-telemetry/weaver/pull/1324)
by [@&#8203;jerbly](https://redirect.github.com/jerbly))
- chore(deps): update all patch versions.
([#&#8203;1379](https://redirect.github.com/open-telemetry/weaver/pull/1379)
by [@&#8203;renovate](https://redirect.github.com/renovate)\[bot])
- Remove vendored openssl dependency.
([#&#8203;1380](https://redirect.github.com/open-telemetry/weaver/pull/1380)
by [@&#8203;sapatrjv](https://redirect.github.com/sapatrjv))

#### Install weaver 0.23.0

##### Install prebuilt binaries via shell script

```sh
curl --proto '=https' --tlsv1.2 -LsSf https://github.com/open-telemetry/weaver/releases/download/v0.23.0/weaver-installer.sh | sh
```

##### Install prebuilt binaries via powershell script

```sh
powershell -ExecutionPolicy Bypass -c "irm https://github.com/open-telemetry/weaver/releases/download/v0.23.0/weaver-installer.ps1 | iex"
```

#### Download weaver 0.23.0

| File | Platform | Checksum |
|
-------------------------------------------------------------------------------------------------------------------------------------------------------
| ------------------- |
------------------------------------------------------------------------------------------------------------------------------
|
|
[weaver-aarch64-apple-darwin.tar.xz](https://redirect.github.com/open-telemetry/weaver/releases/download/v0.23.0/weaver-aarch64-apple-darwin.tar.xz)
| Apple Silicon macOS |
[checksum](https://redirect.github.com/open-telemetry/weaver/releases/download/v0.23.0/weaver-aarch64-apple-darwin.tar.xz.sha256)
|
|
[weaver-x86\_64-apple-darwin.tar.xz](https://redirect.github.com/open-telemetry/weaver/releases/download/v0.23.0/weaver-x86_64-apple-darwin.tar.xz)
| Intel macOS |
[checksum](https://redirect.github.com/open-telemetry/weaver/releases/download/v0.23.0/weaver-x86_64-apple-darwin.tar.xz.sha256)
|
|
[weaver-x86\_64-pc-windows-msvc.zip](https://redirect.github.com/open-telemetry/weaver/releases/download/v0.23.0/weaver-x86_64-pc-windows-msvc.zip)
| x64 Windows |
[checksum](https://redirect.github.com/open-telemetry/weaver/releases/download/v0.23.0/weaver-x86_64-pc-windows-msvc.zip.sha256)
|
|
[weaver-x86\_64-pc-windows-msvc.msi](https://redirect.github.com/open-telemetry/weaver/releases/download/v0.23.0/weaver-x86_64-pc-windows-msvc.msi)
| x64 Windows |
[checksum](https://redirect.github.com/open-telemetry/weaver/releases/download/v0.23.0/weaver-x86_64-pc-windows-msvc.msi.sha256)
|
|
[weaver-aarch64-unknown-linux-gnu.tar.xz](https://redirect.github.com/open-telemetry/weaver/releases/download/v0.23.0/weaver-aarch64-unknown-linux-gnu.tar.xz)
| ARM64 Linux |
[checksum](https://redirect.github.com/open-telemetry/weaver/releases/download/v0.23.0/weaver-aarch64-unknown-linux-gnu.tar.xz.sha256)
|
|
[weaver-x86\_64-unknown-linux-gnu.tar.xz](https://redirect.github.com/open-telemetry/weaver/releases/download/v0.23.0/weaver-x86_64-unknown-linux-gnu.tar.xz)
| x64 Linux |
[checksum](https://redirect.github.com/open-telemetry/weaver/releases/download/v0.23.0/weaver-x86_64-unknown-linux-gnu.tar.xz.sha256)
|
|
[weaver-aarch64-unknown-linux-musl.tar.xz](https://redirect.github.com/open-telemetry/weaver/releases/download/v0.23.0/weaver-aarch64-unknown-linux-musl.tar.xz)
| ARM64 MUSL Linux |
[checksum](https://redirect.github.com/open-telemetry/weaver/releases/download/v0.23.0/weaver-aarch64-unknown-linux-musl.tar.xz.sha256)
|
|
[weaver-x86\_64-unknown-linux-musl.tar.xz](https://redirect.github.com/open-telemetry/weaver/releases/download/v0.23.0/weaver-x86_64-unknown-linux-musl.tar.xz)
| x64 MUSL Linux |
[checksum](https://redirect.github.com/open-telemetry/weaver/releases/download/v0.23.0/weaver-x86_64-unknown-linux-musl.tar.xz.sha256)
|

#### Verifying GitHub Artifact Attestations

The artifacts in this release have attestations generated with GitHub
Artifact Attestations. These can be verified by using the [GitHub
CLI](https://cli.github.com/manual/gh_attestation_verify):

```sh
gh attestation verify <file-path of downloaded artifact> --repo open-telemetry/weaver
```

You can also download the attestation from
[GitHub](https://redirect.github.com/open-telemetry/weaver/attestations)
and verify against that directly:

```sh
gh attestation verify <file-path of downloaded artifact> --bundle <file-path of downloaded attestation>
```

</details>

---

### Configuration

📅 **Schedule**: (UTC)

- 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:eyJjcmVhdGVkSW5WZXIiOiI0My4xMzkuNCIsInVwZGF0ZWRJblZlciI6IjQzLjEzOS40IiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6WyJTa2lwIENoYW5nZWxvZyIsImRlcGVuZGVuY2llcyJdfQ==-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-04-23 09:28:25 +02:00
renovate[bot] 1b8ba66d38 fix(deps): update module golang.org/x/vuln to v1.3.0 (#8256)
This PR contains the following updates:

| Package | Change |
[Age](https://docs.renovatebot.com/merge-confidence/) |
[Confidence](https://docs.renovatebot.com/merge-confidence/) |
|---|---|---|---|
| [golang.org/x/vuln](https://pkg.go.dev/golang.org/x/vuln) | [`v1.2.0`
→
`v1.3.0`](https://cs.opensource.google/go/x/vuln/+/refs/tags/v1.2.0...refs/tags/v1.3.0)
|
![age](https://developer.mend.io/api/mc/badges/age/go/golang.org%2fx%2fvuln/v1.3.0?slim=true)
|
![confidence](https://developer.mend.io/api/mc/badges/confidence/go/golang.org%2fx%2fvuln/v1.2.0/v1.3.0?slim=true)
|

---

> [!WARNING]
> Some dependencies could not be looked up. Check the [Dependency
Dashboard](../issues/5322) for more information.

---

### Configuration

📅 **Schedule**: (UTC)

- 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:eyJjcmVhdGVkSW5WZXIiOiI0My4xMzkuNCIsInVwZGF0ZWRJblZlciI6IjQzLjEzOS40IiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6WyJTa2lwIENoYW5nZWxvZyIsImRlcGVuZGVuY2llcyJdfQ==-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-04-23 09:19:18 +02:00
David Ashpole 25ba7a7218 Revert "Optimize fixedsize reservoir (#7447)" (#8249)
This reverts commit 714ca7c32e.

Fixes https://github.com/open-telemetry/opentelemetry-go/issues/8238
2026-04-22 14:51:17 +02:00
Robert Pająk 5f80184b57 sdk/metric: apply default cardinality limit of 2000 (#8247)
Per
https://github.com/open-telemetry/opentelemetry-specification/blob/main/specification/metrics/sdk.md#cardinality-limits:

> If none of the previous values are defined, the default value of 2000
SHOULD be used.
2026-04-22 14:40:51 +02:00
Ali Asghar c5045485b4 metric: clarify sync vs observable Gauge in package godoc (#8225)
## Description

The "Measurements" description in the
\`go.opentelemetry.io/otel/metric\` package godoc stated that a Gauge is
used when "the most recent measurement needs to be conveyed about an
asynchronous measurement" and only listed \`Int64ObservableGauge\` and
\`Float64ObservableGauge\`. Synchronous Gauge types (\`Int64Gauge\`,
\`Float64Gauge\`) were added to the API but are not reflected in this
paragraph.

This PR updates the sentence to list all four Gauge types and briefly
note the difference (sync records an instantaneous value at a specific
point in code; observable samples via a callback once per collection
cycle).

Partially addresses #4801 (the "explain the differences between
instrument types" request) by correcting the Gauge coverage
specifically. Happy to follow up with a broader summary-by-example list
if @pellared thinks that's still valuable.

Fixes #4801.

## Checklist

- [x] CHANGELOG.md entry added (placeholder `#XXXX`, will update with
real PR number once assigned).
- [ ] Tests updated (godoc-only change, no behavior change).

---------

Signed-off-by: Ali <alliasgher123@gmail.com>
Co-authored-by: Robert Pająk <pellared@hotmail.com>
Co-authored-by: Tyler Yahn <MrAlias@users.noreply.github.com>
2026-04-21 14:07:22 -07:00
David Ashpole 6f81801cd8 Use a DropReservoir when an exemplar.AlwaysOffFilter is provided (#8211)
Fixes https://github.com/open-telemetry/opentelemetry-go/issues/6260,
https://github.com/open-telemetry/opentelemetry-go/issues/6333

The [spec for always
off](https://github.com/open-telemetry/opentelemetry-specification/blob/d500678e4612b56ff2cd5f03e67cd845977d1746/specification/metrics/sdk.md#alwaysoff)
suggests this should "disable" the Exemplar feature:

> An ExemplarFilter which makes no measurements eligible for being an
Exemplar.
Using this ExemplarFilter is as good as disabling the Exemplar feature.

There were a few reports of much higher memory usage when exemplars were
added. I looked into the reports, and it looks like exemplar reservoirs
are expensive in terms of memory compared to the aggregation itself.
Ideally, we shouldn't construct the reservoir when an AlwaysOff exemplar
filter is used.

I couldn't find a super clean way to do this...
`exemplar.AlwaysOffFilter` is a function, so I couldn't easily compare
it without comparing the pointers. I'm open to other suggestions. The
internet says that compiler optimizations could cause this logic to
fail, but worst-case you get the existing behavior.

### Benchmarks

I needed a benchmark that creates a new attribute set for each call to
be able to see how much memory each attribute set uses, so I added a new
one, and ran it against main.

Overall, it reduces the amount of memory used per-attribute-set by
70-88%, which is pretty substantial.

Overall, 

```
                                                  │   old.txt   │               new.txt               │
                                                  │   sec/op    │    sec/op     vs base               │
BenchmarkMeasureNewAttributeSet/AlwaysOn/Int64Counter-24            3.523µ ± 2%   3.745µ ± 29%   +6.32% (p=0.002 n=6)
BenchmarkMeasureNewAttributeSet/AlwaysOn/Float64Counter-24          3.714µ ± 6%   3.879µ ±  5%        ~ (p=0.132 n=6)
BenchmarkMeasureNewAttributeSet/AlwaysOn/Int64UpDownCounter-24      3.811µ ± 8%   3.941µ ±  5%        ~ (p=0.065 n=6)
BenchmarkMeasureNewAttributeSet/AlwaysOn/Float64UpDownCounter-24    3.714µ ± 5%   3.822µ ±  1%        ~ (p=0.132 n=6)
BenchmarkMeasureNewAttributeSet/AlwaysOn/Int64Histogram-24          3.126µ ± 4%   3.333µ ±  4%   +6.61% (p=0.004 n=6)
BenchmarkMeasureNewAttributeSet/AlwaysOn/Float64Histogram-24        3.099µ ± 4%   3.204µ ±  8%        ~ (p=0.093 n=6)
BenchmarkMeasureNewAttributeSet/AlwaysOn/Int64Gauge-24              3.745µ ± 7%   3.902µ ±  4%        ~ (p=0.240 n=6)
BenchmarkMeasureNewAttributeSet/AlwaysOn/Float64Gauge-24            3.746µ ± 7%   3.862µ ±  2%        ~ (p=0.102 n=6)
BenchmarkMeasureNewAttributeSet/AlwaysOff/Int64Counter-24           3.621µ ± 3%   1.665µ ±  1%  -54.00% (p=0.002 n=6)
BenchmarkMeasureNewAttributeSet/AlwaysOff/Float64Counter-24         3.639µ ± 2%   1.686µ ±  4%  -53.68% (p=0.002 n=6)
BenchmarkMeasureNewAttributeSet/AlwaysOff/Int64UpDownCounter-24     3.563µ ± 4%   1.700µ ±  4%  -52.29% (p=0.002 n=6)
BenchmarkMeasureNewAttributeSet/AlwaysOff/Float64UpDownCounter-24   3.634µ ± 1%   1.690µ ±  4%  -53.49% (p=0.002 n=6)
BenchmarkMeasureNewAttributeSet/AlwaysOff/Int64Histogram-24         2.892µ ± 2%   2.005µ ±  2%  -30.66% (p=0.002 n=6)
BenchmarkMeasureNewAttributeSet/AlwaysOff/Float64Histogram-24       2.962µ ± 5%   2.057µ ±  6%  -30.55% (p=0.002 n=6)
BenchmarkMeasureNewAttributeSet/AlwaysOff/Int64Gauge-24             3.692µ ± 5%   1.599µ ±  2%  -56.68% (p=0.002 n=6)
BenchmarkMeasureNewAttributeSet/AlwaysOff/Float64Gauge-24           3.651µ ± 3%   1.612µ ±  2%  -55.86% (p=0.002 n=6)
geomean                                             3.495µ        2.541µ        -27.30%

                                                  │   old.txt    │               new.txt               │
                                                  │     B/op     │     B/op      vs base               │
BenchmarkMeasureNewAttributeSet/AlwaysOn/Int64Counter-24            3.107Ki ± 0%   3.107Ki ± 0%        ~ (p=0.121 n=6)
BenchmarkMeasureNewAttributeSet/AlwaysOn/Float64Counter-24          3.108Ki ± 0%   3.107Ki ± 0%        ~ (p=0.177 n=6)
BenchmarkMeasureNewAttributeSet/AlwaysOn/Int64UpDownCounter-24      3.108Ki ± 0%   3.108Ki ± 0%        ~ (p=0.675 n=6)
BenchmarkMeasureNewAttributeSet/AlwaysOn/Float64UpDownCounter-24    3.107Ki ± 0%   3.107Ki ± 0%        ~ (p=1.000 n=6)
BenchmarkMeasureNewAttributeSet/AlwaysOn/Int64Histogram-24          2.622Ki ± 0%   2.622Ki ± 0%        ~ (p=0.394 n=6)
BenchmarkMeasureNewAttributeSet/AlwaysOn/Float64Histogram-24        2.622Ki ± 0%   2.622Ki ± 0%        ~ (p=0.636 n=6)
BenchmarkMeasureNewAttributeSet/AlwaysOn/Int64Gauge-24              3.108Ki ± 0%   3.107Ki ± 0%        ~ (p=0.167 n=6)
BenchmarkMeasureNewAttributeSet/AlwaysOn/Float64Gauge-24            3.107Ki ± 0%   3.108Ki ± 0%        ~ (p=0.182 n=6)
BenchmarkMeasureNewAttributeSet/AlwaysOff/Int64Counter-24            3182.0 ± 0%     361.0 ± 0%  -88.65% (p=0.002 n=6)
BenchmarkMeasureNewAttributeSet/AlwaysOff/Float64Counter-24          3182.5 ± 0%     360.5 ± 0%  -88.67% (p=0.002 n=6)
BenchmarkMeasureNewAttributeSet/AlwaysOff/Int64UpDownCounter-24      3182.0 ± 0%     359.5 ± 1%  -88.70% (p=0.002 n=6)
BenchmarkMeasureNewAttributeSet/AlwaysOff/Float64UpDownCounter-24    3182.0 ± 0%     361.0 ± 0%  -88.65% (p=0.002 n=6)
BenchmarkMeasureNewAttributeSet/AlwaysOff/Int64Histogram-24          2684.0 ± 0%     773.0 ± 0%  -71.20% (p=0.002 n=6)
BenchmarkMeasureNewAttributeSet/AlwaysOff/Float64Histogram-24        2684.0 ± 0%     773.0 ± 0%  -71.20% (p=0.002 n=6)
BenchmarkMeasureNewAttributeSet/AlwaysOff/Int64Gauge-24              3182.0 ± 0%     361.0 ± 1%  -88.65% (p=0.002 n=6)
BenchmarkMeasureNewAttributeSet/AlwaysOff/Float64Gauge-24            3182.0 ± 0%     361.0 ± 0%  -88.65% (p=0.002 n=6)
geomean                                             2.978Ki        1.127Ki       -62.17%

                                                  │   old.txt   │               new.txt               │
                                                  │  allocs/op  │ allocs/op   vs base                 │
BenchmarkMeasureNewAttributeSet/AlwaysOn/Int64Counter-24             12.00 ± 0%   12.00 ± 0%        ~ (p=1.000 n=6) ¹
BenchmarkMeasureNewAttributeSet/AlwaysOn/Float64Counter-24           12.00 ± 0%   12.00 ± 0%        ~ (p=1.000 n=6) ¹
BenchmarkMeasureNewAttributeSet/AlwaysOn/Int64UpDownCounter-24       12.00 ± 0%   12.00 ± 0%        ~ (p=1.000 n=6) ¹
BenchmarkMeasureNewAttributeSet/AlwaysOn/Float64UpDownCounter-24     12.00 ± 0%   12.00 ± 0%        ~ (p=1.000 n=6) ¹
BenchmarkMeasureNewAttributeSet/AlwaysOn/Int64Histogram-24           13.00 ± 0%   13.00 ± 0%        ~ (p=1.000 n=6) ¹
BenchmarkMeasureNewAttributeSet/AlwaysOn/Float64Histogram-24         13.00 ± 0%   13.00 ± 0%        ~ (p=1.000 n=6) ¹
BenchmarkMeasureNewAttributeSet/AlwaysOn/Int64Gauge-24               12.00 ± 0%   12.00 ± 0%        ~ (p=1.000 n=6) ¹
BenchmarkMeasureNewAttributeSet/AlwaysOn/Float64Gauge-24             12.00 ± 0%   12.00 ± 0%        ~ (p=1.000 n=6) ¹
BenchmarkMeasureNewAttributeSet/AlwaysOff/Int64Counter-24           12.000 ± 0%   7.000 ± 0%  -41.67% (p=0.002 n=6)
BenchmarkMeasureNewAttributeSet/AlwaysOff/Float64Counter-24         12.000 ± 0%   7.000 ± 0%  -41.67% (p=0.002 n=6)
BenchmarkMeasureNewAttributeSet/AlwaysOff/Int64UpDownCounter-24     12.000 ± 0%   7.000 ± 0%  -41.67% (p=0.002 n=6)
BenchmarkMeasureNewAttributeSet/AlwaysOff/Float64UpDownCounter-24   12.000 ± 0%   7.000 ± 0%  -41.67% (p=0.002 n=6)
BenchmarkMeasureNewAttributeSet/AlwaysOff/Int64Histogram-24         13.000 ± 0%   9.000 ± 0%  -30.77% (p=0.002 n=6)
BenchmarkMeasureNewAttributeSet/AlwaysOff/Float64Histogram-24       13.000 ± 0%   9.000 ± 0%  -30.77% (p=0.002 n=6)
BenchmarkMeasureNewAttributeSet/AlwaysOff/Int64Gauge-24             12.000 ± 0%   7.000 ± 0%  -41.67% (p=0.002 n=6)
BenchmarkMeasureNewAttributeSet/AlwaysOff/Float64Gauge-24           12.000 ± 0%   7.000 ± 0%  -41.67% (p=0.002 n=6)
geomean                                              12.24        9.553       -21.97%
¹ all samples are equal
```

Gemini helped me write this.

---------

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2026-04-21 16:08:33 -04:00
renovate[bot] 8365fb9660 chore(deps): update golang.org/x/telemetry digest to 392afab (#8248)
This PR contains the following updates:

| Package | Type | Update | Change |
|---|---|---|---|
| [golang.org/x/telemetry](https://pkg.go.dev/golang.org/x/telemetry) |
indirect | digest | `fac6e1c` → `392afab` |

---

> [!WARNING]
> Some dependencies could not be looked up. Check the [Dependency
Dashboard](../issues/5322) for more information.

---

### Configuration

📅 **Schedule**: (UTC)

- 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:eyJjcmVhdGVkSW5WZXIiOiI0My4xMzguMSIsInVwZGF0ZWRJblZlciI6IjQzLjEzOC4xIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6WyJTa2lwIENoYW5nZWxvZyIsImRlcGVuZGVuY2llcyJdfQ==-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-04-21 12:27:13 -07:00
David Ashpole 5ecaa5b54f feat: add self-observability metrics to otlpmetrichttp metric exporters (#8194)
Fixes https://github.com/open-telemetry/opentelemetry-go/issues/7011

This PR updates
https://github.com/open-telemetry/opentelemetry-go/pull/7493, and
addresses outstanding comments. See commit descriptions for the changes
made on top of that PR. Credit to @tongoss for most of the work.

Benchmark results:

```
goos: linux
goarch: amd64
pkg: go.opentelemetry.io/otel/exporters/otlp/otlpmetric/otlpmetrichttp/internal/observ
cpu: Intel(R) Xeon(R) CPU @ 2.20GHz
                                             │ sec/op      │
InstrumentationExportMetrics/NoError-24        787.4n ± 5%
InstrumentationExportMetrics/PartialError-24   4.137µ ± 9%
InstrumentationExportMetrics/FullError-24      3.938µ ± 7%
geomean                                        2.341µ

                                             │  B/op       │
InstrumentationExportMetrics/NoError-24        0.000 ± 0%
InstrumentationExportMetrics/PartialError-24   787.0 ± 0%
InstrumentationExportMetrics/FullError-24      787.0 ± 0%
geomean                                                   ¹
¹ summaries must be >0 to compute geomean

                                             │ allocs/op   │
InstrumentationExportMetrics/NoError-24        0.000 ± 0%
InstrumentationExportMetrics/PartialError-24   6.000 ± 0%
InstrumentationExportMetrics/FullError-24      6.000 ± 0%
geomean                                                   ¹
¹ summaries must be >0 to compute geomean
```
```
goos: linux
goarch: amd64
pkg: go.opentelemetry.io/otel/exporters/otlp/otlpmetric/otlpmetrichttp
cpu: Intel(R) Xeon(R) CPU @ 2.20GHz
                                         │    sec/op     │
ExporterExportMetrics/Observability-24     433.5µ ± 4%
ExporterExportMetrics/NoObservability-24   439.3µ ± 4%
geomean                                    436.4µ

                                         │     B/op      │
ExporterExportMetrics/Observability-24     28.72Ki ± 2%
ExporterExportMetrics/NoObservability-24   28.71Ki ± 2%
geomean                                    28.71Ki

                                         │   allocs/op   │
ExporterExportMetrics/Observability-24     446.0 ± 0%
ExporterExportMetrics/NoObservability-24   446.0 ± 0%
geomean                                    446.0

```

Written with assistance from Gemini.

---------

Co-authored-by: Robert Wu <robertxtw@gmail.com>
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Flc゛ <i@flc.io>
2026-04-21 14:58:55 -04:00
ian 63ee0c59c6 stdlog observ: remove partial success handling (#8174)
While adding instrumentation for `stdoutlog`, I found that
`PartialSuccess` handling is not needed for this exporter.
`stdoutlog` does not return partial-export semantics

---------

Co-authored-by: Damien Mathieu <42@dmathieu.com>
2026-04-21 11:01:44 +02:00
Cijo Thomas 7529bf0b70 [chore] changelog: re-run workflow on PR title edits (#8246)
The changelog workflow checks the PR title for `[chore]` to skip the
changelog requirement, but it does not trigger on the `edited` event.
This means renaming a PR title to include `[chore]` has no effect until
a new commit is pushed.

Adding `edited` to the trigger types fixes this so the workflow
re-evaluates immediately when the title is changed.

Co-authored-by: Damien Mathieu <42@dmathieu.com>
2026-04-21 10:09:35 +02:00
renovate[bot] 563943a593 fix(deps): update build-tools to v0.30.0 (#8244)
This PR contains the following updates:

| Package | Change |
[Age](https://docs.renovatebot.com/merge-confidence/) |
[Confidence](https://docs.renovatebot.com/merge-confidence/) |
|---|---|---|---|
|
[go.opentelemetry.io/build-tools/crosslink](https://redirect.github.com/open-telemetry/opentelemetry-go-build-tools)
| `v0.29.0` → `v0.30.0` |
![age](https://developer.mend.io/api/mc/badges/age/go/go.opentelemetry.io%2fbuild-tools%2fcrosslink/v0.30.0?slim=true)
|
![confidence](https://developer.mend.io/api/mc/badges/confidence/go/go.opentelemetry.io%2fbuild-tools%2fcrosslink/v0.29.0/v0.30.0?slim=true)
|
|
[go.opentelemetry.io/build-tools/gotmpl](https://redirect.github.com/open-telemetry/opentelemetry-go-build-tools)
| `v0.29.0` → `v0.30.0` |
![age](https://developer.mend.io/api/mc/badges/age/go/go.opentelemetry.io%2fbuild-tools%2fgotmpl/v0.30.0?slim=true)
|
![confidence](https://developer.mend.io/api/mc/badges/confidence/go/go.opentelemetry.io%2fbuild-tools%2fgotmpl/v0.29.0/v0.30.0?slim=true)
|
|
[go.opentelemetry.io/build-tools/multimod](https://redirect.github.com/open-telemetry/opentelemetry-go-build-tools)
| `v0.29.0` → `v0.30.0` |
![age](https://developer.mend.io/api/mc/badges/age/go/go.opentelemetry.io%2fbuild-tools%2fmultimod/v0.30.0?slim=true)
|
![confidence](https://developer.mend.io/api/mc/badges/confidence/go/go.opentelemetry.io%2fbuild-tools%2fmultimod/v0.29.0/v0.30.0?slim=true)
|

---

> [!WARNING]
> Some dependencies could not be looked up. Check the [Dependency
Dashboard](../issues/5322) for more information.

---

### Release Notes

<details>
<summary>open-telemetry/opentelemetry-go-build-tools
(go.opentelemetry.io/build-tools/crosslink)</summary>

###
[`v0.30.0`](https://redirect.github.com/open-telemetry/opentelemetry-go-build-tools/blob/HEAD/CHANGELOG.md#v0300)

[Compare
Source](https://redirect.github.com/open-telemetry/opentelemetry-go-build-tools/compare/v0.29.0...v0.30.0)

##### 🛑 Breaking changes 🛑

- `all`: Bump minimum Go version to 1.25
([#&#8203;1587](https://redirect.github.com/open-telemetry/opentelemetry-go-build-tools/issues/1587))
- `githubgen`: Stop generating the .github/ALLOWLIST file
([#&#8203;1505](https://redirect.github.com/open-telemetry/opentelemetry-go-build-tools/issues/1505))
This file has no bearing to GitHub, the CODEOWNERS file already contains
a list of unmaintained components.
Further, this file is flagged incorrectly by security tools as
problematic.

##### 💡 Enhancements 💡

- `chloggen`: Update validate command to check all changelog entries and
not exit out immediately after finding error.
([#&#8203;1304](https://redirect.github.com/open-telemetry/opentelemetry-go-build-tools/issues/1304))
- `crosslink`: Support Go versions with patch numbers (e.g., 1.23.0) in
`crosslink work` command
([#&#8203;1499](https://redirect.github.com/open-telemetry/opentelemetry-go-build-tools/issues/1499))

##### 🧰 Bug fixes 🧰

- `chloggen`: Correctly handle absolute paths for config file,
entries\_dir, template\_yaml, and change\_logs.
([#&#8203;1387](https://redirect.github.com/open-telemetry/opentelemetry-go-build-tools/issues/1387))
- `crosslink`: Fix false negatives in `crosslink tidylist --validate`
([#&#8203;1437](https://redirect.github.com/open-telemetry/opentelemetry-go-build-tools/issues/1437))
- `githubgen`: Replace panic with proper error handling for unknown
generator arguments
([#&#8203;1549](https://redirect.github.com/open-telemetry/opentelemetry-go-build-tools/issues/1549))

</details>

---

### Configuration

📅 **Schedule**: (UTC)

- 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 becomes conflicted, or you tick the
rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about these
updates 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:eyJjcmVhdGVkSW5WZXIiOiI0My4xMjMuOCIsInVwZGF0ZWRJblZlciI6IjQzLjEyMy44IiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6WyJTa2lwIENoYW5nZWxvZyIsImRlcGVuZGVuY2llcyJdfQ==-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-04-21 09:59:14 +02:00
renovate[bot] af0cd7b1b6 fix(deps): update googleapis to e10c466 (#8241)
This PR contains the following updates:

| Package | Type | Update | Change |
|---|---|---|---|
|
[google.golang.org/genproto/googleapis/api](https://redirect.github.com/googleapis/go-genproto)
| indirect | digest | `afd174a` → `e10c466` |
|
[google.golang.org/genproto/googleapis/rpc](https://redirect.github.com/googleapis/go-genproto)
| indirect | digest | `afd174a` → `e10c466` |
|
[google.golang.org/genproto/googleapis/rpc](https://redirect.github.com/googleapis/go-genproto)
| require | digest | `afd174a` → `e10c466` |

---

> [!WARNING]
> Some dependencies could not be looked up. Check the [Dependency
Dashboard](../issues/5322) for more information.

---

### Configuration

📅 **Schedule**: (UTC)

- 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 these
updates 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:eyJjcmVhdGVkSW5WZXIiOiI0My4xMjMuOCIsInVwZGF0ZWRJblZlciI6IjQzLjEyMy44IiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6WyJTa2lwIENoYW5nZWxvZyIsImRlcGVuZGVuY2llcyJdfQ==-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-04-21 09:49:39 +02:00
David Ashpole 5bd5702ad2 Fix stale status code reporting on self-observability metrics (#8226)
Fixes https://github.com/open-telemetry/opentelemetry-go/issues/8218

This now omits the status code attribute when a request fails before
getting a response, and doesn't use the previous response's status code
when reporting self-observability metrics.
2026-04-20 18:24:07 +02:00
renovate[bot] 036414bb5d chore(deps): update codspeedhq/action action to v4.14.0 (#8234)
This PR contains the following updates:

| Package | Type | Update | Change |
|---|---|---|---|
| [CodSpeedHQ/action](https://redirect.github.com/CodSpeedHQ/action) |
action | minor | `v4.13.1` → `v4.14.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.14.0`](https://redirect.github.com/CodSpeedHQ/action/releases/tag/v4.14.0)

[Compare
Source](https://redirect.github.com/CodSpeedHQ/action/compare/v4.13.1...v4.14.0)

#### Release Notes

We now collect buildtime and runtime environment data to warn users
about differences in their runtime environment when comparing two runs
against one another.

This data includes toolchain metadata like version and build options, as
well as a list of dynamically loaded linked libraries.

##### Minimum integration versions

To support the runtime metadata collection, make sure to use at least
the following versions:

- [`pytest-codspeed`
v4.4.0](https://redirect.github.com/CodSpeedHQ/pytest-codspeed/releases/tag/v4.4.0)
- [`codspeed-rust`
v4.5.0](https://redirect.github.com/CodSpeedHQ/codspeed-rust/releases/tag/v4.5.0)
- [`codspeed-cpp`
v2.2.0](https://redirect.github.com/CodSpeedHQ/codspeed-cpp/releases/tag/v2.2.0)
- [`codspeed-go`
v1.1.0](https://redirect.github.com/CodSpeedHQ/codspeed-go/releases/tag/v1.1.0)
- [`codspeed-node`
v5.3.0](https://redirect.github.com/CodSpeedHQ/codspeed-node/releases/tag/v5.3.0)

##### <!-- 0 -->🚀 Features

- Stop panicking when parsing invalid perf file by
[@&#8203;GuillaumeLagrange](https://redirect.github.com/GuillaumeLagrange)
in [#&#8203;298](https://redirect.github.com/CodSpeedHQ/runner/pull/298)
- Make the basic run only 5 rounds to make logs not crash the github
page by
[@&#8203;GuillaumeLagrange](https://redirect.github.com/GuillaumeLagrange)
- Represent the host OS as a SupportedOs enum with per-executor support
gates by
[@&#8203;GuillaumeLagrange](https://redirect.github.com/GuillaumeLagrange)
- Bypass systemd-run usage on macos by
[@&#8203;GuillaumeLagrange](https://redirect.github.com/GuillaumeLagrange)
- Add aarch64-apple-darwin to the release targets by
[@&#8203;GuillaumeLagrange](https://redirect.github.com/GuillaumeLagrange)
- Collect cpu flags in system info by
[@&#8203;GuillaumeLagrange](https://redirect.github.com/GuillaumeLagrange)
in [#&#8203;281](https://redirect.github.com/CodSpeedHQ/runner/pull/281)

##### <!-- 1 -->🐛 Bug Fixes

- Fix instropected\_go's behavior on macos by
[@&#8203;GuillaumeLagrange](https://redirect.github.com/GuillaumeLagrange)
- Update rust crate git2 to 0.20.4
([#&#8203;284](https://redirect.github.com/CodSpeedHQ/action/issues/284))
by [@&#8203;xtqqczze](https://redirect.github.com/xtqqczze) in
[#&#8203;284](https://redirect.github.com/CodSpeedHQ/runner/pull/284)

##### <!-- 7 -->⚙️ Internals

- chore: bump runner version to 4.14.0 by
[@&#8203;github-actions](https://redirect.github.com/github-actions)\[bot]
in [#&#8203;203](https://redirect.github.com/CodSpeedHQ/action/pull/203)
- Move the config schema check from pre-commit to ci-only check by
[@&#8203;GuillaumeLagrange](https://redirect.github.com/GuillaumeLagrange)
in [#&#8203;287](https://redirect.github.com/CodSpeedHQ/runner/pull/287)
- Skip tests that rely on linux behavior by
[@&#8203;GuillaumeLagrange](https://redirect.github.com/GuillaumeLagrange)
- Bump instrument-hooks submodule to include stubs improvement by
[@&#8203;GuillaumeLagrange](https://redirect.github.com/GuillaumeLagrange)
- Rerun exec harness build if instrument hooks sources change by
[@&#8203;GuillaumeLagrange](https://redirect.github.com/GuillaumeLagrange)
- Make update-bindings.sh PWD agnostic by
[@&#8203;GuillaumeLagrange](https://redirect.github.com/GuillaumeLagrange)

#### Install codspeed-runner 4.14.0

##### Install prebuilt binaries via shell script

```sh
curl --proto '=https' --tlsv1.2 -LsSf https://github.com/CodSpeedHQ/codspeed/releases/download/v4.14.0/codspeed-runner-installer.sh | sh
```

#### Download codspeed-runner 4.14.0

| File | Platform | Checksum |
|
-----------------------------------------------------------------------------------------------------------------------------------------------------------------------
| ------------------- |
-------------------------------------------------------------------------------------------------------------------------------------
|
|
[codspeed-runner-aarch64-apple-darwin.tar.gz](https://redirect.github.com/CodSpeedHQ/codspeed/releases/download/v4.14.0/codspeed-runner-aarch64-apple-darwin.tar.gz)
| Apple Silicon macOS |
[checksum](https://redirect.github.com/CodSpeedHQ/codspeed/releases/download/v4.14.0/codspeed-runner-aarch64-apple-darwin.tar.gz.sha256)
|
|
[codspeed-runner-aarch64-unknown-linux-musl.tar.gz](https://redirect.github.com/CodSpeedHQ/codspeed/releases/download/v4.14.0/codspeed-runner-aarch64-unknown-linux-musl.tar.gz)
| ARM64 MUSL Linux |
[checksum](https://redirect.github.com/CodSpeedHQ/codspeed/releases/download/v4.14.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.14.0/codspeed-runner-x86_64-unknown-linux-musl.tar.gz)
| x64 MUSL Linux |
[checksum](https://redirect.github.com/CodSpeedHQ/codspeed/releases/download/v4.14.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.13.1...v4.14.0>

</details>

---

### Configuration

📅 **Schedule**: (UTC)

- 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 becomes conflicted, 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:eyJjcmVhdGVkSW5WZXIiOiI0My4xMjMuOCIsInVwZGF0ZWRJblZlciI6IjQzLjEyMy44IiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6WyJTa2lwIENoYW5nZWxvZyIsImRlcGVuZGVuY2llcyJdfQ==-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-04-20 11:40:49 +02:00
Robert Pająk fa9276b15e exporters: support SLICE attributes (#8216)
Fixes #8162

Follow-up to #8153 for `attribute.SLICE`.

Add end-to-end exporter handling for `attribute.SLICE` in the remaining
paths that still treated it as invalid or relied on fallback formatting.

Changes:

- encode `attribute.SLICE` as OTLP `AnyValue_ArrayValue` for trace, log,
and metric transforms
- serialize Zipkin `SLICE` attributes using the non-OTLP AnyValue string
representation
- add trace-side coverage for recursive `convAttrValue` slice conversion
2026-04-20 11:03:34 +02:00
Robert Pająk 3384d39f6b prometheus: fix Collect data race for constant resource labels (#8227) 2026-04-20 10:37:32 +02:00
renovate[bot] f978f49759 chore(deps): update module github.com/dlclark/regexp2 to v1.12.0 (#8229)
This PR contains the following updates:

| Package | Change |
[Age](https://docs.renovatebot.com/merge-confidence/) |
[Confidence](https://docs.renovatebot.com/merge-confidence/) |
|---|---|---|---|
|
[github.com/dlclark/regexp2](https://redirect.github.com/dlclark/regexp2)
| `v1.11.5` → `v1.12.0` |
![age](https://developer.mend.io/api/mc/badges/age/go/github.com%2fdlclark%2fregexp2/v1.12.0?slim=true)
|
![confidence](https://developer.mend.io/api/mc/badges/confidence/go/github.com%2fdlclark%2fregexp2/v1.11.5/v1.12.0?slim=true)
|

---

> [!WARNING]
> Some dependencies could not be looked up. Check the [Dependency
Dashboard](../issues/5322) for more information.

---

### Release Notes

<details>
<summary>dlclark/regexp2 (github.com/dlclark/regexp2)</summary>

###
[`v1.12.0`](https://redirect.github.com/dlclark/regexp2/compare/v1.11.5...v1.12.0)

[Compare
Source](https://redirect.github.com/dlclark/regexp2/compare/v1.11.5...v1.12.0)

</details>

---

### Configuration

📅 **Schedule**: (UTC)

- 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:eyJjcmVhdGVkSW5WZXIiOiI0My4xMjMuOCIsInVwZGF0ZWRJblZlciI6IjQzLjEyMy44IiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6WyJTa2lwIENoYW5nZWxvZyIsImRlcGVuZGVuY2llcyJdfQ==-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-04-20 09:21:12 +02:00
Robert Pająk bec9f66b45 sdk/trace: apply AttributeValueLengthLimit to attribute.SLICE (#8217)
Fixes #7955

Per the OTel spec, attribute value limits must be applied recursively to
array elements. Previously truncateAttr only handled STRING and
STRINGSLICE.

Add a SLICE case to truncateAttr and two unexported helpers:
- truncateValue: recursively truncates STRING, STRINGSLICE, and SLICE
- needsTruncation: pre-scan guard that avoids allocating a new slice
when no element would be modified (mirrors sdk/log's pattern)

```
goarch: amd64
pkg: go.opentelemetry.io/otel/sdk/trace
cpu: 13th Gen Intel(R) Core(TM) i7-13800H
BenchmarkSpanLimits/None-20                                       205869              6757 ns/op           11296 B/op         38 allocs/op
BenchmarkSpanLimits/AttributeValueLengthLimit-20                  189799              5271 ns/op           11712 B/op         45 allocs/op
BenchmarkSpanLimits/AttributeCountLimit-20                        135494              9970 ns/op           10592 B/op         38 allocs/op
BenchmarkSpanLimits/EventCountLimit-20                            121084              9672 ns/op           10224 B/op         35 allocs/op
BenchmarkSpanLimits/LinkCountLimit-20                             110524              9419 ns/op            9824 B/op         35 allocs/op
BenchmarkSpanLimits/AttributePerEventCountLimit-20                123159              9308 ns/op           11296 B/op         38 allocs/op
BenchmarkSpanLimits/AttributePerLinkCountLimit-20                 146022              9337 ns/op           11296 B/op         38 allocs/op
```

The new `attribute.SLICE` item makes
`BenchmarkSpanLimits/AttributeValueLengthLimit` ~12% slower with 5 extra
allocs in that path compared to `main`. This is fine as 3 strings and 2
arrays need to be allocated because of the limits+truncation.

```
SpanLimits/AttributeValueLengthLimit   5.030µs ± 2%   5.651µs ± 2%  +12.34% (p=0.000 n=10)
SpanLimits/AttributeValueLengthLimit   10.53KiB ± 0% 11.44KiB ± 0% +8.61%  (p=0.000 n=10)
SpanLimits/AttributeValueLengthLimit   40.00 allocs   45.00 allocs +12.50% (p=0.000 n=10)
```
2026-04-17 18:17:45 +02:00
Robert Pająk ac9a33d214 test: truncate attribute string values using Unicode rune count (#8219)
Add test cases to ensure correct behavior.

From https://opentelemetry.io/docs/specs/otel/common/#attribute-limits:

> set an attribute value length limit such that for each attribute
value:
> - if it is a string, if it exceeds that limit (counting any character
in it as 1), SDKs MUST truncate that value, so that its length is at
most equal to the limit,
2026-04-17 17:52:31 +02:00
Robert Pająk dead3c1767 docs: add agent guide for autonomous coding agents (#8215)
Per
https://github.com/open-telemetry/opentelemetry-go/pull/8212#issuecomment-4258449173

Reference: https://agents.md
2026-04-17 17:42:17 +02:00
renovate[bot] 2fe7910cad chore(deps): update module github.com/go-git/go-git/v5 to v5.18.0 (#8223)
This PR contains the following updates:

| Package | Change |
[Age](https://docs.renovatebot.com/merge-confidence/) |
[Confidence](https://docs.renovatebot.com/merge-confidence/) |
|---|---|---|---|
|
[github.com/go-git/go-git/v5](https://redirect.github.com/go-git/go-git)
| `v5.17.2` → `v5.18.0` |
![age](https://developer.mend.io/api/mc/badges/age/go/github.com%2fgo-git%2fgo-git%2fv5/v5.18.0?slim=true)
|
![confidence](https://developer.mend.io/api/mc/badges/confidence/go/github.com%2fgo-git%2fgo-git%2fv5/v5.17.2/v5.18.0?slim=true)
|

---

> [!WARNING]
> Some dependencies could not be looked up. Check the [Dependency
Dashboard](../issues/5322) for more information.

---

### Release Notes

<details>
<summary>go-git/go-git (github.com/go-git/go-git/v5)</summary>

###
[`v5.18.0`](https://redirect.github.com/go-git/go-git/releases/tag/v5.18.0)

[Compare
Source](https://redirect.github.com/go-git/go-git/compare/v5.17.2...v5.18.0)

#### What's Changed

- plumbing: transport/http, Add support for followRedirects policy by
[@&#8203;pjbgf](https://redirect.github.com/pjbgf) in
[#&#8203;2004](https://redirect.github.com/go-git/go-git/pull/2004)

**Full Changelog**:
<https://github.com/go-git/go-git/compare/v5.17.2...v5.18.0>

</details>

---

### Configuration

📅 **Schedule**: (UTC)

- 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:eyJjcmVhdGVkSW5WZXIiOiI0My4xMjMuOCIsInVwZGF0ZWRJblZlciI6IjQzLjEyMy44IiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6WyJTa2lwIENoYW5nZWxvZyIsImRlcGVuZGVuY2llcyJdfQ==-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-04-17 09:02:04 +02:00
David Ashpole 3356ad3f1a Fix typos found by copilot (#8221)
Found during copilot code reviews on other PRs.


https://github.com/open-telemetry/opentelemetry-go/pull/8211#discussion_r3094951812
2026-04-16 12:17:21 -07:00
Robert Pająk d13f8ecb2d attribute: add SLICE type support (#8166)
Fixes https://github.com/open-telemetry/opentelemetry-go/issues/7934

```
$ go test -run=^$ -bench=BenchmarkSlice
goos: linux
goarch: amd64
pkg: go.opentelemetry.io/otel/attribute
cpu: 13th Gen Intel(R) Core(TM) i7-13800H
BenchmarkSlice/Len3/Value-20                    25297926                52.56 ns/op          144 B/op          1 allocs/op
BenchmarkSlice/Len3/KeyValue-20                 21315132                55.97 ns/op          144 B/op          1 allocs/op
BenchmarkSlice/Len3/AsSlice-20                  24214248                50.03 ns/op          144 B/op          1 allocs/op
BenchmarkSlice/Len3/String-20                   14148270                86.48 ns/op           48 B/op          1 allocs/op
BenchmarkSlice/Len3/Emit-20                     13605388                85.18 ns/op           48 B/op          1 allocs/op
BenchmarkSlice/Len5Nested/Value-20              16086171                71.30 ns/op          240 B/op          1 allocs/op
BenchmarkSlice/Len5Nested/KeyValue-20           15547844                75.81 ns/op          240 B/op          1 allocs/op
BenchmarkSlice/Len5Nested/AsSlice-20            17806996                66.16 ns/op          240 B/op          1 allocs/op
BenchmarkSlice/Len5Nested/String-20              7409064               165.2 ns/op            64 B/op          1 allocs/op
BenchmarkSlice/Len5Nested/Emit-20                7666302               161.0 ns/op            64 B/op          1 allocs/op
PASS
ok      go.opentelemetry.io/otel/attribute      12.980s
```

```
$ go test -run=^$ -bench=BenchmarkHashKVs
goos: linux
goarch: amd64
pkg: go.opentelemetry.io/otel/attribute
cpu: 13th Gen Intel(R) Core(TM) i7-13800H
BenchmarkHashKVs-20      1268742               940.5 ns/op             0 B/op          0 allocs/op
PASS
ok      go.opentelemetry.io/otel/attribute      1.198s
```
2026-04-16 12:38:32 +02:00
renovate[bot] bb6804e300 chore(deps): update module github.com/grpc-ecosystem/grpc-gateway/v2 to v2.29.0 (#8214)
This PR contains the following updates:

| Package | Change |
[Age](https://docs.renovatebot.com/merge-confidence/) |
[Confidence](https://docs.renovatebot.com/merge-confidence/) |
|---|---|---|---|
|
[github.com/grpc-ecosystem/grpc-gateway/v2](https://redirect.github.com/grpc-ecosystem/grpc-gateway)
| `v2.28.0` → `v2.29.0` |
![age](https://developer.mend.io/api/mc/badges/age/go/github.com%2fgrpc-ecosystem%2fgrpc-gateway%2fv2/v2.29.0?slim=true)
|
![confidence](https://developer.mend.io/api/mc/badges/confidence/go/github.com%2fgrpc-ecosystem%2fgrpc-gateway%2fv2/v2.28.0/v2.29.0?slim=true)
|

---

> [!WARNING]
> Some dependencies could not be looked up. Check the [Dependency
Dashboard](../issues/5322) for more information.

---

### Release Notes

<details>
<summary>grpc-ecosystem/grpc-gateway
(github.com/grpc-ecosystem/grpc-gateway/v2)</summary>

###
[`v2.29.0`](https://redirect.github.com/grpc-ecosystem/grpc-gateway/releases/tag/v2.29.0)

[Compare
Source](https://redirect.github.com/grpc-ecosystem/grpc-gateway/compare/v2.28.0...v2.29.0)

#### What's Changed

- fix: use proto.Merge to avoid copylocks with use\_opaque\_api=true by
[@&#8203;emahiro](https://redirect.github.com/emahiro) in
[#&#8203;6383](https://redirect.github.com/grpc-ecosystem/grpc-gateway/pull/6383)
- fix: allow proto3 optional fields in path parameters by
[@&#8203;susanachl](https://redirect.github.com/susanachl) in
[#&#8203;6416](https://redirect.github.com/grpc-ecosystem/grpc-gateway/pull/6416)
- Add option to disable HTTP method override by
[@&#8203;achew22](https://redirect.github.com/achew22) in
[#&#8203;6447](https://redirect.github.com/grpc-ecosystem/grpc-gateway/pull/6447)
- Add Go documentation badge to README by
[@&#8203;achew22](https://redirect.github.com/achew22) in
[#&#8203;6448](https://redirect.github.com/grpc-ecosystem/grpc-gateway/pull/6448)
- fix: add missing return statements in error handler paths by
[@&#8203;jet-go](https://redirect.github.com/jet-go) in
[#&#8203;6561](https://redirect.github.com/grpc-ecosystem/grpc-gateway/pull/6561)
- Deprecate fields and methods if file is deprecated by
[@&#8203;aidandj](https://redirect.github.com/aidandj) in
[#&#8203;6613](https://redirect.github.com/grpc-ecosystem/grpc-gateway/pull/6613)
- Add edition 2024 support by
[@&#8203;printfn](https://redirect.github.com/printfn) in
[#&#8203;6622](https://redirect.github.com/grpc-ecosystem/grpc-gateway/pull/6622)

#### New Contributors

- [@&#8203;emahiro](https://redirect.github.com/emahiro) made their
first contribution in
[#&#8203;6383](https://redirect.github.com/grpc-ecosystem/grpc-gateway/pull/6383)
- [@&#8203;susanachl](https://redirect.github.com/susanachl) made their
first contribution in
[#&#8203;6416](https://redirect.github.com/grpc-ecosystem/grpc-gateway/pull/6416)
- [@&#8203;jet-go](https://redirect.github.com/jet-go) made their first
contribution in
[#&#8203;6561](https://redirect.github.com/grpc-ecosystem/grpc-gateway/pull/6561)
- [@&#8203;aidandj](https://redirect.github.com/aidandj) made their
first contribution in
[#&#8203;6613](https://redirect.github.com/grpc-ecosystem/grpc-gateway/pull/6613)
- [@&#8203;printfn](https://redirect.github.com/printfn) made their
first contribution in
[#&#8203;6622](https://redirect.github.com/grpc-ecosystem/grpc-gateway/pull/6622)

**Full Changelog**:
<https://github.com/grpc-ecosystem/grpc-gateway/compare/v2.28.0...v2.29.0>

</details>

---

### Configuration

📅 **Schedule**: (UTC)

- 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:eyJjcmVhdGVkSW5WZXIiOiI0My4xMjAuMiIsInVwZGF0ZWRJblZlciI6IjQzLjEyMC4yIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6WyJTa2lwIENoYW5nZWxvZyIsImRlcGVuZGVuY2llcyJdfQ==-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-04-16 11:11:40 +02:00
Robert Pająk f18161b2db add GitHub Copilot code review instructions (#8212)
Per
https://docs.github.com/en/copilot/how-tos/use-copilot-agents/request-a-code-review/use-code-review#customizing-copilots-reviews-with-custom-instructions
2026-04-16 10:57:36 +02:00
Ali Asghar c56c84380c sdk/trace: propagate SpanExporter.Shutdown error from BatchSpanProcessor (#8197)
Fixes #6878.

`bsp.e.Shutdown(ctx)` was called with `:=` inside an `if` statement,
creating a new variable that shadowed the outer `err`. The error was
handled via `otel.Handle` but never returned to the caller of
`BatchSpanProcessor.Shutdown`.

### Fix

Use a dedicated `exportErr` variable. The goroutine writes it before
closing the `wait` channel; the caller reads it only in the `<-wait`
select case (where the goroutine is guaranteed done). This is race-free
— addressing the concern raised by @seh in #6878.

All existing `TestBatchSpanProcessor*` tests pass.

---------

Signed-off-by: alliasgher <alliasgher123@gmail.com>
Co-authored-by: Tyler Yahn <MrAlias@users.noreply.github.com>
Co-authored-by: Robert Pająk <pellared@hotmail.com>
2026-04-15 09:04:18 -07:00
renovate[bot] b59dd68936 chore(deps): update github/codeql-action action to v4.35.2 (#8208)
This PR contains the following updates:

| Package | Type | Update | Change |
|---|---|---|---|
|
[github/codeql-action](https://redirect.github.com/github/codeql-action)
| action | patch | `v4.35.1` → `v4.35.2` |

---

> [!WARNING]
> Some dependencies could not be looked up. Check the [Dependency
Dashboard](../issues/5322) for more information.

---

### Release Notes

<details>
<summary>github/codeql-action (github/codeql-action)</summary>

###
[`v4.35.2`](https://redirect.github.com/github/codeql-action/releases/tag/v4.35.2)

[Compare
Source](https://redirect.github.com/github/codeql-action/compare/v4.35.1...v4.35.2)

- The undocumented TRAP cache cleanup feature that could be enabled
using the `CODEQL_ACTION_CLEANUP_TRAP_CACHES` environment variable is
deprecated and will be removed in May 2026. If you are affected by this,
we recommend disabling TRAP caching by passing the `trap-caching: false`
input to the `init` Action.
[#&#8203;3795](https://redirect.github.com/github/codeql-action/pull/3795)
- The Git version 2.36.0 requirement for improved incremental analysis
now only applies to repositories that contain submodules.
[#&#8203;3789](https://redirect.github.com/github/codeql-action/pull/3789)
- Python analysis on GHES no longer extracts the standard library,
relying instead on models of the standard library. This should result in
significantly faster extraction and analysis times, while the effect on
alerts should be minimal.
[#&#8203;3794](https://redirect.github.com/github/codeql-action/pull/3794)
- Fixed a bug in the validation of OIDC configurations for private
registries that was added in CodeQL Action 4.33.0 / 3.33.0.
[#&#8203;3807](https://redirect.github.com/github/codeql-action/pull/3807)
- Update default CodeQL bundle version to
[2.25.2](https://redirect.github.com/github/codeql-action/releases/tag/codeql-bundle-v2.25.2).
[#&#8203;3823](https://redirect.github.com/github/codeql-action/pull/3823)

</details>

---

### Configuration

📅 **Schedule**: (UTC)

- 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:eyJjcmVhdGVkSW5WZXIiOiI0My4xMjAuMiIsInVwZGF0ZWRJblZlciI6IjQzLjEyMC4yIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6WyJTa2lwIENoYW5nZWxvZyIsImRlcGVuZGVuY2llcyJdfQ==-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-04-15 15:50:03 +02:00
Robert Pająk fbbc5a6045 attribute: make TestHashKVs linear-time (#8204)
Unblocks https://github.com/open-telemetry/opentelemetry-go/pull/8166

Per
https://github.com/open-telemetry/opentelemetry-go/pull/8166#issuecomment-4246787382

## Why

This updates `TestHashKVsEquality` to avoid the quadratic pairwise
comparison that was causing slow runs and timeouts in CI.

Below are the results from my machine.

Old:

```
$ go test -run=TestHashKVs -count=1 
PASS
ok      go.opentelemetry.io/otel/attribute      2.063s
```

New:

```
$ go test -run=TestHashKVs -count=1 
PASS
ok      go.opentelemetry.io/otel/attribute      0.024s
```

Instead of collecting every generated testcase and comparing each hash
against every other hash, the test now checks uniqueness as each case is
generated by storing previously seen hashes in a map. Note that it also
does not use the equality operator of `KeyValue` to determine if the
hash should be equal or different.

## What 

- Rename the test from `TestHashKVsEquality` to `TestHashKVs`
- Replace the O(n^2) post-processing loop with an O(n) streaming
uniqueness check
- Simplify failure reporting by removing the dedicated `msg` helper

Side note: for me it also makes the test more readable (however, this is
opinionated).
2026-04-15 15:34:20 +02:00
renovate[bot] 3ee1d5a516 fix(deps): update github.com/opentracing-contrib/go-grpc/test digest to 07c9668 (#8206)
This PR contains the following updates:

| Package | Type | Update | Change |
|---|---|---|---|
|
[github.com/opentracing-contrib/go-grpc/test](https://redirect.github.com/opentracing-contrib/go-grpc)
| require | digest | `6b4d2bc` → `07c9668` |

---

> [!WARNING]
> Some dependencies could not be looked up. Check the [Dependency
Dashboard](../issues/5322) for more information.

---

### Configuration

📅 **Schedule**: (UTC)

- 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 becomes conflicted, 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:eyJjcmVhdGVkSW5WZXIiOiI0My4xMTAuMiIsInVwZGF0ZWRJblZlciI6IjQzLjExMC4yIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6WyJTa2lwIENoYW5nZWxvZyIsImRlcGVuZGVuY2llcyJdfQ==-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-04-14 16:51:40 -07:00
renovate[bot] 5fa3d04f78 fix(deps): update module github.com/opentracing-contrib/go-grpc to v0.1.3 (#8207)
This PR contains the following updates:

| Package | Change |
[Age](https://docs.renovatebot.com/merge-confidence/) |
[Confidence](https://docs.renovatebot.com/merge-confidence/) |
|---|---|---|---|
|
[github.com/opentracing-contrib/go-grpc](https://redirect.github.com/opentracing-contrib/go-grpc)
| `v0.1.2` → `v0.1.3` |
![age](https://developer.mend.io/api/mc/badges/age/go/github.com%2fopentracing-contrib%2fgo-grpc/v0.1.3?slim=true)
|
![confidence](https://developer.mend.io/api/mc/badges/confidence/go/github.com%2fopentracing-contrib%2fgo-grpc/v0.1.2/v0.1.3?slim=true)
|

---

> [!WARNING]
> Some dependencies could not be looked up. Check the [Dependency
Dashboard](../issues/5322) for more information.

---

### Release Notes

<details>
<summary>opentracing-contrib/go-grpc
(github.com/opentracing-contrib/go-grpc)</summary>

###
[`v0.1.3`](https://redirect.github.com/opentracing-contrib/go-grpc/releases/tag/v0.1.3)

[Compare
Source](https://redirect.github.com/opentracing-contrib/go-grpc/compare/v0.1.2...v0.1.3)

<!-- Release notes generated using configuration in .github/release.yml
at v0.1.3 -->

#### What's Changed

##### 🔨 Maintenance

- Remove go toolchain by
[@&#8203;lucacome](https://redirect.github.com/lucacome) in
[#&#8203;69](https://redirect.github.com/opentracing-contrib/go-grpc/pull/69)
- Remove go toolchain from tests by
[@&#8203;lucacome](https://redirect.github.com/lucacome) in
[#&#8203;70](https://redirect.github.com/opentracing-contrib/go-grpc/pull/70)

##### ⬆️ Dependencies

- Update lucacome/draft-release action to v2.1.1 by
[@&#8203;renovate](https://redirect.github.com/renovate)\[bot] in
[#&#8203;52](https://redirect.github.com/opentracing-contrib/go-grpc/pull/52),
[#&#8203;55](https://redirect.github.com/opentracing-contrib/go-grpc/pull/55),
[#&#8203;58](https://redirect.github.com/opentracing-contrib/go-grpc/pull/58),
[#&#8203;61](https://redirect.github.com/opentracing-contrib/go-grpc/pull/61),
[#&#8203;68](https://redirect.github.com/opentracing-contrib/go-grpc/pull/68),
[#&#8203;71](https://redirect.github.com/opentracing-contrib/go-grpc/pull/71)
- Update actions/labeler action to v6 by
[@&#8203;renovate](https://redirect.github.com/renovate)\[bot] in
[#&#8203;51](https://redirect.github.com/opentracing-contrib/go-grpc/pull/51)
- Update actions/checkout action to v6 by
[@&#8203;renovate](https://redirect.github.com/renovate)\[bot] in
[#&#8203;48](https://redirect.github.com/opentracing-contrib/go-grpc/pull/48),
[#&#8203;57](https://redirect.github.com/opentracing-contrib/go-grpc/pull/57)
- Update module github.com/stretchr/testify to v1.11.1 by
[@&#8203;renovate](https://redirect.github.com/renovate)\[bot] in
[#&#8203;49](https://redirect.github.com/opentracing-contrib/go-grpc/pull/49)
- Update actions/setup-go action to v6 by
[@&#8203;renovate](https://redirect.github.com/renovate)\[bot] in
[#&#8203;50](https://redirect.github.com/opentracing-contrib/go-grpc/pull/50)
- Update golangci/golangci-lint-action action to v9 by
[@&#8203;renovate](https://redirect.github.com/renovate)\[bot] in
[#&#8203;47](https://redirect.github.com/opentracing-contrib/go-grpc/pull/47),
[#&#8203;56](https://redirect.github.com/opentracing-contrib/go-grpc/pull/56)
- Update module google.golang.org/grpc to v1.80.0 by
[@&#8203;renovate](https://redirect.github.com/renovate)\[bot] in
[#&#8203;46](https://redirect.github.com/opentracing-contrib/go-grpc/pull/46),
[#&#8203;53](https://redirect.github.com/opentracing-contrib/go-grpc/pull/53),
[#&#8203;60](https://redirect.github.com/opentracing-contrib/go-grpc/pull/60),
[#&#8203;62](https://redirect.github.com/opentracing-contrib/go-grpc/pull/62),
[#&#8203;65](https://redirect.github.com/opentracing-contrib/go-grpc/pull/65),
[#&#8203;67](https://redirect.github.com/opentracing-contrib/go-grpc/pull/67)
- Update github/codeql-action action to v4 by
[@&#8203;renovate](https://redirect.github.com/renovate)\[bot] in
[#&#8203;54](https://redirect.github.com/opentracing-contrib/go-grpc/pull/54)

**Full Changelog**:
<https://github.com/opentracing-contrib/go-grpc/compare/v0.1.2...v0.1.3>

</details>

---

### Configuration

📅 **Schedule**: (UTC)

- 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:eyJjcmVhdGVkSW5WZXIiOiI0My4xMTAuMiIsInVwZGF0ZWRJblZlciI6IjQzLjExMC4yIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6WyJTa2lwIENoYW5nZWxvZyIsImRlcGVuZGVuY2llcyJdfQ==-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-04-14 16:40:00 -07:00
renovate[bot] a100e025a4 chore(deps): update golang.org/x/telemetry digest to fac6e1c (#8202)
This PR contains the following updates:

| Package | Type | Update | Change |
|---|---|---|---|
| [golang.org/x/telemetry](https://pkg.go.dev/golang.org/x/telemetry) |
indirect | digest | `be6f6cb` → `fac6e1c` |

---

> [!WARNING]
> Some dependencies could not be looked up. Check the [Dependency
Dashboard](../issues/5322) for more information.

---

### Configuration

📅 **Schedule**: (UTC)

- 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:eyJjcmVhdGVkSW5WZXIiOiI0My4xMTAuMiIsInVwZGF0ZWRJblZlciI6IjQzLjExMC4yIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6WyJTa2lwIENoYW5nZWxvZyIsImRlcGVuZGVuY2llcyJdfQ==-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-04-14 16:21:23 -07:00
Robert Pająk 92176e3d8b otlptracehttp: reset pooled gzip writer before reuse (#8196)
Based on https://github.com/open-telemetry/opentelemetry-go/pull/8152
and https://github.com/open-telemetry/opentelemetry-go/pull/8185
2026-04-14 23:22:11 +02:00
David Ashpole 8899c97372 Update contributing to recommend using Enabled (#8189)
Fixes https://github.com/open-telemetry/opentelemetry-go/issues/7800

Updates CONTRIBUTING.md to recommend using Enabled for
self-observability metrics.
2026-04-14 10:38:15 -04:00