Commit Graph

7108 Commits

Author SHA1 Message Date
renovate[bot] 801ebcc7d9
Update module gotest.tools/gotestsum to v1.12.2 (#12969)
This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
|
[gotest.tools/gotestsum](https://redirect.github.com/gotestyourself/gotestsum)
| `v1.12.1` -> `v1.12.2` |
[![age](https://developer.mend.io/api/mc/badges/age/go/gotest.tools%2fgotestsum/v1.12.2?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/go/gotest.tools%2fgotestsum/v1.12.2?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/go/gotest.tools%2fgotestsum/v1.12.1/v1.12.2?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/go/gotest.tools%2fgotestsum/v1.12.1/v1.12.2?slim=true)](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>gotestyourself/gotestsum (gotest.tools/gotestsum)</summary>

###
[`v1.12.2`](https://redirect.github.com/gotestyourself/gotestsum/releases/tag/v1.12.2)

[Compare
Source](https://redirect.github.com/gotestyourself/gotestsum/compare/v1.12.1...v1.12.2)

#### What's Changed

- Bump gotest.tools/v3 from 3.5.1 to 3.5.2 by
[@&#8203;dependabot](https://redirect.github.com/dependabot) in
[https://github.com/gotestyourself/gotestsum/pull/463](https://redirect.github.com/gotestyourself/gotestsum/pull/463)
- Bump github.com/google/go-cmp from 0.6.0 to 0.7.0 by
[@&#8203;dependabot](https://redirect.github.com/dependabot) in
[https://github.com/gotestyourself/gotestsum/pull/468](https://redirect.github.com/gotestyourself/gotestsum/pull/468)
- Bump github.com/fatih/color from 1.17.0 to 1.18.0 by
[@&#8203;dependabot](https://redirect.github.com/dependabot) in
[https://github.com/gotestyourself/gotestsum/pull/446](https://redirect.github.com/gotestyourself/gotestsum/pull/446)
- Use event times for elapsed by
[@&#8203;dnephin](https://redirect.github.com/dnephin) in
[https://github.com/gotestyourself/gotestsum/pull/482](https://redirect.github.com/gotestyourself/gotestsum/pull/482)
- feat: support for hidding skipped tests in the junit report by
[@&#8203;v1v](https://redirect.github.com/v1v) in
[https://github.com/gotestyourself/gotestsum/pull/478](https://redirect.github.com/gotestyourself/gotestsum/pull/478)

#### New Contributors

- [@&#8203;v1v](https://redirect.github.com/v1v) made their first
contribution in
[https://github.com/gotestyourself/gotestsum/pull/478](https://redirect.github.com/gotestyourself/gotestsum/pull/478)

**Full Changelog**:
https://github.com/gotestyourself/gotestsum/compare/v1.12.1...v1.12.2

</details>

---

### Configuration

📅 **Schedule**: Branch creation - "on tuesday" (UTC), 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-collector).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzOS4yNjQuMCIsInVwZGF0ZWRJblZlciI6IjM5LjI2NC4wIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6WyJkZXBlbmRlbmNpZXMiLCJyZW5vdmF0ZWJvdCJdfQ==-->

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: opentelemetrybot <107717825+opentelemetrybot@users.noreply.github.com>
Co-authored-by: Alex Boten <223565+codeboten@users.noreply.github.com>
2025-05-06 15:29:44 +00:00
renovate[bot] 904f9abebd
Update All go.opentelemetry.io/build-tools packages to v0.23.1 (#12965)
This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
|
[go.opentelemetry.io/build-tools/checkapi](https://redirect.github.com/open-telemetry/opentelemetry-go-build-tools)
| `v0.23.0` -> `v0.23.1` |
[![age](https://developer.mend.io/api/mc/badges/age/go/go.opentelemetry.io%2fbuild-tools%2fcheckapi/v0.23.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/go/go.opentelemetry.io%2fbuild-tools%2fcheckapi/v0.23.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/go/go.opentelemetry.io%2fbuild-tools%2fcheckapi/v0.23.0/v0.23.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/go/go.opentelemetry.io%2fbuild-tools%2fcheckapi/v0.23.0/v0.23.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
|
[go.opentelemetry.io/build-tools/checkfile](https://redirect.github.com/open-telemetry/opentelemetry-go-build-tools)
| `v0.23.0` -> `v0.23.1` |
[![age](https://developer.mend.io/api/mc/badges/age/go/go.opentelemetry.io%2fbuild-tools%2fcheckfile/v0.23.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/go/go.opentelemetry.io%2fbuild-tools%2fcheckfile/v0.23.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/go/go.opentelemetry.io%2fbuild-tools%2fcheckfile/v0.23.0/v0.23.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/go/go.opentelemetry.io%2fbuild-tools%2fcheckfile/v0.23.0/v0.23.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
|
[go.opentelemetry.io/build-tools/chloggen](https://redirect.github.com/open-telemetry/opentelemetry-go-build-tools)
| `v0.23.0` -> `v0.23.1` |
[![age](https://developer.mend.io/api/mc/badges/age/go/go.opentelemetry.io%2fbuild-tools%2fchloggen/v0.23.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/go/go.opentelemetry.io%2fbuild-tools%2fchloggen/v0.23.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/go/go.opentelemetry.io%2fbuild-tools%2fchloggen/v0.23.0/v0.23.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/go/go.opentelemetry.io%2fbuild-tools%2fchloggen/v0.23.0/v0.23.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
|
[go.opentelemetry.io/build-tools/crosslink](https://redirect.github.com/open-telemetry/opentelemetry-go-build-tools)
| `v0.23.0` -> `v0.23.1` |
[![age](https://developer.mend.io/api/mc/badges/age/go/go.opentelemetry.io%2fbuild-tools%2fcrosslink/v0.23.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/go/go.opentelemetry.io%2fbuild-tools%2fcrosslink/v0.23.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/go/go.opentelemetry.io%2fbuild-tools%2fcrosslink/v0.23.0/v0.23.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/go/go.opentelemetry.io%2fbuild-tools%2fcrosslink/v0.23.0/v0.23.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
|
[go.opentelemetry.io/build-tools/githubgen](https://redirect.github.com/open-telemetry/opentelemetry-go-build-tools)
| `v0.23.0` -> `v0.23.1` |
[![age](https://developer.mend.io/api/mc/badges/age/go/go.opentelemetry.io%2fbuild-tools%2fgithubgen/v0.23.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/go/go.opentelemetry.io%2fbuild-tools%2fgithubgen/v0.23.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/go/go.opentelemetry.io%2fbuild-tools%2fgithubgen/v0.23.0/v0.23.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/go/go.opentelemetry.io%2fbuild-tools%2fgithubgen/v0.23.0/v0.23.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
|
[go.opentelemetry.io/build-tools/multimod](https://redirect.github.com/open-telemetry/opentelemetry-go-build-tools)
| `v0.23.0` -> `v0.23.1` |
[![age](https://developer.mend.io/api/mc/badges/age/go/go.opentelemetry.io%2fbuild-tools%2fmultimod/v0.23.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/go/go.opentelemetry.io%2fbuild-tools%2fmultimod/v0.23.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/go/go.opentelemetry.io%2fbuild-tools%2fmultimod/v0.23.0/v0.23.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/go/go.opentelemetry.io%2fbuild-tools%2fmultimod/v0.23.0/v0.23.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
|
[go.opentelemetry.io/build-tools/semconvgen](https://redirect.github.com/open-telemetry/opentelemetry-go-build-tools)
| `v0.23.0` -> `v0.23.1` |
[![age](https://developer.mend.io/api/mc/badges/age/go/go.opentelemetry.io%2fbuild-tools%2fsemconvgen/v0.23.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/go/go.opentelemetry.io%2fbuild-tools%2fsemconvgen/v0.23.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/go/go.opentelemetry.io%2fbuild-tools%2fsemconvgen/v0.23.0/v0.23.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/go/go.opentelemetry.io%2fbuild-tools%2fsemconvgen/v0.23.0/v0.23.1?slim=true)](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/checkapi)</summary>

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

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

##### 🧰 Bug fixes 🧰

- `issuegenerator`: Trim repository prefix from new issue titles
([#&#8203;864](https://redirect.github.com/open-telemetry/opentelemetry-go-build-tools/issues/864))

</details>

---

### Configuration

📅 **Schedule**: Branch creation - "on tuesday" (UTC), 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-collector).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzOS4yNjQuMCIsInVwZGF0ZWRJblZlciI6IjM5LjI2NC4wIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6WyJkZXBlbmRlbmNpZXMiLCJyZW5vdmF0ZWJvdCJdfQ==-->

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: opentelemetrybot <107717825+opentelemetrybot@users.noreply.github.com>
Co-authored-by: Alex Boten <223565+codeboten@users.noreply.github.com>
2025-05-06 15:29:43 +00:00
Pavol Loffay 6d95220cde
Do not run TPM test macos/darwin (#12972)
<!--Ex. Fixing a bug - Describe the bug and how this fixes the issue.
Ex. Adding a feature - Explain what this achieves.-->
#### Description

<!-- Issue number if applicable -->
#### Link to tracking issue
Fixes #12964

<!--Describe what testing was performed and which tests were added.-->
#### Testing

<!--Describe the documentation added.-->
#### Documentation

<!--Please delete paragraphs that you did not use before submitting.-->

---------

Signed-off-by: Pavol Loffay <p.loffay@gmail.com>
2025-05-06 15:28:57 +00:00
Israel Blancas 5ee4816a4b
Propagate telemetry.resource to the internal logs (#12583)
#### Description
Propagate `telemetry.resource` to the internal logs.

#### Link to tracking issue
Fixes #12582

Signed-off-by: Israel Blancas <iblancasa@gmail.com>
2025-05-06 11:17:07 +00:00
Arthur Silva Sens c85ebbec77
Fix snappy/framed-snappy encoding/decoding (#12911)
#### Description
This is an alternative PR to #12825.

I'm taking all the commits from that PR and adding the feature gate on
the client side, as requested by reviews. The server behavior of peeking
into the initial bytes to identify the encoding is kept :)

If you've reviewed the previous PR, you can just review the latest
commit!

<!-- Issue number if applicable -->
#### Link to tracking issue
Fixes #10584

---------

Signed-off-by: Arthur Silva Sens <arthursens2005@gmail.com>
Co-authored-by: Michael Graff <mgraff@cardinalhq.io>
Co-authored-by: Alex Boten <223565+codeboten@users.noreply.github.com>
Co-authored-by: Pablo Baeyens <pbaeyens31+github@gmail.com>
Co-authored-by: Jonathan <perebaj@gmail.com>
2025-05-05 16:18:42 +00:00
Antoine Toulme 829157cef7
[chore] add checkapi to tools (#12954)
Adds checkapi to the tools and a make target to run it.

Fixes #12360

---------

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: Evan Bradley <11745660+evan-bradley@users.noreply.github.com>
Co-authored-by: Alex Boten <223565+codeboten@users.noreply.github.com>
2025-05-05 15:52:16 +00:00
Daniel Jaglowski 56c7da2107
[chore] Update obsconsumer to use new attribute name (#12959)
Implements new name for attribute as documented in #12951.

Note: The obsconsumer package is unused until #12812 is merged so this
is not a breaking change.
2025-05-05 15:27:26 +00:00
Pablo Baeyens 29aaad3dfe
[chore] Generate codecov badge for all READMEs (#12962)
<!--Ex. Fixing a bug - Describe the bug and how this fixes the issue.
Ex. Adding a feature - Explain what this achieves.-->
#### Description

<!-- Issue number if applicable -->

Adds a CodeCov status badge unless explicitly disabled.

I have disabled this in core until we roll this out in contrib to show
the Go SIG and move codecovgen to build tools

#### Link to tracking issue

Updates open-telemetry/opentelemetry-collector-contrib/issues/39583
2025-05-05 15:26:50 +00:00
Vihas Makwana 84888adb37
[confmap] - add a more targeted version of append-merging strategy (#12926)
Follow-up of
https://github.com/open-telemetry/opentelemetry-collector/pull/12097/

<!--Ex. Fixing a bug - Describe the bug and how this fixes the issue.
Ex. Adding a feature - Explain what this achieves.-->
### Description

Ideally, users want to merge lists in pipelines only. In this PR, I'm
adding support for merging following components:
1. extensions
2. receivers
3. exporters

We make use of glob-like pattern to match the path because there can be
multiple pipelines configured. Inspired by @evan-bradley's
[idea](https://github.com/open-telemetry/opentelemetry-collector/pull/12097/#discussion_r1918620008).

I'm leaving `processors` out of this list because we make an ordering
guarantee.

#### _**Future plan:**_ 
Once this PR gets merged, it would make it easier for us to decide upon
the command line flags to make this option configurable over the RFC.
Right now, `patterns` is hardcoded to include above mentioned
components, but we can easily make it configurable after making some
tweaks.

<!-- Issue number if applicable -->
### Link to tracking issue
Relates
https://github.com/open-telemetry/opentelemetry-collector/issues/8754

<!--Describe what testing was performed and which tests were added.-->
### Testing

Expanded the existing test cases

<!--Describe the documentation added.-->
#### Documentation
2025-05-05 09:34:53 +00:00
SACHIN KUMAR 73e7c974d2
Implement a merge freeze when an "[chore] Update core dependencies" PR on opentelemetry-collector-contrib is present (#12837)
#### Description
Extend the merge freeze logic in
`.github/workflows/scripts/check-merge-freeze.sh` to include open PRs
titled "[chore] Update core dependencies" in the
`opentelemetry-collector-contrib](https://github.com/open-telemetry/opentelemetry-collector-contrib`
repository, in addition to the existing check for "[chore] Prepare
release" PRs in the core repo.

This ensures that no PRs can be merged into `main` while a core update
PR is pending in contrib, helping us avoid version drift and keep
dependencies aligned between core and contrib.

<!-- Issue number if applicable -->
#### Link to tracking issue
Fixes
https://github.com/open-telemetry/opentelemetry-collector/issues/12830

<!--Describe what testing was performed and which tests were added.-->
#### Testing
Tested locally by:

- Opening a dummy "[chore] Update core dependencies" PR on
`opentelemetry-collector-contrib`
- Running the updated `check-merge-freeze.sh` script to confirm it
correctly blocks merges
- Verified output message includes the contrib PR URL when such a PR is
open
<!--Describe the documentation added.-->
#### Documentation
No user-facing documentation changes needed. This change only affects
internal CI logic.
<!--Please delete paragraphs that you did not use before submitting.-->

Signed-off-by: sAchin-680 <mrmister680@gmail.com>
2025-05-05 08:17:59 +00:00
Vihas Makwana 727ae96d62
[confmap] use DeepEqual when using confmap.enableMergeAppendOption (#12952)
<!--Ex. Fixing a bug - Describe the bug and how this fixes the issue.
Ex. Adding a feature - Explain what this achieves.-->
#### Description

`Equal(..)` panics when we're comparing maps. Use `reflect.DeepEqual`
instead. It behaves same way as `Equal` for types such as `int`,
`string`, `float` etc, but compares individual elements for maps as
well.

<!-- Issue number if applicable -->
#### Link to tracking issue
Fixes
https://github.com/open-telemetry/opentelemetry-collector/issues/12932

<!--Describe what testing was performed and which tests were added.-->
#### Testing

Added a scenario

<!--Describe the documentation added.-->
#### Documentation

<!--Please delete paragraphs that you did not use before submitting.-->
2025-05-01 19:41:16 +00:00
Daniel Jaglowski ca612c0b64
[chore] Update attribute name in rfc (#12951)
Resolves
https://github.com/open-telemetry/opentelemetry-collector/issues/12916
2025-05-01 18:30:57 +00:00
Israel Blancas 451d1d2fa2
Add validation error when queue_size smaller than batch.min_size (#12949)
<!-- Issue number if applicable -->
#### Link to tracking issue
Fixes #12948

Signed-off-by: Israel Blancas <iblancasa@gmail.com>
2025-05-01 18:21:08 +00:00
dependabot[bot] c4b64234b4
Bump golang.org/x/crypto from 0.19.0 to 0.35.0 in /config/configtls (#12946)
Bumps [golang.org/x/crypto](https://github.com/golang/crypto) from
0.19.0 to 0.35.0.
<details>
<summary>Commits</summary>
<ul>
<li><a
href="7292932d45"><code>7292932</code></a>
ssh: limit the size of the internal packet queue while waiting for
KEX</li>
<li><a
href="f66f74b0a4"><code>f66f74b</code></a>
acme/autocert: check host policy before probing the cache</li>
<li><a
href="b0784b7bfb"><code>b0784b7</code></a>
x509roots/fallback: drop obsolete build constraint</li>
<li><a
href="911360c8a4"><code>911360c</code></a>
all: bump golang.org/x/crypto dependencies of asm generators</li>
<li><a
href="89ff08d67c"><code>89ff08d</code></a>
all: upgrade go directive to at least 1.23.0 [generated]</li>
<li><a
href="e47973b1c1"><code>e47973b</code></a>
all: update certs for go1.24</li>
<li><a
href="9290511cd2"><code>9290511</code></a>
go.mod: update golang.org/x dependencies</li>
<li><a
href="fa5273e461"><code>fa5273e</code></a>
x509roots/fallback: update bundle</li>
<li><a
href="a8ea4be81f"><code>a8ea4be</code></a>
ssh: add ServerConfig.PreAuthConnCallback, ServerPreAuthConn (banner)
interface</li>
<li><a
href="71d3a4cfdb"><code>71d3a4c</code></a>
acme: support challenges that require the ACME client to send a
non-empty JSO...</li>
<li>Additional commits viewable in <a
href="https://github.com/golang/crypto/compare/v0.19.0...v0.35.0">compare
view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=golang.org/x/crypto&package-manager=go_modules&previous-version=0.19.0&new-version=0.35.0)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)

Dependabot will resolve any conflicts with this PR as long as you don't
alter it yourself. You can also trigger a rebase manually by commenting
`@dependabot rebase`.

[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)

---

<details>
<summary>Dependabot commands and options</summary>
<br />

You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits
that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after
your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge
and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating
it. You can achieve the same result by closing it manually
- `@dependabot show <dependency name> ignore conditions` will show all
of the ignore conditions of the specified dependency
- `@dependabot ignore this major version` will close this PR and stop
Dependabot creating any more for this major version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop
Dependabot creating any more for this minor version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop
Dependabot creating any more for this dependency (unless you reopen the
PR or upgrade to it yourself)
You can disable automated security fix PRs for this repo from the
[Security Alerts
page](https://github.com/open-telemetry/opentelemetry-collector/network/alerts).

</details>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-05-01 15:03:50 +00:00
Dmitry Anoshin e4f8b0119a
[chore] Update release doc (#12950)
after re-enabling pushing images to dockerhub
2025-04-30 20:26:53 +00:00
Pavol Loffay 045488fdde
Add trusted platform module (TPM) support to TLS package (#12801)
<!--Ex. Fixing a bug - Describe the bug and how this fixes the issue.
Ex. Adding a feature - Explain what this achieves.-->
#### Description

Add trusted platform module (TPM) support to TLS package.

<!-- Issue number if applicable -->
#### Link to tracking issue
Resolves
https://github.com/open-telemetry/opentelemetry-collector-contrib/issues/38682
Replaces
https://github.com/open-telemetry/opentelemetry-collector-contrib/pull/39059

TPM cannot be implemented as extension
https://github.com/open-telemetry/opentelemetry-collector-contrib/issues/38682
because it overrides the entire `http.transport` and therefore
invalidates other extensions/authenticators.

<!--Describe what testing was performed and which tests were added.-->
#### Testing

```yaml
# make otelcorecol 
# sudo ./bin/otelcorecol_linux_amd64 --config ./examples/local/tpm.yaml
#
# CA
#  openssl genrsa -des3 -out ca.key 2048
# openssl req -new -x509 -days 1826 -key ca.key -out ca.crt -subj "/C=US/ST=CA/L=Santa Clara/O=Edge/OU=Edge/CN=localhost" -addext "subjectAltName=DNS:localhost,IP:127.0.0.1"
#
# client
# sudo tpm2tss-genkey -a rsa -s 2048 edge-cert.key
# sudo openssl req -new -provider tpm2  -key edge-cert.key -out edge-cert.csr -subj "/C=US/ST=CA/L=Santa Clara/O=Edge/OU=Edge/CN=localhost" -addext "subjectAltName=DNS:localhost,IP:127.0.0.1"
# openssl x509 -req -in edge-cert.csr -CA ca.crt -CAkey ca.key -CAcreateserial -out edge-cert.crt -days 1826 -copy_extensions copyall
#
# server
# openssl genrsa -out server.key 2048
# openssl req -new -key server.key -out server.csr  -subj "/C=US/ST=CA/L=Santa Clara/O=Edge/OU=Edge/CN=localhost" -addext "subjectAltName=DNS:localhost,IP:127.0.0.1"
# openssl x509 -req -in server.csr -CA ca.crt -CAkey ca.key -CAcreateserial -out server.crt -days 360 -copy_extensions copyall
receivers:
  otlp:
    protocols:
      grpc:
        endpoint: localhost:4317
      http:
        endpoint: localhost:4318
  otlp/server:
    protocols:
      grpc:
        endpoint: localhost:4319
        tls:
          client_ca_file: ca.crt
          cert_file: server.crt
          key_file: server.key
exporters:
  otlp:
    endpoint: https://localhost:4319
    tls:
      key_file: edge-cert.key
      cert_file: edge-cert.crt
      ca_file: ca.crt
      tpm:
        enabled: true
        path: /dev/tpmrm0
  debug:
    verbosity: normal
service:
  telemetry:
    metrics:
      address: localhost:8889
  pipelines:
    metrics/client:
      receivers: [otlp]
      exporters: [otlp]
    metrics/server:
      receivers: [otlp/server]
      exporters: [debug]
```

<!--Describe the documentation added.-->
#### Documentation



<!--Please delete paragraphs that you did not use before submitting.-->

Signed-off-by: Pavol Loffay <p.loffay@gmail.com>
2025-04-30 14:39:27 +00:00
Heitor Ganzeli 2ecd0b7f95
Add documentation example for receiver package (#5675) (#12922)
#### Description

This PR introduces a testable example to the package
[receiver](/receiver). it's a similar example to the documentation one
on
https://opentelemetry.io/docs/collector/building/receiver/#designing-and-validating-receiver-settings

#### Issue:
https://github.com/open-telemetry/opentelemetry-collector/issues/5675#issuecomment-2796741807

#### Testing

the testable example was executed successfully


![image](https://github.com/user-attachments/assets/47454f60-25d8-411b-a78f-c3e855dfd04f)


#### Documentation

this testable example follows
https://go.dev/blog/examples#larger-examples format and should be
automatically added to `receiver` package documentation

---------

Co-authored-by: Pablo Baeyens <pbaeyens31+github@gmail.com>
2025-04-30 10:17:35 +00:00
Pablo Baeyens ff60f5b852
[configauth] Deprecate Authentication in favor of authentication.Config (#12904)
<!--Ex. Fixing a bug - Describe the bug and how this fixes the issue.
Ex. Adding a feature - Explain what this achieves.-->
#### Description

Deprecates `configauth.Authentication` in favor of
`configauth.AuthenticationConfig`.

<!-- Issue number if applicable -->
#### Link to tracking issue
Fixes #12875
2025-04-30 10:00:22 +00:00
Heitor Ganzeli dd484104f9
Add documentation example for xconfmap (#5675) (#12832)
#### Description

This PR introduces a simple testable examples to the package
[confmap](/confmap/xconfmap). it's basically a copy of the documentation
example on
https://opentelemetry.io/docs/collector/building/receiver/#designing-and-validating-receiver-settings

#### Issue:
https://github.com/open-telemetry/opentelemetry-collector/issues/5675#issuecomment-2796741807

#### Testing

the testable example was executed successfully


![image](https://github.com/user-attachments/assets/1b992f1a-fd69-452d-be46-288672710334)


#### Documentation

this testable example follows
https://go.dev/blog/examples#larger-examples format and should be
automatically added to `xconfmap` package documentation

Co-authored-by: Pablo Baeyens <pbaeyens31+github@gmail.com>
Co-authored-by: Pablo Baeyens <pablo.baeyens@datadoghq.com>
2025-04-30 09:22:51 +00:00
Chao Weng 9dc5682e7b
[mdatagen] Add event type definition (#12822)
<!--Ex. Fixing a bug - Describe the bug and how this fixes the issue.
Ex. Adding a feature - Explain what this achieves.-->
#### Description
This PR added type definition needed for supporting structured events in
mdatagen.

Note: the NewLogsBuilder function signature is generated dynamically
according to logs config:
```
func NewLogsBuilder({{ if .Events }}lbc LogsBuilderConfig, {{ end }}settings {{ .Status.Class }}.Settings) *LogsBuilder {}
```
<!-- Issue number if applicable -->
#### Link to tracking issue
Part of #12571 

<!--Describe what testing was performed and which tests were added.-->
#### Testing
Added

<!--Describe the documentation added.-->
#### Documentation
Added

<!--Please delete paragraphs that you did not use before submitting.-->
2025-04-30 05:15:53 +00:00
Matthieu MOREL e94ced859c
[chore]: remove testifylint-fix target (#12828)
#### Description

golangci-lint is now able to apply suggested fixes from testifylint with
golangci-lint --fix .
This PR removes testifylint-fix target from Makefile.

Signed-off-by: Matthieu MOREL <matthieu.morel35@gmail.com>
2025-04-29 20:13:30 +00:00
renovate[bot] 8f5106942b
Update All go.opentelemetry.io/build-tools packages to v0.23.0 (#12943)
This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
|
[go.opentelemetry.io/build-tools/checkfile](https://redirect.github.com/open-telemetry/opentelemetry-go-build-tools)
| `v0.22.0` -> `v0.23.0` |
[![age](https://developer.mend.io/api/mc/badges/age/go/go.opentelemetry.io%2fbuild-tools%2fcheckfile/v0.23.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/go/go.opentelemetry.io%2fbuild-tools%2fcheckfile/v0.23.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/go/go.opentelemetry.io%2fbuild-tools%2fcheckfile/v0.22.0/v0.23.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/go/go.opentelemetry.io%2fbuild-tools%2fcheckfile/v0.22.0/v0.23.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
|
[go.opentelemetry.io/build-tools/chloggen](https://redirect.github.com/open-telemetry/opentelemetry-go-build-tools)
| `v0.22.0` -> `v0.23.0` |
[![age](https://developer.mend.io/api/mc/badges/age/go/go.opentelemetry.io%2fbuild-tools%2fchloggen/v0.23.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/go/go.opentelemetry.io%2fbuild-tools%2fchloggen/v0.23.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/go/go.opentelemetry.io%2fbuild-tools%2fchloggen/v0.22.0/v0.23.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/go/go.opentelemetry.io%2fbuild-tools%2fchloggen/v0.22.0/v0.23.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
|
[go.opentelemetry.io/build-tools/crosslink](https://redirect.github.com/open-telemetry/opentelemetry-go-build-tools)
| `v0.22.0` -> `v0.23.0` |
[![age](https://developer.mend.io/api/mc/badges/age/go/go.opentelemetry.io%2fbuild-tools%2fcrosslink/v0.23.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/go/go.opentelemetry.io%2fbuild-tools%2fcrosslink/v0.23.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/go/go.opentelemetry.io%2fbuild-tools%2fcrosslink/v0.22.0/v0.23.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/go/go.opentelemetry.io%2fbuild-tools%2fcrosslink/v0.22.0/v0.23.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
|
[go.opentelemetry.io/build-tools/githubgen](https://redirect.github.com/open-telemetry/opentelemetry-go-build-tools)
| `v0.22.0` -> `v0.23.0` |
[![age](https://developer.mend.io/api/mc/badges/age/go/go.opentelemetry.io%2fbuild-tools%2fgithubgen/v0.23.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/go/go.opentelemetry.io%2fbuild-tools%2fgithubgen/v0.23.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/go/go.opentelemetry.io%2fbuild-tools%2fgithubgen/v0.22.0/v0.23.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/go/go.opentelemetry.io%2fbuild-tools%2fgithubgen/v0.22.0/v0.23.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
|
[go.opentelemetry.io/build-tools/multimod](https://redirect.github.com/open-telemetry/opentelemetry-go-build-tools)
| `v0.22.0` -> `v0.23.0` |
[![age](https://developer.mend.io/api/mc/badges/age/go/go.opentelemetry.io%2fbuild-tools%2fmultimod/v0.23.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/go/go.opentelemetry.io%2fbuild-tools%2fmultimod/v0.23.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/go/go.opentelemetry.io%2fbuild-tools%2fmultimod/v0.22.0/v0.23.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/go/go.opentelemetry.io%2fbuild-tools%2fmultimod/v0.22.0/v0.23.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
|
[go.opentelemetry.io/build-tools/semconvgen](https://redirect.github.com/open-telemetry/opentelemetry-go-build-tools)
| `v0.22.0` -> `v0.23.0` |
[![age](https://developer.mend.io/api/mc/badges/age/go/go.opentelemetry.io%2fbuild-tools%2fsemconvgen/v0.23.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/go/go.opentelemetry.io%2fbuild-tools%2fsemconvgen/v0.23.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/go/go.opentelemetry.io%2fbuild-tools%2fsemconvgen/v0.22.0/v0.23.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/go/go.opentelemetry.io%2fbuild-tools%2fsemconvgen/v0.22.0/v0.23.0?slim=true)](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/checkfile)</summary>

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

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

##### 🧰 Bug fixes 🧰

- `issuegenerator`: Print correct workflow link in the issue body.
([#&#8203;840](https://redirect.github.com/open-telemetry/opentelemetry-go-build-tools/issues/840))
- `issuegenerator`: Trim repository name from the module name in the
issue title.
([#&#8203;841](https://redirect.github.com/open-telemetry/opentelemetry-go-build-tools/issues/841))

</details>

---

### Configuration

📅 **Schedule**: Branch creation - "on tuesday" (UTC), 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-collector).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzOS4yNTcuMyIsInVwZGF0ZWRJblZlciI6IjM5LjI1Ny4zIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6WyJkZXBlbmRlbmNpZXMiLCJyZW5vdmF0ZWJvdCJdfQ==-->

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: opentelemetrybot <107717825+opentelemetrybot@users.noreply.github.com>
2025-04-29 19:37:52 +00:00
Yang Song e3553fa85f
[chore] update release.md (#12942)
#### Description
Update release schedule & mention missing images in Dockerhub
2025-04-29 19:09:38 +00:00
Alex Boten 8c5e7ff85e
[chore] update checkout action to sha (#12941)
Signed-off-by: Alex Boten <223565+codeboten@users.noreply.github.com>
2025-04-29 19:07:14 +00:00
Alex Boten 593a4632b9
[chore] remove bin file that was checked in by mistake (#12940)
Signed-off-by: Alex Boten <223565+codeboten@users.noreply.github.com>
2025-04-29 15:41:56 +00:00
OpenTelemetry Bot 42a3ae04a7
[chore] Prepare release v1.31.0/v0.125.0 (#12936)
The following commands were run to prepare this release:
- make chlog-update VERSION=v1.31.0/v0.125.0
- make prepare-release PREVIOUS_VERSION=1[.]30[.]0
RELEASE_CANDIDATE=1.31.0 MODSET=stable
- make prepare-release PREVIOUS_VERSION=0[.]124[.]0
RELEASE_CANDIDATE=0.125.0 MODSET=beta
2025-04-28 19:04:17 +00:00
Matthew Sainsbury 4ed72bda40
add storage full error to xextension/storage (#12925)
#### Description
This adds an error for when the storage extension runs out of space.
Extensions can return this error when it's not possible to store data
because the maximum allowable/possible space has been reached.

#### Link to tracking issue
Fixes #12634

#### Testing
I have been working on the filestorage extension and have a draft PR
that uses this error:
https://github.com/open-telemetry/opentelemetry-collector-contrib/pull/39667
2025-04-28 16:58:58 +00:00
Jade Guiton 8862cb18f3
Put component-identifying scope attributes for internal metrics back behind feature gate (#12933)
#### Context

PR #12617 introduced logic to inject new instrumentation scope
attributes in all internal telemetry to identify which Collector
component it came from. These attributes had already been added to
internal logs as regular log attributes, and this PR switched them to
scope attributes for consistency. The new logic was placed behind an
Alpha stage feature gate, `telemetry.newPipelineTelemetry`.

Unfortunately, the default "off" state of the feature gate disabled the
injection of component-identifying attributes entirely, which was a
regression since they had been present in internal logs in previous
releases. See issue #12870 for an in-depth discussion of this issue.

To correct this, PR #12856 was filed, which stabilized the feature gate,
making it on by default, with no way to disable it, and removed the
logic that the feature gate used to toggle. This was thought to be the
simplest way to mitigate the regression in the "off" state, since we
planned to stabilize the feature eventually anyways.

Unfortunately, it was found that the "on" state of the feature gate
causes a different issue: [the Prometheus
exporter](https://github.com/open-telemetry/opentelemetry-go/tree/main/exporters/prometheus)
is the default way of exporting the Collector's internal metrics,
accessible at `collector:8888/metrics`. This exporter does not currently
have any support for instrumentation scope attributes, meaning that
metric streams differentiated by said attributes but not by any other
identifying property will appear as aliases to Prometheus, which causes
an error. This completely breaks the export of Collector metrics through
Prometheus under some simple configurations, which is a release blocker.

#### Description

To fix this issue, this PR sets the `telemetry.newPipelineTelemetry`
feature gate back to "Alpha" (off by default), and reintroduces logic to
disable the injection of the new instrumentation scope attributes when
the gate is off, but only in internal metrics. Note that the new logic
is still used unconditionally for logs and traces, to avoid
reintroducing the logs issue (#12870).

This should avoid breaking the Collector in its default configuration
while we try to get a fix in the Prometheus exporter.

#### Link to tracking issue
No tracking issue currently, will probably file one later.

#### Testing

I performed some simple manual testing with a config file like the
following:

```yaml
receivers:
  otlp: [...]
processors:
  batch:
exporters:
  debug: [...]
service:
  pipelines:
    logs:
      receivers: [otlp]
      processors: [batch]
      exporters: [debug]
    traces:
      receivers: [otlp]
      processors: [batch]
      exporters: [debug]
  telemetry:
    metrics:
      level: detailed    
    traces: [...]
    logs: [...]
```

The two batch processors create aliased metric streams, which are only
differentiated by the new component attributes. I checked that:
1. this config causes an error in the Prometheus exporter on main;
2. the error is resolved by default after applying this PR;
3. the error reappears when enabling the feature gate (this is expected)
4. scope attributes are added on the traces and logs no matter the state
of the gate.
2025-04-28 16:54:40 +00:00
Dmitry Anoshin f26c6bb527
[exporterhelper] Do not ignore the `num_consumers` setting when batching is enabled (#12921)
Remove hardcoding the number of queue workers to one if batching is
enabled. The bug described in
https://github.com/open-telemetry/opentelemetry-collector/issues/12244
isn't relevant anymore.
2025-04-25 17:05:47 +00:00
Alex Boten ac7c0f2f4c
[mdatagen] support producing docs for internal telemetry attributes (#12919)
This adds the ability to generate documentation for the internal metrics
attributes.

---------

Signed-off-by: Alex Boten <223565+codeboten@users.noreply.github.com>
2025-04-24 23:40:37 +00:00
Narcis Gemene d020c9074f
Fix typo in README.md (#12915)
Corrected a missing "for" in the extended description to improve
readability and grammar.
2025-04-23 16:06:58 +00:00
Andrzej Stencel 112b889f86
[chore] [exporter/debug] docs: add docs on generating example output (#12883) 2025-04-23 08:33:17 +00:00
Yang Song 07f18639a3
[chore] fix go mod (#12910)
#### Description
Recent new packages break `make update-otel` in contrib, see
http://github.com/open-telemetry/opentelemetry-collector-contrib/pull/39563
2025-04-22 20:48:09 +00:00
Roger Coll c47951a8bf
fix: add missing imports (#12908)
<!--Ex. Fixing a bug - Describe the bug and how this fixes the issue.
Ex. Adding a feature - Explain what this achieves.-->
#### Description

Adds the missing dependencies into the auto generated files.

<!-- Issue number if applicable -->
#### Link to tracking issue
Fixes #
https://github.com/open-telemetry/opentelemetry-collector/issues/12907

<!--Describe what testing was performed and which tests were added.-->
#### Testing

<!--Describe the documentation added.-->
#### Documentation

<!--Please delete paragraphs that you did not use before submitting.-->
2025-04-22 16:59:40 +00:00
renovate[bot] b4d17f61a3
Update module go.opentelemetry.io/collector/client to v1.30.0 (#12901)
This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
|
[go.opentelemetry.io/collector/client](https://redirect.github.com/open-telemetry/opentelemetry-collector)
| `v1.29.0` -> `v1.30.0` |
[![age](https://developer.mend.io/api/mc/badges/age/go/go.opentelemetry.io%2fcollector%2fclient/v1.30.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/go/go.opentelemetry.io%2fcollector%2fclient/v1.30.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/go/go.opentelemetry.io%2fcollector%2fclient/v1.29.0/v1.30.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/go/go.opentelemetry.io%2fcollector%2fclient/v1.29.0/v1.30.0?slim=true)](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-collector
(go.opentelemetry.io/collector/client)</summary>

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

##### 💡 Enhancements 💡

- `exporterhelper`: Add support for bytes-based batching for profiles in
the exporterhelper package.
([#&#8203;3262](https://redirect.github.com/open-telemetry/opentelemetry-collector/issues/3262))
- `otelcol`: Enhance config validation using <validate> command to
capture all validation errors that prevents the collector from starting.
([#&#8203;8721](https://redirect.github.com/open-telemetry/opentelemetry-collector/issues/8721))
- `exporterhelper`: Link batcher context to all batched request's span
contexts.
([#&#8203;12212](https://redirect.github.com/open-telemetry/opentelemetry-collector/issues/12212),
[#&#8203;8122](https://redirect.github.com/open-telemetry/opentelemetry-collector/issues/8122))

##### 🧰 Bug fixes 🧰

- `confighttp`: Ensure http authentication server failures are handled
by the provided error handler
([#&#8203;12666](https://redirect.github.com/open-telemetry/opentelemetry-collector/issues/12666))

<!-- previous-version -->

</details>

---

### Configuration

📅 **Schedule**: Branch creation - "on tuesday" (UTC), 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-collector).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzOS4yNDguNCIsInVwZGF0ZWRJblZlciI6IjM5LjI0OC40IiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6WyJkZXBlbmRlbmNpZXMiLCJyZW5vdmF0ZWJvdCJdfQ==-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Alex Boten <223565+codeboten@users.noreply.github.com>
2025-04-22 15:34:01 +00:00
Daniel Jaglowski 08f03438ec
[chore] Clarify safety of cast from uint64 to int64 in graph (#12900) 2025-04-22 15:19:30 +00:00
Khushi Jain 87eb712bf2
Fix typos in the exporter/exporterhelper README (#12903)
Fix README.md
2025-04-22 15:18:51 +00:00
Bogdan Drutu bc57119b6b
Fix MoveTo when moving to the same destination (#12898)
<!--Ex. Fixing a bug - Describe the bug and how this fixes the issue.
Ex. Adding a feature - Explain what this achieves.-->
#### Description

Moving the data between same source and destination causes the
destination to be cleared.

<!-- Issue number if applicable -->
#### Link to tracking issue
Fixes #12887

Signed-off-by: Bogdan Drutu <bogdandrutu@gmail.com>
2025-04-22 14:23:27 +00:00
renovate[bot] 2526b02cf4
Update module google.golang.org/grpc to v1.72.0 (#12902)
This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [google.golang.org/grpc](https://redirect.github.com/grpc/grpc-go) |
`v1.71.1` -> `v1.72.0` |
[![age](https://developer.mend.io/api/mc/badges/age/go/google.golang.org%2fgrpc/v1.72.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/go/google.golang.org%2fgrpc/v1.72.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/go/google.golang.org%2fgrpc/v1.71.1/v1.72.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/go/google.golang.org%2fgrpc/v1.71.1/v1.72.0?slim=true)](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.72.0`](https://redirect.github.com/grpc/grpc-go/releases/tag/v1.72.0):
Release 1.72.0

[Compare
Source](https://redirect.github.com/grpc/grpc-go/compare/v1.71.1...v1.72.0)

### Dependencies

- Minimum supported Go version is now 1.23
([#&#8203;8108](https://redirect.github.com/grpc/grpc-go/issues/8108))

### API Changes

- resolver: add experimental `AddressMapV2` with generics to ultimately
replace `AddressMap`. Deprecate `AddressMap` for deletion
([#&#8203;8187](https://redirect.github.com/grpc/grpc-go/issues/8187))
- resolver: convert EndpointMap in place to use generics
([#&#8203;8189](https://redirect.github.com/grpc/grpc-go/issues/8189))

### New Features

- xds: add `grpc.xds_client.server_failure` counter metric on xDS client
to record connectivity errors
([#&#8203;8203](https://redirect.github.com/grpc/grpc-go/issues/8203))
- balancer/rls: allow `maxAge` to exceed 5 minutes if `staleAge` is set
in the LB policy configuration
([#&#8203;8137](https://redirect.github.com/grpc/grpc-go/issues/8137))
- ringhash: implement [gRFC
A76](https://redirect.github.com/grpc/proposal/blob/master/A76-ring-hash-improvements.md)
improvements.
([#&#8203;8159](https://redirect.github.com/grpc/grpc-go/issues/8159))

### Bug Fixes

- xds: fix support for circuit breakers and load reporting in
LOGICAL_DNS clusters
([#&#8203;8169](https://redirect.github.com/grpc/grpc-go/issues/8169),
[#&#8203;8170](https://redirect.github.com/grpc/grpc-go/issues/8170))
- cds: improve RPC error messages when resources are not found
([#&#8203;8122](https://redirect.github.com/grpc/grpc-go/issues/8122))
- priority: fix race that could leak balancers and goroutines during
shutdown
([#&#8203;8095](https://redirect.github.com/grpc/grpc-go/issues/8095))
- stats/opentelemetry: fix trace attributes message sequence numbers to
start from 0
([#&#8203;8237](https://redirect.github.com/grpc/grpc-go/issues/8237))
- balancer/pickfirstleaf: fix panic if deprecated Address.Metadata field
is set to a non-comparable value by ignoring the field
([#&#8203;8227](https://redirect.github.com/grpc/grpc-go/issues/8227))

### Behavior Changes

- transport: make servers send an HTTP/2 RST_STREAM frame to cancel a
stream when the deadline expires
([#&#8203;8071](https://redirect.github.com/grpc/grpc-go/issues/8071))

### Documentation

- stats: clarify the expected sequence of events on a stats handler
([#&#8203;7885](https://redirect.github.com/grpc/grpc-go/issues/7885))
- Special Thanks:
[@&#8203;RyanBlaney](https://redirect.github.com/RyanBlaney)

</details>

---

### Configuration

📅 **Schedule**: Branch creation - "on tuesday" (UTC), 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-collector).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzOS4yNDguNCIsInVwZGF0ZWRJblZlciI6IjM5LjI0OC40IiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6WyJkZXBlbmRlbmNpZXMiLCJyZW5vdmF0ZWJvdCJdfQ==-->

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: opentelemetrybot <107717825+opentelemetrybot@users.noreply.github.com>
2025-04-22 09:01:34 +00:00
Chao Weng 8a190edadd
[chore] Fix some typos (#12897)
<!--Ex. Fixing a bug - Describe the bug and how this fixes the issue.
Ex. Adding a feature - Explain what this achieves.-->
#### Description
n/a

<!-- Issue number if applicable -->
#### Link to tracking issue
n/a

<!--Describe what testing was performed and which tests were added.-->
#### Testing
n/a

<!--Describe the documentation added.-->
#### Documentation
n/a

<!--Please delete paragraphs that you did not use before submitting.-->
2025-04-21 16:20:39 +00:00
Evan Bradley 901c395904
[chore] Create RFC for Optional config types (#12596)
<!--Ex. Fixing a bug - Describe the bug and how this fixes the issue.
Ex. Adding a feature - Explain what this achieves.-->
#### Description

This RFC will help us explore the use cases Optional types solve and
move us toward a resolution for whether to adopt these in our config.

Related to #10266

---------

Co-authored-by: Pablo Baeyens <pbaeyens31+github@gmail.com>
Co-authored-by: Pablo Baeyens <pablo.baeyens@datadoghq.com>
2025-04-21 11:09:41 +00:00
Pablo Baeyens bac08e21f5
[confmap] Correctly distinguish between empty and nil slices (#12872)
<!--Ex. Fixing a bug - Describe the bug and how this fixes the issue.
Ex. Adding a feature - Explain what this achieves.-->
#### Description

<!-- Issue number if applicable -->

A second attempt at #11882.

Note that I added some tests in #12871 to prevent something like #12661
from happening again.

#### Link to tracking issue
Fixes #11749

<!--Describe what testing was performed and which tests were added.-->
#### Testing

<!--Describe the documentation added.-->

See tests from #12871 as well as the new tests added here.
2025-04-21 09:07:57 +00:00
Joshua MacDonald a787582742
Middleware: gRPC support (part 4/4) (#12846)
#### Description

Adds the gRPC middleware support from #12842.

#### Link to tracking issue

Part of #12603.

#### Testing

Yes.

#### Documentation

Added.
2025-04-19 05:34:03 +00:00
Joshua MacDonald 97130f0eff
[chore] extensionmiddlewaretest HTTPClientFunc renamed RoundTripperFunc (#12895)
#### Description

Fixes
https://github.com/open-telemetry/opentelemetry-collector/pull/12845#discussion_r2051079454
2025-04-19 05:05:54 +00:00
Joshua MacDonald 97eb30721c
[chore] Two spelling lints. (#12892)
#### Description

The cSpell action has been flaky for two reasons, fixed here.
2025-04-18 22:10:40 +00:00
Joshua MacDonald 6993fa1585
Middleware: HTTP support (part 3/4) (#12845)
#### Description

Adds the HTTP middleware support from #12842.

#### Link to tracking issue

Part of #12603.

#### Testing

Yes.

#### Documentation

Added.
2025-04-18 20:21:37 +00:00
Bogdan Drutu 9a54388de6
Add MoveTo to pcommon.Value, only type missing this (#12877)
Signed-off-by: Bogdan Drutu <bogdandrutu@gmail.com>
2025-04-17 21:14:20 +00:00
Joshua MacDonald 46101260f6
Middleware: config struct (part 2/4) (#12844)
**Description**

Adds the config struct from
https://github.com/open-telemetry/opentelemetry-collector/pull/12842.

**Link to tracking issue**

Part of
https://github.com/open-telemetry/opentelemetry-collector/issues/12603.

**Testing**

Yes. This PR introduces `extensionmiddlewaretest` helpers.

**Documentation**

Added.

---------

Co-authored-by: Bogdan Drutu <bogdandrutu@gmail.com>
2025-04-17 17:51:13 +00:00
Antoine Toulme d79ffd3a01
[chore] rotate releaser (#12873)
Update the release schedule.

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2025-04-17 16:47:40 +00:00
Alex Boten aa9b26e82d
[chore] bump x/net dep (#12886)
Signed-off-by: Alex Boten <223565+codeboten@users.noreply.github.com>
2025-04-17 16:21:08 +00:00