Tyler Yahn
e7fa5ba72f
Fix CPUModeSystem variable name ( #7233 )
...
Do not trim a package prefix when it is the same as the package name.
Assume the name itself has semantic meaning and will not stutter.
Fix #7232
2025-08-25 16:06:50 +02:00
Tyler Yahn
be28c6bc8f
Wrap Float64ObservableCounter
with system.CPUTime
( #7235 )
...
Fix #7234
Addresses revert of [`cpu` to `system`
namespace](https://github.com/open-telemetry/semantic-conventions/pull/1896 )
in semantic conventions.
2025-08-25 15:51:01 +02:00
renovate[bot]
712e373ea5
chore(deps): update lycheeverse/lychee-action action to v2.6.1 ( #7243 )
2025-08-25 14:54:48 +02:00
renovate[bot]
713a1d9a2a
fix(deps): update module github.com/stretchr/testify to v1.11.0 ( #7242 )
...
This PR contains the following updates:
| Package | Change | Age | Confidence |
|---|---|---|---|
|
[github.com/stretchr/testify](https://redirect.github.com/stretchr/testify )
| `v1.10.0` -> `v1.11.0` |
[](https://docs.renovatebot.com/merge-confidence/ )
|
[](https://docs.renovatebot.com/merge-confidence/ )
|
---
> [!WARNING]
> Some dependencies could not be looked up. Check the Dependency
Dashboard for more information.
---
### Release Notes
<details>
<summary>stretchr/testify (github.com/stretchr/testify)</summary>
###
[`v1.11.0`](https://redirect.github.com/stretchr/testify/releases/tag/v1.11.0 )
[Compare
Source](https://redirect.github.com/stretchr/testify/compare/v1.10.0...v1.11.0 )
#### What's Changed
##### Functional Changes
v1.11.0 Includes a number of performance improvements.
- Call stack perf change for CallerInfo by
[@​mikeauclair](https://redirect.github.com/mikeauclair ) in
[#​1614](https://redirect.github.com/stretchr/testify/pull/1614 )
- Lazily render mock diff output on successful match by
[@​mikeauclair](https://redirect.github.com/mikeauclair ) in
[#​1615](https://redirect.github.com/stretchr/testify/pull/1615 )
- assert: check early in Eventually, EventuallyWithT, and Never by
[@​cszczepaniak](https://redirect.github.com/cszczepaniak ) in
[#​1427](https://redirect.github.com/stretchr/testify/pull/1427 )
- assert: add IsNotType by
[@​bartventer](https://redirect.github.com/bartventer ) in
[#​1730](https://redirect.github.com/stretchr/testify/pull/1730 )
- assert.JSONEq: shortcut if same strings by
[@​dolmen](https://redirect.github.com/dolmen ) in
[#​1754](https://redirect.github.com/stretchr/testify/pull/1754 )
- assert.YAMLEq: shortcut if same strings by
[@​dolmen](https://redirect.github.com/dolmen ) in
[#​1755](https://redirect.github.com/stretchr/testify/pull/1755 )
- assert: faster and simpler isEmpty using reflect.Value.IsZero by
[@​dolmen](https://redirect.github.com/dolmen ) in
[#​1761](https://redirect.github.com/stretchr/testify/pull/1761 )
- suite: faster methods filtering (internal refactor) by
[@​dolmen](https://redirect.github.com/dolmen ) in
[#​1758](https://redirect.github.com/stretchr/testify/pull/1758 )
##### Fixes
- assert.ErrorAs: log target type by
[@​craig65535](https://redirect.github.com/craig65535 ) in
[#​1345](https://redirect.github.com/stretchr/testify/pull/1345 )
- Fix failure message formatting for Positive and Negative asserts in
[#​1062](https://redirect.github.com/stretchr/testify/pull/1062 )
- Improve ErrorIs message when error is nil but an error was expected by
[@​tsioftas](https://redirect.github.com/tsioftas ) in
[#​1681](https://redirect.github.com/stretchr/testify/pull/1681 )
- fix Subset/NotSubset when calling with mixed input types by
[@​siliconbrain](https://redirect.github.com/siliconbrain ) in
[#​1729](https://redirect.github.com/stretchr/testify/pull/1729 )
- Improve ErrorAs failure message when error is nil by
[@​ccoVeille](https://redirect.github.com/ccoVeille ) in
[#​1734](https://redirect.github.com/stretchr/testify/pull/1734 )
- mock.AssertNumberOfCalls: improve error msg by
[@​3scalation](https://redirect.github.com/3scalation ) in
[#​1743](https://redirect.github.com/stretchr/testify/pull/1743 )
##### Documentation, Build & CI
- docs: Fix typo in README by
[@​alexandear](https://redirect.github.com/alexandear ) in
[#​1688](https://redirect.github.com/stretchr/testify/pull/1688 )
- Replace deprecated io/ioutil with io and os by
[@​alexandear](https://redirect.github.com/alexandear ) in
[#​1684](https://redirect.github.com/stretchr/testify/pull/1684 )
- Document consequences of calling t.FailNow() by
[@​greg0ire](https://redirect.github.com/greg0ire ) in
[#​1710](https://redirect.github.com/stretchr/testify/pull/1710 )
- chore: update docs for Unset
[#​1621](https://redirect.github.com/stretchr/testify/issues/1621 )
by [@​techfg](https://redirect.github.com/techfg ) in
[#​1709](https://redirect.github.com/stretchr/testify/pull/1709 )
- README: apply gofmt to examples by
[@​alexandear](https://redirect.github.com/alexandear ) in
[#​1687](https://redirect.github.com/stretchr/testify/pull/1687 )
- refactor: use %q and %T to simplify fmt.Sprintf by
[@​alexandear](https://redirect.github.com/alexandear ) in
[#​1674](https://redirect.github.com/stretchr/testify/pull/1674 )
- Propose Christophe Colombier (ccoVeille) as approver by
[@​brackendawson](https://redirect.github.com/brackendawson ) in
[#​1716](https://redirect.github.com/stretchr/testify/pull/1716 )
- Update documentation for the Error function in assert or require
package by [@​architagr](https://redirect.github.com/architagr ) in
[#​1675](https://redirect.github.com/stretchr/testify/pull/1675 )
- assert: remove deprecated build constraints by
[@​alexandear](https://redirect.github.com/alexandear ) in
[#​1671](https://redirect.github.com/stretchr/testify/pull/1671 )
- assert: apply gofumpt to internal test suite by
[@​ccoVeille](https://redirect.github.com/ccoVeille ) in
[#​1739](https://redirect.github.com/stretchr/testify/pull/1739 )
- CI: fix shebang in .ci.\*.sh scripts by
[@​dolmen](https://redirect.github.com/dolmen ) in
[#​1746](https://redirect.github.com/stretchr/testify/pull/1746 )
- assert,require: enable parallel testing on (almost) all top tests by
[@​dolmen](https://redirect.github.com/dolmen ) in
[#​1747](https://redirect.github.com/stretchr/testify/pull/1747 )
- suite.Passed: add one more status test report by
[@​Ararsa-Derese](https://redirect.github.com/Ararsa-Derese ) in
[#​1706](https://redirect.github.com/stretchr/testify/pull/1706 )
- Add Helper() method in internal mocks and assert.CollectT by
[@​dolmen](https://redirect.github.com/dolmen ) in
[#​1423](https://redirect.github.com/stretchr/testify/pull/1423 )
- assert.Same/NotSame: improve usage of Sprintf by
[@​ccoVeille](https://redirect.github.com/ccoVeille ) in
[#​1742](https://redirect.github.com/stretchr/testify/pull/1742 )
- mock: enable parallel testing on internal testsuite by
[@​dolmen](https://redirect.github.com/dolmen ) in
[#​1756](https://redirect.github.com/stretchr/testify/pull/1756 )
- suite: cleanup use of 'testing' internals at runtime by
[@​dolmen](https://redirect.github.com/dolmen ) in
[#​1751](https://redirect.github.com/stretchr/testify/pull/1751 )
- assert: check test failure message for Empty and NotEmpty by
[@​ccoVeille](https://redirect.github.com/ccoVeille ) in
[#​1745](https://redirect.github.com/stretchr/testify/pull/1745 )
- deps: fix dependency cycle with objx (again) by
[@​dolmen](https://redirect.github.com/dolmen ) in
[#​1567](https://redirect.github.com/stretchr/testify/pull/1567 )
- assert.Empty: comprehensive doc of "Empty"-ness rules by
[@​dolmen](https://redirect.github.com/dolmen ) in
[#​1753](https://redirect.github.com/stretchr/testify/pull/1753 )
- doc: improve godoc of top level 'testify' package by
[@​dolmen](https://redirect.github.com/dolmen ) in
[#​1760](https://redirect.github.com/stretchr/testify/pull/1760 )
- assert.ErrorAs: simplify retrieving the type name by
[@​ccoVeille](https://redirect.github.com/ccoVeille ) in
[#​1740](https://redirect.github.com/stretchr/testify/pull/1740 )
- assert.EqualValues: improve test coverage to 100% by
[@​dolmen](https://redirect.github.com/dolmen ) in
[#​1763](https://redirect.github.com/stretchr/testify/pull/1763 )
- suite.Run: simplify running of Setup/TeardownSuite by
[@​renzoarreaza](https://redirect.github.com/renzoarreaza ) in
[#​1769](https://redirect.github.com/stretchr/testify/pull/1769 )
- assert.CallerInfo: micro optimization by using LastIndexByte by
[@​dolmen](https://redirect.github.com/dolmen ) in
[#​1767](https://redirect.github.com/stretchr/testify/pull/1767 )
- assert.CallerInfo: micro cleanup by
[@​dolmen](https://redirect.github.com/dolmen ) in
[#​1768](https://redirect.github.com/stretchr/testify/pull/1768 )
- assert: refactor Test*FileExists and Test*DirExists tests to enable
parallel testing by [@​dolmen](https://redirect.github.com/dolmen )
in
[#​1766](https://redirect.github.com/stretchr/testify/pull/1766 )
- suite.Run: refactor handling of stats for improved readability by
[@​dolmen](https://redirect.github.com/dolmen ) in
[#​1764](https://redirect.github.com/stretchr/testify/pull/1764 )
- tests: improve captureTestingT helper by
[@​ccoVeille](https://redirect.github.com/ccoVeille ) in
[#​1741](https://redirect.github.com/stretchr/testify/pull/1741 )
- build(deps): bump actions/checkout from 4 to 5 by
[@​dependabot](https://redirect.github.com/dependabot )\[bot] in
[#​1778](https://redirect.github.com/stretchr/testify/pull/1778 )
#### New Contributors
- [@​greg0ire](https://redirect.github.com/greg0ire ) made their
first contribution in
[#​1710](https://redirect.github.com/stretchr/testify/pull/1710 )
- [@​techfg](https://redirect.github.com/techfg ) made their first
contribution in
[#​1709](https://redirect.github.com/stretchr/testify/pull/1709 )
- [@​mikeauclair](https://redirect.github.com/mikeauclair ) made
their first contribution in
[#​1614](https://redirect.github.com/stretchr/testify/pull/1614 )
- [@​cszczepaniak](https://redirect.github.com/cszczepaniak ) made
their first contribution in
[#​1427](https://redirect.github.com/stretchr/testify/pull/1427 )
- [@​architagr](https://redirect.github.com/architagr ) made their
first contribution in
[#​1675](https://redirect.github.com/stretchr/testify/pull/1675 )
- [@​tsioftas](https://redirect.github.com/tsioftas ) made their
first contribution in
[#​1681](https://redirect.github.com/stretchr/testify/pull/1681 )
- [@​siliconbrain](https://redirect.github.com/siliconbrain ) made
their first contribution in
[#​1729](https://redirect.github.com/stretchr/testify/pull/1729 )
- [@​bartventer](https://redirect.github.com/bartventer ) made
their first contribution in
[#​1730](https://redirect.github.com/stretchr/testify/pull/1730 )
- [@​Ararsa-Derese](https://redirect.github.com/Ararsa-Derese )
made their first contribution in
[#​1706](https://redirect.github.com/stretchr/testify/pull/1706 )
- [@​renzoarreaza](https://redirect.github.com/renzoarreaza ) made
their first contribution in
[#​1769](https://redirect.github.com/stretchr/testify/pull/1769 )
- [@​3scalation](https://redirect.github.com/3scalation ) made
their first contribution in
[#​1743](https://redirect.github.com/stretchr/testify/pull/1743 )
**Full Changelog**:
<https://github.com/stretchr/testify/compare/v1.10.0...v1.11.0 >
</details>
---
### Configuration
📅 **Schedule**: Branch creation - At any time (no schedule defined),
Automerge - At any time (no schedule defined).
🚦 **Automerge**: Disabled by config. Please merge this manually once you
are satisfied.
♻ **Rebasing**: Whenever PR is behind base branch, or you tick the
rebase/retry checkbox.
🔕 **Ignore**: Close this PR and you won't be reminded about 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:eyJjcmVhdGVkSW5WZXIiOiI0MS44Mi43IiwidXBkYXRlZEluVmVyIjoiNDEuODIuNyIsInRhcmdldEJyYW5jaCI6Im1haW4iLCJsYWJlbHMiOlsiU2tpcCBDaGFuZ2Vsb2ciLCJkZXBlbmRlbmNpZXMiXX0=-->
---------
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: flc1125 <four_leaf_clover@foxmail.com >
2025-08-25 14:38:44 +02:00
ian
9818ea8b0d
refactor(logger): Flatten logger.initSelfObservability
into logger.newLoggerr
and use t.Cleanup
instead of defer ( #7228 )
...
- Flatten `logger.initSelfObservability` into `logger.newLoggerr`
- use `t.Cleanup` instead of `defer`
---------
Co-authored-by: Tyler Yahn <MrAlias@users.noreply.github.com >
2025-08-24 12:28:55 -07:00
ian
c2a6172739
feat(stdouttrace): generate counter implementation via templates ( #7231 )
...
Use templates to generate the counter implementation for `stdouttrace`,
so it can be easily reused in other modules.
---------
Co-authored-by: Tyler Yahn <MrAlias@users.noreply.github.com >
2025-08-24 08:29:54 -07:00
renovate[bot]
70e8929a67
chore(deps): update lycheeverse/lychee-action action to v2.6.0 ( #7239 )
...
This PR contains the following updates:
| Package | Type | Update | Change |
|---|---|---|---|
|
[lycheeverse/lychee-action](https://redirect.github.com/lycheeverse/lychee-action )
| action | minor | `v2.5.0` -> `v2.6.0` |
---
> [!WARNING]
> Some dependencies could not be looked up. Check the Dependency
Dashboard for more information.
---
### Release Notes
<details>
<summary>lycheeverse/lychee-action (lycheeverse/lychee-action)</summary>
###
[`v2.6.0`](https://redirect.github.com/lycheeverse/lychee-action/releases/tag/v2.6.0 ):
Version 2.6.0
[Compare
Source](https://redirect.github.com/lycheeverse/lychee-action/compare/v2.5.0...v2.6.0 )
##### What's Changed
- Update lychee version to v0.20.0 by
[@​github-actions](https://redirect.github.com/github-actions )\[bot]
in[https://github.com/lycheeverse/lychee-action/pull/304 ](https://redirect.github.com/lycheeverse/lychee-action/pull/304 )4
- Bump actions/checkout from 4 to 5 by
[@​dependabot](https://redirect.github.com/dependabot )\[bot]
in[https://github.com/lycheeverse/lychee-action/pull/303 ](https://redirect.github.com/lycheeverse/lychee-action/pull/303 )3
**Full Changelog**:
https://github.com/lycheeverse/lychee-action/compare/v2...v2.6.0
</details>
---
### Configuration
📅 **Schedule**: Branch creation - At any time (no schedule defined),
Automerge - At any time (no schedule defined).
🚦 **Automerge**: Disabled by config. Please merge this manually once you
are satisfied.
♻ **Rebasing**: Whenever PR is behind base branch, or you tick the
rebase/retry checkbox.
🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.
---
- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box
---
This PR was generated by [Mend Renovate](https://mend.io/renovate/ ).
View the [repository job
log](https://developer.mend.io/github/open-telemetry/opentelemetry-go ).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0MS44MS4yIiwidXBkYXRlZEluVmVyIjoiNDEuODEuMiIsInRhcmdldEJyYW5jaCI6Im1haW4iLCJsYWJlbHMiOlsiU2tpcCBDaGFuZ2Vsb2ciLCJkZXBlbmRlbmNpZXMiXX0=-->
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-08-22 07:53:58 -07:00
renovate[bot]
f3b18fc9d9
chore(deps): update github.com/golangci/golines digest to d4663ad ( #7238 )
...
This PR contains the following updates:
| Package | Type | Update | Change |
|---|---|---|---|
|
[github.com/golangci/golines](https://redirect.github.com/golangci/golines )
| indirect | digest | `b35a614` -> `d4663ad` |
---
> [!WARNING]
> Some dependencies could not be looked up. Check the Dependency
Dashboard for more information.
---
### Configuration
📅 **Schedule**: Branch creation - At any time (no schedule defined),
Automerge - At any time (no schedule defined).
🚦 **Automerge**: Disabled by config. Please merge this manually once you
are satisfied.
♻ **Rebasing**: Whenever PR is behind base branch, or you tick the
rebase/retry checkbox.
🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.
---
- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box
---
This PR was generated by [Mend Renovate](https://mend.io/renovate/ ).
View the [repository job
log](https://developer.mend.io/github/open-telemetry/opentelemetry-go ).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0MS44MS4yIiwidXBkYXRlZEluVmVyIjoiNDEuODEuMiIsInRhcmdldEJyYW5jaCI6Im1haW4iLCJsYWJlbHMiOlsiU2tpcCBDaGFuZ2Vsb2ciLCJkZXBlbmRlbmNpZXMiXX0=-->
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-08-21 15:37:55 -07:00
Bryan Boreham
8b17b897d2
sdk/trace: More trace id tests ( #7155 )
...
* Check that IDs round-trip between binary and hex string formats.
`TestIDsRoundTrip` is patterned after `TestNewIDs`.
* Check that bad values give the expected errors.
* Use larger values in `TestWithIDGenerator`. Previously, nearly all the
bits were zero so a mistake in encoding/decoding higher bits could be
missed.
Start with arbitrary values with more bits set.
(Span ID still has top half as zero due to taking an uint64)
* Modify `testIDGenerator` so this ^^ change runs on 32-bit platforms.
The idea for more tests arose while considering #6791 .
Does not need a CHANGELOG entry - test only.
---------
Signed-off-by: Bryan Boreham <bjboreham@gmail.com >
Co-authored-by: Tyler Yahn <MrAlias@users.noreply.github.com >
2025-08-21 09:23:32 -07:00
renovate[bot]
d31fb11011
chore(deps): update github/codeql-action action to v3.29.11 ( #7229 )
...
This PR contains the following updates:
| Package | Type | Update | Change |
|---|---|---|---|
|
[github/codeql-action](https://redirect.github.com/github/codeql-action )
| action | patch | `v3.29.10` -> `v3.29.11` |
---
> [!WARNING]
> Some dependencies could not be looked up. Check the Dependency
Dashboard for more information.
---
### Release Notes
<details>
<summary>github/codeql-action (github/codeql-action)</summary>
###
[`v3.29.11`](https://redirect.github.com/github/codeql-action/compare/v3.29.10...v3.29.11 )
[Compare
Source](https://redirect.github.com/github/codeql-action/compare/v3.29.10...v3.29.11 )
</details>
---
### Configuration
📅 **Schedule**: Branch creation - At any time (no schedule defined),
Automerge - At any time (no schedule defined).
🚦 **Automerge**: Disabled by config. Please merge this manually once you
are satisfied.
♻ **Rebasing**: Whenever PR is behind base branch, or you tick the
rebase/retry checkbox.
🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.
---
- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box
---
This PR was generated by [Mend Renovate](https://mend.io/renovate/ ).
View the [repository job
log](https://developer.mend.io/github/open-telemetry/opentelemetry-go ).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0MS44MS4yIiwidXBkYXRlZEluVmVyIjoiNDEuODEuMiIsInRhcmdldEJyYW5jaCI6Im1haW4iLCJsYWJlbHMiOlsiU2tpcCBDaGFuZ2Vsb2ciLCJkZXBlbmRlbmNpZXMiXX0=-->
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-08-21 08:17:19 -07:00
renovate[bot]
bd6f16131e
chore(deps): update codecov/codecov-action action to v5.5.0 ( #7227 )
...
This PR contains the following updates:
| Package | Type | Update | Change |
|---|---|---|---|
|
[codecov/codecov-action](https://redirect.github.com/codecov/codecov-action )
| action | minor | `v5.4.3` -> `v5.5.0` |
---
> [!WARNING]
> Some dependencies could not be looked up. Check the Dependency
Dashboard for more information.
---
### Release Notes
<details>
<summary>codecov/codecov-action (codecov/codecov-action)</summary>
###
[`v5.5.0`](https://redirect.github.com/codecov/codecov-action/blob/HEAD/CHANGELOG.md#v550 )
[Compare
Source](https://redirect.github.com/codecov/codecov-action/compare/v5.4.3...v5.5.0 )
##### What's Changed
- feat: upgrade wrapper to 0.2.4 by
[@​jviall](https://redirect.github.com/jviall ) in
[https://github.com/codecov/codecov-action/pull/1864 ](https://redirect.github.com/codecov/codecov-action/pull/1864 )
- Pin actions/github-script by Git SHA by
[@​martincostello](https://redirect.github.com/martincostello ) in
[https://github.com/codecov/codecov-action/pull/1859 ](https://redirect.github.com/codecov/codecov-action/pull/1859 )
- fix: check reqs exist by
[@​joseph-sentry](https://redirect.github.com/joseph-sentry ) in
[https://github.com/codecov/codecov-action/pull/1835 ](https://redirect.github.com/codecov/codecov-action/pull/1835 )
- fix: Typo in README by
[@​spalmurray](https://redirect.github.com/spalmurray ) in
[https://github.com/codecov/codecov-action/pull/1838 ](https://redirect.github.com/codecov/codecov-action/pull/1838 )
- docs: Refine OIDC docs by
[@​spalmurray](https://redirect.github.com/spalmurray ) in
[https://github.com/codecov/codecov-action/pull/1837 ](https://redirect.github.com/codecov/codecov-action/pull/1837 )
- build(deps): bump github/codeql-action from 3.28.17 to 3.28.18 by
[@​app/dependabot](https://redirect.github.com/app/dependabot ) in
[https://github.com/codecov/codecov-action/pull/1829 ](https://redirect.github.com/codecov/codecov-action/pull/1829 )
**Full Changelog**:
https://github.com/codecov/codecov-action/compare/v5.4.3..v5.5.0
</details>
---
### Configuration
📅 **Schedule**: Branch creation - At any time (no schedule defined),
Automerge - At any time (no schedule defined).
🚦 **Automerge**: Disabled by config. Please merge this manually once you
are satisfied.
♻ **Rebasing**: Whenever PR 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:eyJjcmVhdGVkSW5WZXIiOiI0MS44MS4yIiwidXBkYXRlZEluVmVyIjoiNDEuODEuMiIsInRhcmdldEJyYW5jaCI6Im1haW4iLCJsYWJlbHMiOlsiU2tpcCBDaGFuZ2Vsb2ciLCJkZXBlbmRlbmNpZXMiXX0=-->
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-08-20 16:18:17 -07:00
renovate[bot]
a102d7d16e
fix(deps): update module google.golang.org/protobuf to v1.36.8 ( #7225 )
...
This PR contains the following updates:
| Package | Change | Age | Confidence |
|---|---|---|---|
|
[google.golang.org/protobuf](https://redirect.github.com/protocolbuffers/protobuf-go )
| `v1.36.7` -> `v1.36.8` |
[](https://docs.renovatebot.com/merge-confidence/ )
|
[](https://docs.renovatebot.com/merge-confidence/ )
|
---
> [!WARNING]
> Some dependencies could not be looked up. Check the Dependency
Dashboard for more information.
---
### Release Notes
<details>
<summary>protocolbuffers/protobuf-go
(google.golang.org/protobuf)</summary>
###
[`v1.36.8`](https://redirect.github.com/protocolbuffers/protobuf-go/releases/tag/v1.36.8 )
[Compare
Source](https://redirect.github.com/protocolbuffers/protobuf-go/compare/v1.36.7...v1.36.8 )
Maintenance:
[CL/696316](https://go-review.googlesource.com/c/protobuf/+/696316 ):
all: set Go language version to Go 1.23
[CL/696315](https://go-review.googlesource.com/c/protobuf/+/696315 ):
types: regenerate using latest protobuf v32 release
</details>
---
### Configuration
📅 **Schedule**: Branch creation - At any time (no schedule defined),
Automerge - At any time (no schedule defined).
🚦 **Automerge**: Disabled by config. Please merge this manually once you
are satisfied.
♻ **Rebasing**: Whenever PR 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:eyJjcmVhdGVkSW5WZXIiOiI0MS44MS4yIiwidXBkYXRlZEluVmVyIjoiNDEuODEuMiIsInRhcmdldEJyYW5jaCI6Im1haW4iLCJsYWJlbHMiOlsiU2tpcCBDaGFuZ2Vsb2ciLCJkZXBlbmRlbmNpZXMiXX0=-->
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-08-20 14:57:25 -07:00
renovate[bot]
d91944ffdf
chore(deps): update module github.com/grpc-ecosystem/grpc-gateway/v2 to v2.27.2 ( #7224 )
...
This PR contains the following updates:
| Package | Change | Age | Confidence |
|---|---|---|---|
|
[github.com/grpc-ecosystem/grpc-gateway/v2](https://redirect.github.com/grpc-ecosystem/grpc-gateway )
| `v2.27.1` -> `v2.27.2` |
[](https://docs.renovatebot.com/merge-confidence/ )
|
[](https://docs.renovatebot.com/merge-confidence/ )
|
---
> [!WARNING]
> Some dependencies could not be looked up. Check the Dependency
Dashboard for more information.
---
### Release Notes
<details>
<summary>grpc-ecosystem/grpc-gateway
(github.com/grpc-ecosystem/grpc-gateway/v2)</summary>
###
[`v2.27.2`](https://redirect.github.com/grpc-ecosystem/grpc-gateway/releases/tag/v2.27.2 )
[Compare
Source](https://redirect.github.com/grpc-ecosystem/grpc-gateway/compare/v2.27.1...v2.27.2 )
##### What's Changed
- Fix nested schema definition for body parameter
([#​3058](https://redirect.github.com/grpc-ecosystem/grpc-gateway/issues/3058 ))
by
[@​ilyongcho-moloco](https://redirect.github.com/ilyongcho-moloco )
in
[https://github.com/grpc-ecosystem/grpc-gateway/pull/5827 ](https://redirect.github.com/grpc-ecosystem/grpc-gateway/pull/5827 )
- Replace gopkg.in/yaml.v3 with go.yaml.in/yaml/v3 by
[@​MB175](https://redirect.github.com/MB175 ) in
[https://github.com/grpc-ecosystem/grpc-gateway/pull/5857 ](https://redirect.github.com/grpc-ecosystem/grpc-gateway/pull/5857 )
##### New Contributors
-
[@​ilyongcho-moloco](https://redirect.github.com/ilyongcho-moloco )
made their first contribution in
[https://github.com/grpc-ecosystem/grpc-gateway/pull/5827 ](https://redirect.github.com/grpc-ecosystem/grpc-gateway/pull/5827 )
- [@​MB175](https://redirect.github.com/MB175 ) made their first
contribution in
[https://github.com/grpc-ecosystem/grpc-gateway/pull/5857 ](https://redirect.github.com/grpc-ecosystem/grpc-gateway/pull/5857 )
**Full Changelog**:
https://github.com/grpc-ecosystem/grpc-gateway/compare/v2.27.1...v2.27.2
</details>
---
### Configuration
📅 **Schedule**: Branch creation - At any time (no schedule defined),
Automerge - At any time (no schedule defined).
🚦 **Automerge**: Disabled by config. Please merge this manually once you
are satisfied.
♻ **Rebasing**: Whenever PR is behind base branch, or you tick the
rebase/retry checkbox.
🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.
---
- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box
---
This PR was generated by [Mend Renovate](https://mend.io/renovate/ ).
View the [repository job
log](https://developer.mend.io/github/open-telemetry/opentelemetry-go ).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0MS44MS4yIiwidXBkYXRlZEluVmVyIjoiNDEuODEuMiIsInRhcmdldEJyYW5jaCI6Im1haW4iLCJsYWJlbHMiOlsiU2tpcCBDaGFuZ2Vsb2ciLCJkZXBlbmRlbmNpZXMiXX0=-->
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-08-20 14:44:45 -07:00
renovate[bot]
cf787f3e3a
fix(deps): update module google.golang.org/grpc to v1.75.0 ( #7220 )
...
This PR contains the following updates:
| Package | Change | Age | Confidence |
|---|---|---|---|
| [google.golang.org/grpc](https://redirect.github.com/grpc/grpc-go ) |
`v1.74.2` -> `v1.75.0` |
[](https://docs.renovatebot.com/merge-confidence/ )
|
[](https://docs.renovatebot.com/merge-confidence/ )
|
---
> [!WARNING]
> Some dependencies could not be looked up. Check the Dependency
Dashboard for more information.
---
### Release Notes
<details>
<summary>grpc/grpc-go (google.golang.org/grpc)</summary>
###
[`v1.75.0`](https://redirect.github.com/grpc/grpc-go/releases/tag/v1.75.0 ):
Release 1.75.0
[Compare
Source](https://redirect.github.com/grpc/grpc-go/compare/v1.74.2...v1.75.0 )
### Behavior Changes
- xds: Remove support for GRPC\_EXPERIMENTAL\_XDS\_FALLBACK environment
variable. Fallback support can no longer be disabled.
([#​8482](https://redirect.github.com/grpc/grpc-go/issues/8482 ))
- stats: Introduce `DelayedPickComplete` event, a type alias of
`PickerUpdated`.
([#​8465](https://redirect.github.com/grpc/grpc-go/issues/8465 ))
- This (combined) event will now be emitted only once per call, when a
transport is successfully selected for the attempt.
- OpenTelemetry metrics will no longer have multiple "Delayed LB pick
complete" events in Go, matching other gRPC languages.
- A future release will delete the `PickerUpdated` symbol.
- credentials: Properly apply `grpc.WithAuthority` as the
highest-priority option for setting authority, above the setting in the
credentials themselves.
([#​8488](https://redirect.github.com/grpc/grpc-go/issues/8488 ))
- Now that this `WithAuthority` is available, the credentials should not
be used to override the authority.
- round\_robin: Randomize the order in which addresses are connected to
in order to spread out initial RPC load between clients.
([#​8438](https://redirect.github.com/grpc/grpc-go/issues/8438 ))
- server: Return status code INTERNAL when a client sends more than one
request in unary and server streaming RPC.
([#​8385](https://redirect.github.com/grpc/grpc-go/issues/8385 ))
- This is a behavior change but also a bug fix to bring gRPC-Go in line
with the gRPC spec.
### New Features
- dns: Add an environment variable (`GRPC_ENABLE_TXT_SERVICE_CONFIG`) to
provide a way to disable TXT lookups in the DNS resolver (by setting it
to `false`). By default, TXT lookups are enabled, as they were
previously.
([#​8377](https://redirect.github.com/grpc/grpc-go/issues/8377 ))
### Bug Fixes
- xds: Fix regression preventing empty node IDs in xDS bootstrap
configuration.
([#​8476](https://redirect.github.com/grpc/grpc-go/issues/8476 ))
- Special Thanks:
[@​davinci26](https://redirect.github.com/davinci26 )
- xds: Fix possible panic when certain invalid resources are
encountered.
([#​8412](https://redirect.github.com/grpc/grpc-go/issues/8412 ))
- Special Thanks: [@​wooffie](https://redirect.github.com/wooffie )
- xdsclient: Fix a rare panic caused by processing a response from a
closed server.
([#​8389](https://redirect.github.com/grpc/grpc-go/issues/8389 ))
- stats: Fix metric unit formatting by enclosing non-standard units like
`call` and `endpoint` in curly braces to comply with UCUM and gRPC
OpenTelemetry guidelines.
([#​8481](https://redirect.github.com/grpc/grpc-go/issues/8481 ))
- xds: Fix possible panic when clusters are removed from the xds
configuration.
([#​8428](https://redirect.github.com/grpc/grpc-go/issues/8428 ))
- xdsclient: Fix a race causing "resource doesn not exist" when rapidly
subscribing and unsubscribing to the same resource.
([#​8369](https://redirect.github.com/grpc/grpc-go/issues/8369 ))
- client: When determining the authority, properly percent-encode (if
needed, which is unlikely) when the target string omits the hostname and
only specifies a port (`grpc.NewClient(":<port-number-or-name>")`).
([#​8488](https://redirect.github.com/grpc/grpc-go/issues/8488 ))
</details>
---
### Configuration
📅 **Schedule**: Branch creation - At any time (no schedule defined),
Automerge - At any time (no schedule defined).
🚦 **Automerge**: Disabled by config. Please merge this manually once you
are satisfied.
♻ **Rebasing**: Whenever PR 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:eyJjcmVhdGVkSW5WZXIiOiI0MS44MS4yIiwidXBkYXRlZEluVmVyIjoiNDEuODEuMiIsInRhcmdldEJyYW5jaCI6Im1haW4iLCJsYWJlbHMiOlsiU2tpcCBDaGFuZ2Vsb2ciLCJkZXBlbmRlbmNpZXMiXX0=-->
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-08-19 16:10:07 -07:00
renovate[bot]
a5d1068c50
chore(deps): update module github.com/kevinburke/ssh_config to v1.4.0 ( #7219 )
...
This PR contains the following updates:
| Package | Change | Age | Confidence |
|---|---|---|---|
|
[github.com/kevinburke/ssh_config](https://redirect.github.com/kevinburke/ssh_config )
| `v1.2.0` -> `v1.4.0` |
[](https://docs.renovatebot.com/merge-confidence/ )
|
[](https://docs.renovatebot.com/merge-confidence/ )
|
---
> [!WARNING]
> Some dependencies could not be looked up. Check the Dependency
Dashboard for more information.
---
### Release Notes
<details>
<summary>kevinburke/ssh_config
(github.com/kevinburke/ssh_config)</summary>
###
[`v1.4.0`](https://redirect.github.com/kevinburke/ssh_config/compare/v1.2.0...v1.4.0 )
[Compare
Source](https://redirect.github.com/kevinburke/ssh_config/compare/v1.2.0...v1.4.0 )
</details>
---
### Configuration
📅 **Schedule**: Branch creation - At any time (no schedule defined),
Automerge - At any time (no schedule defined).
🚦 **Automerge**: Disabled by config. Please merge this manually once you
are satisfied.
♻ **Rebasing**: Whenever PR is behind base branch, or you tick the
rebase/retry checkbox.
🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.
---
- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box
---
This PR was generated by [Mend Renovate](https://mend.io/renovate/ ).
View the [repository job
log](https://developer.mend.io/github/open-telemetry/opentelemetry-go ).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0MS44MS4yIiwidXBkYXRlZEluVmVyIjoiNDEuODEuMiIsInRhcmdldEJyYW5jaCI6Im1haW4iLCJsYWJlbHMiOlsiU2tpcCBDaGFuZ2Vsb2ciLCJkZXBlbmRlbmNpZXMiXX0=-->
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-08-19 15:56:08 -07:00
renovate[bot]
22c6da0307
fix(deps): update googleapis to 3122310 ( #7216 )
...
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 | `5f3141c` -> `3122310` |
|
[google.golang.org/genproto/googleapis/rpc](https://redirect.github.com/googleapis/go-genproto )
| indirect | digest | `5f3141c` -> `3122310` |
|
[google.golang.org/genproto/googleapis/rpc](https://redirect.github.com/googleapis/go-genproto )
| require | digest | `5f3141c` -> `3122310` |
---
> [!WARNING]
> Some dependencies could not be looked up. Check the Dependency
Dashboard for more information.
---
### Configuration
📅 **Schedule**: Branch creation - At any time (no schedule defined),
Automerge - At any time (no schedule defined).
🚦 **Automerge**: Disabled by config. Please merge this manually once you
are satisfied.
♻ **Rebasing**: Whenever PR is behind base branch, or you tick the
rebase/retry checkbox.
🔕 **Ignore**: Close this PR and you won't be reminded about 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:eyJjcmVhdGVkSW5WZXIiOiI0MS43MS4xIiwidXBkYXRlZEluVmVyIjoiNDEuNzEuMSIsInRhcmdldEJyYW5jaCI6Im1haW4iLCJsYWJlbHMiOlsiU2tpcCBDaGFuZ2Vsb2ciLCJkZXBlbmRlbmNpZXMiXX0=-->
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-08-18 15:46:30 -07:00
Tyler Yahn
44a0d621ee
Pool attribute slices in stdouttrace
self-observability ( #7201 )
...
### Benchmarks
```terminal
goos: linux
goarch: amd64
pkg: go.opentelemetry.io/otel/exporters/stdout/stdouttrace
cpu: Intel(R) Core(TM) i7-8550U CPU @ 1.80GHz
│ main.txt │ stdouttrace-pool-obs-attrs.txt │
│ sec/op │ sec/op vs base │
ExporterExportSpans-8 30.55µ ± 2% 31.76µ ± 3% +3.96% (p=0.000 n=10)
│ main.txt │ stdouttrace-pool-obs-attrs.txt │
│ B/op │ B/op vs base │
ExporterExportSpans-8 6.538Ki ± 0% 6.353Ki ± 0% -2.84% (p=0.000 n=10)
│ main.txt │ stdouttrace-pool-obs-attrs.txt │
│ allocs/op │ allocs/op vs base │
ExporterExportSpans-8 135.0 ± 0% 134.0 ± 0% -0.74% (p=0.000 n=10)
```
2025-08-18 10:27:17 -07:00
Tyler Yahn
907d93b8e1
Handle partial export counts in stdouttrace
observability ( #7199 )
...
Do not fail all exported metric counts if only some of them failed.
2025-08-18 09:37:33 -07:00
renovate[bot]
75db61c29e
chore(deps): update github/codeql-action action to v3.29.10 ( #7214 )
...
This PR contains the following updates:
| Package | Type | Update | Change |
|---|---|---|---|
|
[github/codeql-action](https://redirect.github.com/github/codeql-action )
| action | patch | `v3.29.9` -> `v3.29.10` |
---
> [!WARNING]
> Some dependencies could not be looked up. Check the Dependency
Dashboard for more information.
---
### Release Notes
<details>
<summary>github/codeql-action (github/codeql-action)</summary>
###
[`v3.29.10`](https://redirect.github.com/github/codeql-action/releases/tag/v3.29.10 )
[Compare
Source](https://redirect.github.com/github/codeql-action/compare/v3.29.9...v3.29.10 )
### CodeQL Action Changelog
See the [releases
page](https://redirect.github.com/github/codeql-action/releases ) for the
relevant changes to the CodeQL CLI and language packs.
#### 3.29.10 - 18 Aug 2025
No user facing changes.
See the full
[CHANGELOG.md](https://redirect.github.com/github/codeql-action/blob/v3.29.10/CHANGELOG.md )
for more information.
</details>
---
### Configuration
📅 **Schedule**: Branch creation - At any time (no schedule defined),
Automerge - At any time (no schedule defined).
🚦 **Automerge**: Disabled by config. Please merge this manually once you
are satisfied.
♻ **Rebasing**: Whenever PR is behind base branch, or you tick the
rebase/retry checkbox.
🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.
---
- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box
---
This PR was generated by [Mend Renovate](https://mend.io/renovate/ ).
View the [repository job
log](https://developer.mend.io/github/open-telemetry/opentelemetry-go ).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0MS43MS4xIiwidXBkYXRlZEluVmVyIjoiNDEuNzEuMSIsInRhcmdldEJyYW5jaCI6Im1haW4iLCJsYWJlbHMiOlsiU2tpcCBDaGFuZ2Vsb2ciLCJkZXBlbmRlbmNpZXMiXX0=-->
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-08-18 09:05:39 -07:00
Tyler Yahn
bb5b0a8e61
Use t.Cleanup
instead of defer
in sdk/trace
( #7208 )
...
Let the testing system ensure proper cleanup ordering and execution. Do
not wait to function return to run all the `defer`s from the loops.
2025-08-18 12:42:16 +02:00
Tyler Yahn
3ca7996db3
Use t.Cleanup
instead of defer
in stdouttrace
( #7204 )
...
Let the testing system ensure proper cleanup ordering and execution.
2025-08-18 12:35:54 +02:00
Tyler Yahn
4623d0a989
Fix minor grammatical error in Distinct
docs ( #7203 )
2025-08-18 12:24:26 +02:00
Tyler Yahn
bb8d6f74b0
Fix callbackAttributesOpt variable name ( #7210 )
2025-08-18 11:46:16 +02:00
Tyler Yahn
796aa3cc33
Fix minor grammatical error in stdouttrace ( #7202 )
2025-08-18 11:34:46 +02:00
Tyler Yahn
e39a02f568
Fix minor grammatical error in sdk/trace/internal/x
README.md ( #7211 )
2025-08-18 10:44:47 +02:00
Tyler Yahn
150f6b4dbc
Flatten tracer.initSelfObservability
into TracerProvider.Tracer
( #7205 )
...
- Do not use [side-effect
programming](https://en.wikipedia.org/wiki/Side_effect_(computer_science) )
to setup a `tracer`. Make the setup explicit, unique, and local.
- Add the `newInst` function to ensure DRY and scope instrument creation
2025-08-18 10:37:38 +02:00
Tyler Yahn
9488493043
sdk/trace: do not defer if not self-observing ( #7206 )
...
Allow branch prediction to help avoid tail function call instead of the
other way around.
2025-08-18 10:25:36 +02:00
renovate[bot]
cac7421c19
chore(deps): update module go.augendre.info/fatcontext to v0.8.1 ( #7213 )
...
This PR contains the following updates:
| Package | Change | Age | Confidence |
|---|---|---|---|
|
[go.augendre.info/fatcontext](https://redirect.github.com/Crocmagnon/fatcontext )
| `v0.8.0` -> `v0.8.1` |
[](https://docs.renovatebot.com/merge-confidence/ )
|
[](https://docs.renovatebot.com/merge-confidence/ )
|
---
> [!WARNING]
> Some dependencies could not be looked up. Check the Dependency
Dashboard for more information.
---
### Release Notes
<details>
<summary>Crocmagnon/fatcontext (go.augendre.info/fatcontext)</summary>
###
[`v0.8.1`](https://redirect.github.com/Crocmagnon/fatcontext/releases/tag/v0.8.1 )
[Compare
Source](https://redirect.github.com/Crocmagnon/fatcontext/compare/v0.8.0...v0.8.1 )
#### Highlights
-
[`cc8870e`](cc8870e239
)
fixed
[#​43](https://redirect.github.com/Crocmagnon/fatcontext/issues/43 ):
fix: context.Background and context.TODO properly mark the loop as
non-fat
#### Changelog
-
[`4670423`](4670423bc3
)
\[pre-commit.ci] pre-commit autoupdate
-
[`91ee1eb`](91ee1ebe59
)
\[pre-commit.ci] pre-commit autoupdate
-
[`21d679f`](21d679fe49
)
\[pre-commit.ci] pre-commit autoupdate
-
[`080ba44`](080ba44e51
)
\[pre-commit.ci] pre-commit autoupdate
-
[`ebce84f`](ebce84f30a
)
\[pre-commit.ci] pre-commit autoupdate
-
[`f81d849`](f81d8492cf
)
\[pre-commit.ci] pre-commit autoupdate
-
[`0e5885d`](0e5885d217
)
\[pre-commit.ci] pre-commit autoupdate
-
[`d236c8b`](d236c8bee2
)
build(deps): bump golang.org/x/tools from 0.31.0 to 0.32.0
-
[`f4c7eb5`](f4c7eb515e
)
build(deps): bump golang.org/x/tools from 0.32.0 to 0.33.0
-
[`81ca847`](81ca847d60
)
build(deps): bump golang.org/x/tools from 0.33.0 to 0.34.0
-
[`547da75`](547da7546c
)
build(deps): bump golang.org/x/tools from 0.34.0 to 0.35.0
-
[`e27b419`](e27b419f2d
)
build(deps): bump golangci/golangci-lint-action
-
[`4365d64`](4365d646be
)
fix readme import path
-
[`6e8855d`](6e8855d337
)
fix(ci): master -> main
-
[`cc8870e`](cc8870e239
)
fix: context.Background and context.TODO properly mark the loop as
non-fat
</details>
---
### Configuration
📅 **Schedule**: Branch creation - At any time (no schedule defined),
Automerge - At any time (no schedule defined).
🚦 **Automerge**: Disabled by config. Please merge this manually once you
are satisfied.
♻ **Rebasing**: Whenever PR 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:eyJjcmVhdGVkSW5WZXIiOiI0MS43MS4xIiwidXBkYXRlZEluVmVyIjoiNDEuNzEuMSIsInRhcmdldEJyYW5jaCI6Im1haW4iLCJsYWJlbHMiOlsiU2tpcCBDaGFuZ2Vsb2ciLCJkZXBlbmRlbmNpZXMiXX0=-->
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-08-17 09:14:57 -07:00
Tyler Yahn
e799586d10
Restructure component ID counting in stdouttrace ( #7196 )
...
Use a resettable counter so tests can have deterministic component IDs
that do not depend on previous state.
2025-08-17 09:05:09 -07:00
Tyler Yahn
cdd18ab3a1
Fix component name for stdouttrace ( #7195 )
...
The STDOUT exporter not a standardized type. Use the [semantic
convention recommendation of a "language-defined name of the
type"](https://github.com/open-telemetry/semantic-conventions/blob/main/docs/registry/attributes/otel.md#otel-component-type ).
2025-08-17 08:46:13 -07:00
Tyler Yahn
ee6d57b7cf
Flatten stdouttrace
Exporter.initSelfObservability
into Exporter.New
( #7197 )
...
- Do not use [side-effect
programming](https://en.wikipedia.org/wiki/Side_effect_(computer_science) )
to setup an exporter. Make the setup explicit, unique, and local.
- Report instrument creation errors back to the user instead of passing
them to `otel.Handle`.
2025-08-17 08:37:42 -07:00
Tyler Yahn
2ab7d4dc14
Use the context passed to ExportSpans
for measurements in stdouttrace
( #7198 )
...
Without this the measurements are receiving broken context.
2025-08-17 08:26:57 -07:00
renovate[bot]
03d0c5dc47
chore(deps): update otel/weaver docker tag to v0.17.1 ( #7207 )
...
This PR contains the following updates:
| Package | Type | Update | Change |
|---|---|---|---|
| [otel/weaver](https://redirect.github.com/open-telemetry/weaver ) |
stage | patch | `v0.17.0` -> `v0.17.1` |
---
> [!WARNING]
> Some dependencies could not be looked up. Check the Dependency
Dashboard for more information.
---
### Release Notes
<details>
<summary>open-telemetry/weaver (otel/weaver)</summary>
###
[`v0.17.1`](https://redirect.github.com/open-telemetry/weaver/releases/tag/v0.17.1 ):
0.17.1 - 2025-08-15
[Compare
Source](https://redirect.github.com/open-telemetry/weaver/compare/v0.17.0...v0.17.1 )
#### Release Notes
- Fix error messages to ignore new version variants
([#​880](https://redirect.github.com/open-telemetry/weaver/pull/880 )
by [@​jsuereth](https://redirect.github.com/jsuereth ))
#### Install weaver 0.17.1
##### Install prebuilt binaries via shell script
```sh
curl --proto '=https' --tlsv1.2 -LsSf https://github.com/open-telemetry/weaver/releases/download/v0.17.1/weaver-installer.sh | sh
```
##### Install prebuilt binaries via powershell script
```sh
powershell -c "irm https://github.com/open-telemetry/weaver/releases/download/v0.17.1/weaver-installer.ps1 | iex"
```
#### Download weaver 0.17.1
| File | Platform | Checksum |
|--------|----------|----------|
|
[weaver-aarch64-apple-darwin.tar.xz](https://redirect.github.com/open-telemetry/weaver/releases/download/v0.17.1/weaver-aarch64-apple-darwin.tar.xz )
| Apple Silicon macOS |
[checksum](https://redirect.github.com/open-telemetry/weaver/releases/download/v0.17.1/weaver-aarch64-apple-darwin.tar.xz.sha256 )
|
|
[weaver-x86\_64-apple-darwin.tar.xz](https://redirect.github.com/open-telemetry/weaver/releases/download/v0.17.1/weaver-x86_64-apple-darwin.tar.xz )
| Intel macOS |
[checksum](https://redirect.github.com/open-telemetry/weaver/releases/download/v0.17.1/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.17.1/weaver-x86_64-pc-windows-msvc.zip )
| x64 Windows |
[checksum](https://redirect.github.com/open-telemetry/weaver/releases/download/v0.17.1/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.17.1/weaver-x86_64-pc-windows-msvc.msi )
| x64 Windows |
[checksum](https://redirect.github.com/open-telemetry/weaver/releases/download/v0.17.1/weaver-x86_64-pc-windows-msvc.msi.sha256 )
|
|
[weaver-x86\_64-unknown-linux-gnu.tar.xz](https://redirect.github.com/open-telemetry/weaver/releases/download/v0.17.1/weaver-x86_64-unknown-linux-gnu.tar.xz )
| x64 Linux |
[checksum](https://redirect.github.com/open-telemetry/weaver/releases/download/v0.17.1/weaver-x86_64-unknown-linux-gnu.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**: 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:eyJjcmVhdGVkSW5WZXIiOiI0MS43MS4xIiwidXBkYXRlZEluVmVyIjoiNDEuNzEuMSIsInRhcmdldEJyYW5jaCI6Im1haW4iLCJsYWJlbHMiOlsiU2tpcCBDaGFuZ2Vsb2ciLCJkZXBlbmRlbmNpZXMiXX0=-->
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-08-15 12:22:46 -07:00
renovate[bot]
39df54c641
fix(deps): update build-tools to v0.26.2 ( #7192 )
...
This PR contains the following updates:
| Package | Change | Age | Confidence |
|---|---|---|---|
|
[go.opentelemetry.io/build-tools/crosslink](https://redirect.github.com/open-telemetry/opentelemetry-go-build-tools )
| `v0.26.1` -> `v0.26.2` |
[](https://docs.renovatebot.com/merge-confidence/ )
|
[](https://docs.renovatebot.com/merge-confidence/ )
|
|
[go.opentelemetry.io/build-tools/gotmpl](https://redirect.github.com/open-telemetry/opentelemetry-go-build-tools )
| `v0.26.1` -> `v0.26.2` |
[](https://docs.renovatebot.com/merge-confidence/ )
|
[](https://docs.renovatebot.com/merge-confidence/ )
|
|
[go.opentelemetry.io/build-tools/multimod](https://redirect.github.com/open-telemetry/opentelemetry-go-build-tools )
| `v0.26.1` -> `v0.26.2` |
[](https://docs.renovatebot.com/merge-confidence/ )
|
[](https://docs.renovatebot.com/merge-confidence/ )
|
---
> [!WARNING]
> Some dependencies could not be looked up. Check the Dependency
Dashboard for more information.
---
### Release Notes
<details>
<summary>open-telemetry/opentelemetry-go-build-tools
(go.opentelemetry.io/build-tools/crosslink)</summary>
###
[`v0.26.2`](https://redirect.github.com/open-telemetry/opentelemetry-go-build-tools/releases/tag/v0.26.2 )
[Compare
Source](https://redirect.github.com/open-telemetry/opentelemetry-go-build-tools/compare/v0.26.1...v0.26.2 )
#### 0.26.2
##### 🧰 Bug fixes 🧰
- `checkapi`: Support detecting usage of a Struct as part of config when
used as a generic type of a map key
([#​1116](https://redirect.github.com/open-telemetry/opentelemetry-go-build-tools/issues/1116 ))
</details>
---
### Configuration
📅 **Schedule**: Branch creation - At any time (no schedule defined),
Automerge - At any time (no schedule defined).
🚦 **Automerge**: Disabled by config. Please merge this manually once you
are satisfied.
♻ **Rebasing**: Whenever PR is behind base branch, or you tick the
rebase/retry checkbox.
🔕 **Ignore**: Close this PR and you won't be reminded about 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:eyJjcmVhdGVkSW5WZXIiOiI0MS43MS4xIiwidXBkYXRlZEluVmVyIjoiNDEuNzEuMSIsInRhcmdldEJyYW5jaCI6Im1haW4iLCJsYWJlbHMiOlsiU2tpcCBDaGFuZ2Vsb2ciLCJkZXBlbmRlbmNpZXMiXX0=-->
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-08-14 07:45:56 -07:00
renovate[bot]
c09be18929
chore(deps): update module go.opentelemetry.io/build-tools to v0.26.2 ( #7191 )
2025-08-14 12:54:56 +02:00
renovate[bot]
b8bac9681b
chore(deps): update module github.com/charmbracelet/colorprofile to v0.3.2 ( #7190 )
2025-08-14 11:42:35 +02:00
Tarun Duhan
22178ff2fc
ci(benchmarks): switch runner to Oracle bare metal ( #7183 )
...
## What
- Update `.github/workflows/benchmark.yml` to run on
`oracle-bare-metal-64cpu-512gb-x86-64` instead of the Equinix bare
metal/self-hosted pool.
- Fixes https://github.com/open-telemetry/opentelemetry-go/issues/7182
## Why
Equinix Metal is being sunset and the current Equinix bare metal runners
are unavailable, so we need to move benchmark execution to the Oracle
bare metal runner pool.
Context: open-telemetry/community#2801
Equinix announcement: https://docs.equinix.com/metal/
2025-08-14 10:24:50 +02:00
Tyler Yahn
1a7e45b52d
Support Go 1.25 ( #7187 )
...
Resolve #7184
2025-08-14 10:06:00 +02:00
renovate[bot]
eda888f0c7
chore(deps): update github/codeql-action action to v3.29.9 ( #7181 )
...
This PR contains the following updates:
| Package | Type | Update | Change |
|---|---|---|---|
|
[github/codeql-action](https://redirect.github.com/github/codeql-action )
| action | patch | `v3.29.8` -> `v3.29.9` |
---
> [!WARNING]
> Some dependencies could not be looked up. Check the Dependency
Dashboard for more information.
---
### Release Notes
<details>
<summary>github/codeql-action (github/codeql-action)</summary>
###
[`v3.29.9`](https://redirect.github.com/github/codeql-action/compare/v3.29.8...v3.29.9 )
[Compare
Source](https://redirect.github.com/github/codeql-action/compare/v3.29.8...v3.29.9 )
</details>
---
### Configuration
📅 **Schedule**: Branch creation - At any time (no schedule defined),
Automerge - At any time (no schedule defined).
🚦 **Automerge**: Disabled by config. Please merge this manually once you
are satisfied.
♻ **Rebasing**: Whenever PR is behind base branch, or you tick the
rebase/retry checkbox.
🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.
---
- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box
---
This PR was generated by [Mend Renovate](https://mend.io/renovate/ ).
View the [repository job
log](https://developer.mend.io/github/open-telemetry/opentelemetry-go ).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0MS42MC40IiwidXBkYXRlZEluVmVyIjoiNDEuNjAuNCIsInRhcmdldEJyYW5jaCI6Im1haW4iLCJsYWJlbHMiOlsiU2tpcCBDaGFuZ2Vsb2ciLCJkZXBlbmRlbmNpZXMiXX0=-->
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-08-12 08:14:26 -07:00
renovate[bot]
538992d19d
fix(deps): update googleapis to 5f3141c ( #7176 )
2025-08-12 10:46:41 +02:00
renovate[bot]
faa3fd168a
chore(deps): update module go-simpler.org/musttag to v0.14.0 ( #7178 )
2025-08-12 10:20:19 +02:00
renovate[bot]
325f786b3d
fix(deps): update module go.opentelemetry.io/collector/pdata to v1.38.0 ( #7177 )
2025-08-12 09:51:20 +02:00
Yevhenii Solomchenko
6d45339855
sdk/metric: package example includes Cardinality Limits ( #7165 )
...
Part of #6979
Towards #6887
## What
- Examples demonstrate how to configure and use the feature.
2025-08-12 09:38:55 +02:00
Yevhenii Solomchenko
5a046207d2
sdk/metric: Deprecate the sdk/metric/x
Feature Supporting Cardinality Limits ( #7166 )
...
Fixes #6980
Towards #6887
## What
- Any references to sdk/metric/x in documentation, tests, or examples
are updated to redirect users to use the cardinality limit feature in
the SDK.
---------
Co-authored-by: Robert Pająk <pellared@hotmail.com >
2025-08-12 09:29:54 +02:00
Yevhenii Solomchenko
97343af813
sdk/metric: Add Unit Tests for Cardinality Limits ( #7164 )
...
Fixes https://github.com/open-telemetry/opentelemetry-go/issues/6978
Towards https://github.com/open-telemetry/opentelemetry-go/issues/6887
## What
- Unit tests cover all scenarios for cardinality limits.
- Tests validate configuration, enforcement, and default behavior.
## Notes
I've added more user-oriented usage tests. The targeted unit tests
already exist in the
`sdk/metric/internal/aggregate/_test` files.
---------
Co-authored-by: Tyler Yahn <MrAlias@users.noreply.github.com >
Co-authored-by: Robert Pająk <pellared@hotmail.com >
2025-08-12 09:22:43 +02:00
Tyler Yahn
3cf53ccf5d
Upgrade semconv gen to weaver v0.17.0 ( #7172 )
...
- Remove temporary fix to filter out deprecated metrics (addressed in
https://github.com/open-telemetry/weaver/pull/870 )
- Handle empty briefs gracefully
- Handle empty attributes gracefully
- Regenerate v1.36.0 semconv to fix docs
[Weaver v0.17.0
release](https://github.com/open-telemetry/weaver/releases/tag/v0.17.0 )
Follow up to #7163
---------
Co-authored-by: Robert Pająk <pellared@hotmail.com >
2025-08-12 08:59:23 +02:00
renovate[bot]
b3cea33f30
fix(deps): update golang.org/x to 51f8813 ( #7173 )
...
This PR contains the following updates:
| Package | Type | Update | Change |
|---|---|---|---|
| golang.org/x/exp | require | digest | `a408d31` -> `51f8813` |
| golang.org/x/exp/typeparams | indirect | digest | `a408d31` ->
`51f8813` |
---
> [!WARNING]
> Some dependencies could not be looked up. Check the Dependency
Dashboard for more information.
---
### Configuration
📅 **Schedule**: Branch creation - At any time (no schedule defined),
Automerge - At any time (no schedule defined).
🚦 **Automerge**: Disabled by config. Please merge this manually once you
are satisfied.
♻ **Rebasing**: Whenever PR is behind base branch, or you tick the
rebase/retry checkbox.
🔕 **Ignore**: Close this PR and you won't be reminded about 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:eyJjcmVhdGVkSW5WZXIiOiI0MS42MC40IiwidXBkYXRlZEluVmVyIjoiNDEuNjAuNCIsInRhcmdldEJyYW5jaCI6Im1haW4iLCJsYWJlbHMiOlsiU2tpcCBDaGFuZ2Vsb2ciLCJkZXBlbmRlbmNpZXMiXX0=-->
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-08-11 14:26:10 -07:00
OpenTelemetry Bot
daab6e08ce
Add subscript to issue templates ( #7116 )
...
Adds a subscript to issue templates to provide guidance for end-users
and others to interact with issues in a measurable way. This follows
recommendations outlined in the [maintainer guide for managing popular
issues](https://github.com/open-telemetry/community/blob/main/guides/maintainer/popular-issues.md ).
cc @danielgblanco
Co-authored-by: otelbot <197425009+otelbot@users.noreply.github.com >
Co-authored-by: Tyler Yahn <MrAlias@users.noreply.github.com >
2025-08-11 14:09:16 -07:00
renovate[bot]
c391fa81fd
fix(deps): update build-tools to v0.26.1 ( #7171 )
...
This PR contains the following updates:
| Package | Change | Age | Confidence |
|---|---|---|---|
|
[go.opentelemetry.io/build-tools/crosslink](https://redirect.github.com/open-telemetry/opentelemetry-go-build-tools )
| `v0.26.0` -> `v0.26.1` |
[](https://docs.renovatebot.com/merge-confidence/ )
|
[](https://docs.renovatebot.com/merge-confidence/ )
|
|
[go.opentelemetry.io/build-tools/gotmpl](https://redirect.github.com/open-telemetry/opentelemetry-go-build-tools )
| `v0.26.0` -> `v0.26.1` |
[](https://docs.renovatebot.com/merge-confidence/ )
|
[](https://docs.renovatebot.com/merge-confidence/ )
|
|
[go.opentelemetry.io/build-tools/multimod](https://redirect.github.com/open-telemetry/opentelemetry-go-build-tools )
| `v0.26.0` -> `v0.26.1` |
[](https://docs.renovatebot.com/merge-confidence/ )
|
[](https://docs.renovatebot.com/merge-confidence/ )
|
---
> [!WARNING]
> Some dependencies could not be looked up. Check the Dependency
Dashboard for more information.
---
### Release Notes
<details>
<summary>open-telemetry/opentelemetry-go-build-tools
(go.opentelemetry.io/build-tools/crosslink)</summary>
###
[`v0.26.1`](https://redirect.github.com/open-telemetry/opentelemetry-go-build-tools/releases/tag/v0.26.1 )
[Compare
Source](https://redirect.github.com/open-telemetry/opentelemetry-go-build-tools/compare/v0.26.0...v0.26.1 )
#### 0.26.1
##### 🧰 Bug fixes 🧰
- `checkapi`: Do not crash when the `createDefaultConfig` function calls
out to another function
([#​1029](https://redirect.github.com/open-telemetry/opentelemetry-go-build-tools/issues/1029 ))
</details>
---
### Configuration
📅 **Schedule**: Branch creation - At any time (no schedule defined),
Automerge - At any time (no schedule defined).
🚦 **Automerge**: Disabled by config. Please merge this manually once you
are satisfied.
♻ **Rebasing**: Whenever PR is behind base branch, or you tick the
rebase/retry checkbox.
🔕 **Ignore**: Close this PR and you won't be reminded about 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:eyJjcmVhdGVkSW5WZXIiOiI0MS42MC40IiwidXBkYXRlZEluVmVyIjoiNDEuNjAuNCIsInRhcmdldEJyYW5jaCI6Im1haW4iLCJsYWJlbHMiOlsiU2tpcCBDaGFuZ2Vsb2ciLCJkZXBlbmRlbmNpZXMiXX0=-->
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-08-11 13:25:32 -07:00
David Ashpole
fcc3417677
sdk/trace: self-observability: batch span processor metrics ( #6393 )
...
Fixes https://github.com/open-telemetry/opentelemetry-go/issues/7005
Adds `otel.sdk.processor.span.queue.size`,
`otel.sdk.processor.span.queue.capacity`, and
`otel.sdk.processor.span.processed.count` metrics to the trace batch
span processor.
These are defined in
cb11bb9bac/docs/otel/sdk-metrics.md
,
and are experimental. Because of this, metrics are behind the
OTEL_GO_X_SELF_OBSERVABILITY feature gate.
Given the feature is experimental, it always uses the global
meterprovider when enabled.
---------
Co-authored-by: Robert Pająk <pellared@hotmail.com >
2025-08-11 16:15:00 -04:00