Commit Graph

486 Commits

Author SHA1 Message Date
Bogdan Drutu 96f9a354d2
[chore] Prepare release v1.37.0/v0.131.0 (#13510)
The following commands were run to prepare this release:

make chlog-update VERSION=v1.37.0/v0.131.0
make prepare-release PREVIOUS_VERSION=1[.]36[.]1
RELEASE_CANDIDATE=1.37.0 MODSET=stable
make prepare-release PREVIOUS_VERSION=0[.]130[.]1
RELEASE_CANDIDATE=0.131.0 MODSET=beta

---------

Co-authored-by: otelbot <197425009+otelbot@users.noreply.github.com>
2025-07-28 23:54:40 +00:00
Alex Boten d4539dd6b4
[chore] update references to batch processor (#13406)
This updates some of the documentation to remove the reference to the
batch processor.

---------

Signed-off-by: alex boten <223565+codeboten@users.noreply.github.com>
2025-07-28 18:28:57 +00:00
Antoine Toulme b5f3b1dea2
[builder] Remove undocumented handling of `DIST_*` environment variables replacements (#13493)
<!--Ex. Fixing a bug - Describe the bug and how this fixes the issue.
Ex. Adding a feature - Explain what this achieves.-->
#### Description
Remove undocumented handling of `DIST_*` environment variables
replacements

<!-- Issue number if applicable -->
#### Link to tracking issue
Fixes #13335
2025-07-26 22:57:37 +00:00
Matthieu MOREL 84e29958f1
[chore]: enable-all rules from go-critic (#13433)
#### Description

Enables all rules from
[go-critic](https://golangci-lint.run/usage/linters/#gocritic) by
default and disable the one that needs to be fixed

* https://go-critic.com/overview.html#appendcombine
* https://go-critic.com/overview.html#emptystringtest
* https://go-critic.com/overview.html#evalorder
* https://go-critic.com/overview.html#httpnobody
* https://go-critic.com/overview.html#nestingreduce
* https://go-critic.com/overview.html#regexpsimplify
* https://go-critic.com/overview.html#sloppyreassign
* https://go-critic.com/overview.html#sprintfquotedstring
* https://go-critic.com/overview.html#typeassertchain
* https://go-critic.com/overview.html#typeunparen

---------

Signed-off-by: Matthieu MOREL <matthieu.morel35@gmail.com>
2025-07-24 10:34:03 +00:00
Andrzej Stencel 8c6b4d3d14
[chore] docs(builder): use more recent version in builder docs (#13411)
Makes it less confusing, especially with provider versions now all
aligned on v1.x.
2025-07-22 15:47:41 +00:00
Pablo Baeyens ba583e0ae5
Merge release/v0.130.x into main (#13452) 2025-07-22 12:41:35 +02:00
Pablo Baeyens d588ee2ac4
[chore] Prepare release v0.130.1/v1.36.1 (#13441)
<!--Ex. Fixing a bug - Describe the bug and how this fixes the issue.
Ex. Adding a feature - Explain what this achieves.-->
#### Description

Prepares release v0.130.1/v1.36.1 to release #13429

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

Updates #13381
Relates to open-telemetry/opentelemetry-go/issues/7039

---------

Co-authored-by: opentelemetrybot <107717825+opentelemetrybot@users.noreply.github.com>
2025-07-22 11:05:41 +02:00
renovate[bot] 872a25e9f8
Update module github.com/spf13/pflag to v1.0.7 (#13447)
This PR contains the following updates:

| Package | Change | Age | Confidence |
|---|---|---|---|
| [github.com/spf13/pflag](https://redirect.github.com/spf13/pflag) |
`v1.0.6` -> `v1.0.7` |
[![age](https://developer.mend.io/api/mc/badges/age/go/github.com%2fspf13%2fpflag/v1.0.7?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/go/github.com%2fspf13%2fpflag/v1.0.6/v1.0.7?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>spf13/pflag (github.com/spf13/pflag)</summary>

###
[`v1.0.7`](https://redirect.github.com/spf13/pflag/releases/tag/v1.0.7)

[Compare
Source](https://redirect.github.com/spf13/pflag/compare/v1.0.6...v1.0.7)

#### What's Changed

- Fix defaultIsZeroValue check for generic Value types by
[@&#8203;MidnightRocket](https://redirect.github.com/MidnightRocket) in
[https://github.com/spf13/pflag/pull/422](https://redirect.github.com/spf13/pflag/pull/422)
- feat: Use structs for errors returned by pflag. by
[@&#8203;eth-p](https://redirect.github.com/eth-p) in
[https://github.com/spf13/pflag/pull/425](https://redirect.github.com/spf13/pflag/pull/425)
- Fix typos by [@&#8203;co63oc](https://redirect.github.com/co63oc) in
[https://github.com/spf13/pflag/pull/428](https://redirect.github.com/spf13/pflag/pull/428)
- fix [#&#8203;423](https://redirect.github.com/spf13/pflag/issues/423)
: Add helper function and some documentation to parse shorthand go test
flags. by [@&#8203;valdar](https://redirect.github.com/valdar) in
[https://github.com/spf13/pflag/pull/424](https://redirect.github.com/spf13/pflag/pull/424)
- add support equivalent to golang flag.TextVar(), also fixes the test
failure as described in
[#&#8203;368](https://redirect.github.com/spf13/pflag/issues/368) by
[@&#8203;hujun-open](https://redirect.github.com/hujun-open) in
[https://github.com/spf13/pflag/pull/418](https://redirect.github.com/spf13/pflag/pull/418)
- add support for Func() and BoolFunc()
[#&#8203;426](https://redirect.github.com/spf13/pflag/issues/426) by
[@&#8203;LeGEC](https://redirect.github.com/LeGEC) in
[https://github.com/spf13/pflag/pull/429](https://redirect.github.com/spf13/pflag/pull/429)
- fix: correct argument length check in FlagSet.Parse by
[@&#8203;ShawnJeffersonWang](https://redirect.github.com/ShawnJeffersonWang)
in
[https://github.com/spf13/pflag/pull/409](https://redirect.github.com/spf13/pflag/pull/409)
- fix usage message for func flags, fix arguments order by
[@&#8203;LeGEC](https://redirect.github.com/LeGEC) in
[https://github.com/spf13/pflag/pull/431](https://redirect.github.com/spf13/pflag/pull/431)
- Add support for time.Time flags by
[@&#8203;max-frank](https://redirect.github.com/max-frank) in
[https://github.com/spf13/pflag/pull/348](https://redirect.github.com/spf13/pflag/pull/348)

#### New Contributors

- [@&#8203;MidnightRocket](https://redirect.github.com/MidnightRocket)
made their first contribution in
[https://github.com/spf13/pflag/pull/422](https://redirect.github.com/spf13/pflag/pull/422)
- [@&#8203;eth-p](https://redirect.github.com/eth-p) made their first
contribution in
[https://github.com/spf13/pflag/pull/425](https://redirect.github.com/spf13/pflag/pull/425)
- [@&#8203;co63oc](https://redirect.github.com/co63oc) made their first
contribution in
[https://github.com/spf13/pflag/pull/428](https://redirect.github.com/spf13/pflag/pull/428)
- [@&#8203;valdar](https://redirect.github.com/valdar) made their first
contribution in
[https://github.com/spf13/pflag/pull/424](https://redirect.github.com/spf13/pflag/pull/424)
- [@&#8203;hujun-open](https://redirect.github.com/hujun-open) made
their first contribution in
[https://github.com/spf13/pflag/pull/418](https://redirect.github.com/spf13/pflag/pull/418)
- [@&#8203;LeGEC](https://redirect.github.com/LeGEC) made their first
contribution in
[https://github.com/spf13/pflag/pull/429](https://redirect.github.com/spf13/pflag/pull/429)
-
[@&#8203;ShawnJeffersonWang](https://redirect.github.com/ShawnJeffersonWang)
made their first contribution in
[https://github.com/spf13/pflag/pull/409](https://redirect.github.com/spf13/pflag/pull/409)
- [@&#8203;max-frank](https://redirect.github.com/max-frank) made their
first contribution in
[https://github.com/spf13/pflag/pull/348](https://redirect.github.com/spf13/pflag/pull/348)

**Full Changelog**:
https://github.com/spf13/pflag/compare/v1.0.6...v1.0.7

</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:eyJjcmVhdGVkSW5WZXIiOiI0MS40MC4wIiwidXBkYXRlZEluVmVyIjoiNDEuNDAuMCIsInRhcmdldEJyYW5jaCI6Im1haW4iLCJsYWJlbHMiOlsiZGVwZW5kZW5jaWVzIiwicmVub3ZhdGVib3QiXX0=-->

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: otelbot <197425009+otelbot@users.noreply.github.com>
2025-07-21 22:12:52 +00:00
Don Inghram 13613a9807
collector builder should require go 1.23 as go.opentelemetry.io v1.36.0 requires go 1.23 (#13400)
<!--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 #

<!--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-07-16 17:45:23 +00:00
renovate[bot] f70bc350fd
Update module github.com/knadh/koanf/v2 to v2.2.2 (#13389)
This PR contains the following updates:

| Package | Change | Age | Confidence |
|---|---|---|---|
| [github.com/knadh/koanf/v2](https://redirect.github.com/knadh/koanf) |
`v2.2.1` -> `v2.2.2` |
[![age](https://developer.mend.io/api/mc/badges/age/go/github.com%2fknadh%2fkoanf%2fv2/v2.2.2?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/go/github.com%2fknadh%2fkoanf%2fv2/v2.2.1/v2.2.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>knadh/koanf (github.com/knadh/koanf/v2)</summary>

###
[`v2.2.2`](https://redirect.github.com/knadh/koanf/releases/tag/v2.2.2)

[Compare
Source](https://redirect.github.com/knadh/koanf/compare/v2.2.1...v2.2.2)

#### What's Changed

- Replace yaml package with go.yaml.in/yaml/v3 by
[@&#8203;devhaozi](https://redirect.github.com/devhaozi) in
[https://github.com/knadh/koanf/pull/365](https://redirect.github.com/knadh/koanf/pull/365)
- Bump github.com/go-viper/mapstructure/v2 from 2.2.1 to 2.3.0 in
/providers/cliflagv2 by
[@&#8203;dependabot](https://redirect.github.com/dependabot)\[bot]
in[https://github.com/knadh/koanf/pull/366](https://redirect.github.com/knadh/koanf/pull/366)6
- Bump github.com/go-viper/mapstructure/v2 from 2.2.1 to 2.3.0 by
[@&#8203;dependabot](https://redirect.github.com/dependabot)\[bot]
in[https://github.com/knadh/koanf/pull/367](https://redirect.github.com/knadh/koanf/pull/367)7
- feat: config to override env vars by
[@&#8203;nickajacks1](https://redirect.github.com/nickajacks1) in
[https://github.com/knadh/koanf/pull/341](https://redirect.github.com/knadh/koanf/pull/341)

#### New Contributors

- [@&#8203;devhaozi](https://redirect.github.com/devhaozi) made their
first contribution in
[https://github.com/knadh/koanf/pull/365](https://redirect.github.com/knadh/koanf/pull/365)
- [@&#8203;nickajacks1](https://redirect.github.com/nickajacks1) made
their first contribution in
[https://github.com/knadh/koanf/pull/341](https://redirect.github.com/knadh/koanf/pull/341)

**Full Changelog**:
https://github.com/knadh/koanf/compare/v2.2.1...v2.2.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:eyJjcmVhdGVkSW5WZXIiOiI0MS4yMy4yIiwidXBkYXRlZEluVmVyIjoiNDEuMjMuMiIsInRhcmdldEJyYW5jaCI6Im1haW4iLCJsYWJlbHMiOlsiZGVwZW5kZW5jaWVzIiwicmVub3ZhdGVib3QiXX0=-->

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: opentelemetrybot <107717825+opentelemetrybot@users.noreply.github.com>
2025-07-15 08:15:48 +00:00
OpenTelemetry Bot 91ec67dfc1
[chore] Prepare release v1.36.0/v0.130.0 (#13382)
The following commands were run to prepare this release:
- make chlog-update VERSION=v1.36.0/v0.130.0
- make prepare-release PREVIOUS_VERSION=1[.]35[.]0
RELEASE_CANDIDATE=1.36.0 MODSET=stable
- make prepare-release PREVIOUS_VERSION=0[.]129[.]0
RELEASE_CANDIDATE=0.130.0 MODSET=beta

---------

Co-authored-by: Pablo Baeyens <pablo.baeyens@datadoghq.com>
2025-07-14 13:03:41 +00:00
renovate[bot] 288273319a
Update All golang.org/x packages (#13370)
This PR contains the following updates:

| Package | Change | Age | Confidence |
|---|---|---|---|
| golang.org/x/mod | `v0.25.0` -> `v0.26.0` |
[![age](https://developer.mend.io/api/mc/badges/age/go/golang.org%2fx%2fmod/v0.26.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/go/golang.org%2fx%2fmod/v0.25.0/v0.26.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
| golang.org/x/sys | `v0.33.0` -> `v0.34.0` |
[![age](https://developer.mend.io/api/mc/badges/age/go/golang.org%2fx%2fsys/v0.34.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/go/golang.org%2fx%2fsys/v0.33.0/v0.34.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
| golang.org/x/text | `v0.26.0` -> `v0.27.0` |
[![age](https://developer.mend.io/api/mc/badges/age/go/golang.org%2fx%2ftext/v0.27.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/go/golang.org%2fx%2ftext/v0.26.0/v0.27.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|

---

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

---

### 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.

👻 **Immortal**: This PR will be recreated if closed unmerged. Get
[config
help](https://redirect.github.com/renovatebot/renovate/discussions) if
that's undesired.

---

- [ ] <!-- 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:eyJjcmVhdGVkSW5WZXIiOiI0MS4yMy4yIiwidXBkYXRlZEluVmVyIjoiNDEuMjMuMiIsInRhcmdldEJyYW5jaCI6Im1haW4iLCJsYWJlbHMiOlsiZGVwZW5kZW5jaWVzIiwicmVub3ZhdGVib3QiXX0=-->

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: opentelemetrybot <107717825+opentelemetrybot@users.noreply.github.com>
2025-07-10 10:11:16 +00:00
renovate[bot] 1d377cd3ca
Update module github.com/knadh/koanf/providers/env to v2 (#13304)
This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
|
[github.com/knadh/koanf/providers/env](https://redirect.github.com/knadh/koanf)
| `v1.1.0` -> `v2.0.0` |
[![age](https://developer.mend.io/api/mc/badges/age/go/github.com%2fknadh%2fkoanf%2fproviders%2fenv/v2.0.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/go/github.com%2fknadh%2fkoanf%2fproviders%2fenv/v2.0.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/go/github.com%2fknadh%2fkoanf%2fproviders%2fenv/v1.1.0/v2.0.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/go/github.com%2fknadh%2fkoanf%2fproviders%2fenv/v1.1.0/v2.0.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|

---

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

⚠️ MAJOR VERSION UPDATE ⚠️ - please manually update this
package

---

### Release Notes

<details>
<summary>knadh/koanf (github.com/knadh/koanf/providers/env)</summary>

###
[`v2.0.0`](https://redirect.github.com/knadh/koanf/releases/tag/v2.0.0)

[Compare
Source](https://redirect.github.com/knadh/koanf/compare/v1.1.0...v2.0.0)

This is a major breaking change that ends koanf v1 (v1.5.0) and moves to
v2. Continued usage of v1 is unaffected. While koanf does not bundle
external dependencies into its core thereby avoiding them in the build,
a `go get` would still pull them and go.mod, bringing in unnecessary
references as all the providers and parsers were "sub" packages of the
main module.

This PR upgrades koanf to v2 and separates every single provider and
parser package into its own module, go.mod, and release tag (eg:
`providers/yaml/v0.1.0`). That is, one-repository, many modules. This
removes references to all indirect dependencies in the main koanf
package significantly de-cluttering it.

##### What changes?

- Going forward, koanf references should change to
`github.com/knadh/koanf/v2`.
- The required parsers and providers should be installed explicitly as
they do not come bundled with the main koanf package anymore. Eg: `go
get github.com/knadh/koanf/providers/s3`, `go get
github.com/knadh/koanf/parsers/json` etc.
- That's all. There is no change in functionality.

**Full Changelog**:
https://github.com/knadh/koanf/compare/v1.5.0...v2.0.0

</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:eyJjcmVhdGVkSW5WZXIiOiI0MC42Mi4xIiwidXBkYXRlZEluVmVyIjoiNDAuNjIuMSIsInRhcmdldEJyYW5jaCI6Im1haW4iLCJsYWJlbHMiOlsiZGVwZW5kZW5jeS1tYWpvci11cGRhdGUiXX0=-->

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Jade Guiton <jade.guiton@datadoghq.com>
2025-07-02 20:27:23 +00:00
OpenTelemetry Bot 8c7e0b7708
[chore] Prepare release v1.35.0/v0.129.0 (#13299)
The following commands were run to prepare this release:
- make chlog-update VERSION=v1.35.0/v0.129.0
- make prepare-release PREVIOUS_VERSION=1[.]34[.]0
RELEASE_CANDIDATE=1.35.0 MODSET=stable
- make prepare-release PREVIOUS_VERSION=0[.]128[.]0
RELEASE_CANDIDATE=0.129.0 MODSET=beta

---------

Co-authored-by: Jade Guiton <jade.guiton@datadoghq.com>
2025-06-30 11:51:14 +00:00
renovate[bot] f1ec370df6
Update module github.com/knadh/koanf/parsers/yaml to v1.1.0 (#13287)
This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
|
[github.com/knadh/koanf/parsers/yaml](https://redirect.github.com/knadh/koanf)
| `v1.0.0` -> `v1.1.0` |
[![age](https://developer.mend.io/api/mc/badges/age/go/github.com%2fknadh%2fkoanf%2fparsers%2fyaml/v1.1.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/go/github.com%2fknadh%2fkoanf%2fparsers%2fyaml/v1.1.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/go/github.com%2fknadh%2fkoanf%2fparsers%2fyaml/v1.0.0/v1.1.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/go/github.com%2fknadh%2fkoanf%2fparsers%2fyaml/v1.0.0/v1.1.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>knadh/koanf (github.com/knadh/koanf/parsers/yaml)</summary>

###
[`v1.1.0`](https://redirect.github.com/knadh/koanf/releases/tag/v1.1.0)

[Compare
Source](https://redirect.github.com/knadh/koanf/compare/v1.0.0...v1.1.0)

- [`036e4bf`](https://redirect.github.com/knadh/koanf/commit/036e4bf)
Merge pull request
[#&#8203;79](https://redirect.github.com/knadh/koanf/issues/79) from
aeneasr/fix-memory-keyparts
- [`6692d05`](https://redirect.github.com/knadh/koanf/commit/6692d05)
Merge pull request
[#&#8203;78](https://redirect.github.com/knadh/koanf/issues/78) from
aeneasr/fix-memory-use
- [`d174d00`](https://redirect.github.com/knadh/koanf/commit/d174d00)
Reduce memory consumption for populateKeyParts
- [`1095e5e`](https://redirect.github.com/knadh/koanf/commit/1095e5e)
Significantly reduce memory use of maps.Flatten
- [`7d983f3`](https://redirect.github.com/knadh/koanf/commit/7d983f3)
Fix Watch() doc

</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:eyJjcmVhdGVkSW5WZXIiOiI0MC42Mi4xIiwidXBkYXRlZEluVmVyIjoiNDAuNjIuMSIsInRhcmdldEJyYW5jaCI6Im1haW4iLCJsYWJlbHMiOlsiZGVwZW5kZW5jaWVzIiwicmVub3ZhdGVib3QiXX0=-->

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: opentelemetrybot <107717825+opentelemetrybot@users.noreply.github.com>
2025-06-28 15:09:46 +00:00
renovate[bot] c7799255b4
fix(deps): update all golang.org/x packages (#13186)
This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| golang.org/x/mod | `v0.24.0` -> `v0.25.0` |
[![age](https://developer.mend.io/api/mc/badges/age/go/golang.org%2fx%2fmod/v0.25.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/go/golang.org%2fx%2fmod/v0.25.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/go/golang.org%2fx%2fmod/v0.24.0/v0.25.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/go/golang.org%2fx%2fmod/v0.24.0/v0.25.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
| golang.org/x/net | `v0.40.0` -> `v0.41.0` |
[![age](https://developer.mend.io/api/mc/badges/age/go/golang.org%2fx%2fnet/v0.41.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/go/golang.org%2fx%2fnet/v0.41.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/go/golang.org%2fx%2fnet/v0.40.0/v0.41.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/go/golang.org%2fx%2fnet/v0.40.0/v0.41.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
| golang.org/x/text | `v0.25.0` -> `v0.26.0` |
[![age](https://developer.mend.io/api/mc/badges/age/go/golang.org%2fx%2ftext/v0.26.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/go/golang.org%2fx%2ftext/v0.26.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/go/golang.org%2fx%2ftext/v0.25.0/v0.26.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/go/golang.org%2fx%2ftext/v0.25.0/v0.26.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
| golang.org/x/tools | `v0.33.0` -> `v0.34.0` |
[![age](https://developer.mend.io/api/mc/badges/age/go/golang.org%2fx%2ftools/v0.34.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/go/golang.org%2fx%2ftools/v0.34.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/go/golang.org%2fx%2ftools/v0.33.0/v0.34.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/go/golang.org%2fx%2ftools/v0.33.0/v0.34.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|

---

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

---

### 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.

👻 **Immortal**: This PR will be recreated if closed unmerged. Get
[config
help](https://redirect.github.com/renovatebot/renovate/discussions) if
that's undesired.

---

- [ ] <!-- 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:eyJjcmVhdGVkSW5WZXIiOiI0MC40OC41IiwidXBkYXRlZEluVmVyIjoiNDAuNDguNSIsInRhcmdldEJyYW5jaCI6Im1haW4iLCJsYWJlbHMiOlsiZGVwZW5kZW5jaWVzIiwicmVub3ZhdGVib3QiXX0=-->

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Alex Boten <223565+codeboten@users.noreply.github.com>
Co-authored-by: Yang Song <yang.song@datadoghq.com>
Co-authored-by: opentelemetrybot <107717825+opentelemetrybot@users.noreply.github.com>
2025-06-17 19:23:10 +00:00
Dmitry Anoshin 3ef58fda95
[exporterhelper] Preserve request span context in the persistent queue (#13188)
Alternative to
https://github.com/open-telemetry/opentelemetry-collector/pull/13176
that doesn't involve custom encoder but exposes new public module
`pdata/xpdata/request`

The actual change set is pretty small. Most of the code is generated
protobuf
2025-06-16 04:37:40 +00:00
renovate[bot] e1a9093907
fix(deps): update module github.com/knadh/koanf/v2 to v2.2.1 (#13185)
This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [github.com/knadh/koanf/v2](https://redirect.github.com/knadh/koanf) |
`v2.2.0` -> `v2.2.1` |
[![age](https://developer.mend.io/api/mc/badges/age/go/github.com%2fknadh%2fkoanf%2fv2/v2.2.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/go/github.com%2fknadh%2fkoanf%2fv2/v2.2.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/go/github.com%2fknadh%2fkoanf%2fv2/v2.2.0/v2.2.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/go/github.com%2fknadh%2fkoanf%2fv2/v2.2.0/v2.2.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>knadh/koanf (github.com/knadh/koanf/v2)</summary>

###
[`v2.2.1`](https://redirect.github.com/knadh/koanf/releases/tag/v2.2.1)

[Compare
Source](https://redirect.github.com/knadh/koanf/compare/v2.2.0...v2.2.1)

#### What's Changed

- Bump github.com/nats-io/nats-server/v2 from 2.9.23 to 2.10.27 in
/providers/nats by
[@&#8203;dependabot](https://redirect.github.com/dependabot) in
[https://github.com/knadh/koanf/pull/350](https://redirect.github.com/knadh/koanf/pull/350)
- Bump golang.org/x/net from 0.36.0 to 0.38.0 in /providers/consul by
[@&#8203;dependabot](https://redirect.github.com/dependabot) in
[https://github.com/knadh/koanf/pull/351](https://redirect.github.com/knadh/koanf/pull/351)
- Bump golang.org/x/net from 0.37.0 to 0.38.0 in /examples by
[@&#8203;dependabot](https://redirect.github.com/dependabot) in
[https://github.com/knadh/koanf/pull/353](https://redirect.github.com/knadh/koanf/pull/353)
- changing cliflagv2 to support variadic forcedinclude parameter by
[@&#8203;kooroo](https://redirect.github.com/kooroo) in
[https://github.com/knadh/koanf/pull/357](https://redirect.github.com/knadh/koanf/pull/357)
- adds urfave/cli/v3 parser by
[@&#8203;n0cloud](https://redirect.github.com/n0cloud) in
[https://github.com/knadh/koanf/pull/361](https://redirect.github.com/knadh/koanf/pull/361)
- add toggle to split nats kv on "." delimiter by
[@&#8203;nickchomey](https://redirect.github.com/nickchomey) in
[https://github.com/knadh/koanf/pull/355](https://redirect.github.com/knadh/koanf/pull/355)

#### New Contributors

- [@&#8203;kooroo](https://redirect.github.com/kooroo) made their first
contribution in
[https://github.com/knadh/koanf/pull/357](https://redirect.github.com/knadh/koanf/pull/357)
- [@&#8203;n0cloud](https://redirect.github.com/n0cloud) made their
first contribution in
[https://github.com/knadh/koanf/pull/361](https://redirect.github.com/knadh/koanf/pull/361)
- [@&#8203;nickchomey](https://redirect.github.com/nickchomey) made
their first contribution in
[https://github.com/knadh/koanf/pull/355](https://redirect.github.com/knadh/koanf/pull/355)

**Full Changelog**:
https://github.com/knadh/koanf/compare/v2.2.0...v2.2.1

</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:eyJjcmVhdGVkSW5WZXIiOiI0MC40OC41IiwidXBkYXRlZEluVmVyIjoiNDAuNDguNSIsInRhcmdldEJyYW5jaCI6Im1haW4iLCJsYWJlbHMiOlsiZGVwZW5kZW5jaWVzIiwicmVub3ZhdGVib3QiXX0=-->

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: opentelemetrybot <107717825+opentelemetrybot@users.noreply.github.com>
2025-06-10 14:21:05 +00:00
OpenTelemetry Bot ab80fb406a
[chore] Prepare release v1.34.0/v0.128.0 (#13180)
The following commands were run to prepare this release:
- make chlog-update VERSION=v1.34.0/v0.128.0
- make prepare-release PREVIOUS_VERSION=1[.]33[.]0
RELEASE_CANDIDATE=1.34.0 MODSET=stable
- make prepare-release PREVIOUS_VERSION=0[.]127[.]0
RELEASE_CANDIDATE=0.128.0 MODSET=beta
2025-06-09 16:08:43 +00:00
Pablo Baeyens e8ca607b79
[receiver/otlpreceiver] Use configoptional type (#13119)
<!--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 -->

Uses `configoptional.Optional` for fields in `protocols` section.

Removes `Unmarshal` method since it is no longer needed.

These are both breaking changes, I think it would be a bit difficult to
do this in two steps, I am happy to work on fixing contrib after this is
merged.

#### Link to tracking issue
Fixes #12980
2025-06-05 11:06:33 +00:00
OpenTelemetry Bot 2353b750bd
[chore] Prepare release v1.33.0/v0.127.0 (#13094)
The following commands were run to prepare this release:
- make chlog-update VERSION=v1.33.0/v0.127.0
- make prepare-release PREVIOUS_VERSION=1[.]32[.]0
RELEASE_CANDIDATE=1.33.0 MODSET=stable
- make prepare-release PREVIOUS_VERSION=0[.]126[.]0
RELEASE_CANDIDATE=0.127.0 MODSET=beta
2025-05-26 19:18:37 +00:00
OpenTelemetry Bot c2431f0ec1
[chore] Prepare release v1.32.0/v0.126.0 (#13026)
The following commands were run to prepare this release:
- make chlog-update VERSION=v1.32.0/v0.126.0
- make prepare-release PREVIOUS_VERSION=1[.]31[.]0
RELEASE_CANDIDATE=1.32.0 MODSET=stable
- make prepare-release PREVIOUS_VERSION=0[.]125[.]0
RELEASE_CANDIDATE=0.126.0 MODSET=beta

---------

Co-authored-by: Dmitry Anoshin <anoshindx@gmail.com>
2025-05-13 05:00:49 +00:00
Alex Boten 4ca0f1829e
update semconv dependency to otelgo's semconv package (#12991)
This updates the calls to the collector's internal semconv package with
otelgo's instead. The main difference is how the keys can be used, they
will need to be cast as strings where they key name is needed, otherwise
it's not a huge change. This would allow us to stop producing our own
semconv package once contrib is moved as well.

Related to
https://github.com/open-telemetry/opentelemetry-collector/issues/10346,
https://github.com/open-telemetry/opentelemetry-collector/issues/11828,
https://github.com/open-telemetry/opentelemetry-collector/issues/11807

---------

Signed-off-by: Alex Boten <223565+codeboten@users.noreply.github.com>
2025-05-09 19:04:08 +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
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
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
renovate[bot] 1572a5bc47
fix(deps): update all github.com/knadh/koanf packages to v1 (major) (#12864)
This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
|
[github.com/knadh/koanf/parsers/yaml](https://redirect.github.com/knadh/koanf)
| `v0.1.0` -> `v1.0.0` |
[![age](https://developer.mend.io/api/mc/badges/age/go/github.com%2fknadh%2fkoanf%2fparsers%2fyaml/v1.0.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/go/github.com%2fknadh%2fkoanf%2fparsers%2fyaml/v1.0.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/go/github.com%2fknadh%2fkoanf%2fparsers%2fyaml/v0.1.0/v1.0.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/go/github.com%2fknadh%2fkoanf%2fparsers%2fyaml/v0.1.0/v1.0.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
|
[github.com/knadh/koanf/providers/confmap](https://redirect.github.com/knadh/koanf)
| `v0.1.0` -> `v1.0.0` |
[![age](https://developer.mend.io/api/mc/badges/age/go/github.com%2fknadh%2fkoanf%2fproviders%2fconfmap/v1.0.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/go/github.com%2fknadh%2fkoanf%2fproviders%2fconfmap/v1.0.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/go/github.com%2fknadh%2fkoanf%2fproviders%2fconfmap/v0.1.0/v1.0.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/go/github.com%2fknadh%2fkoanf%2fproviders%2fconfmap/v0.1.0/v1.0.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
|
[github.com/knadh/koanf/providers/fs](https://redirect.github.com/knadh/koanf)
| `v0.1.0` -> `v1.0.0` |
[![age](https://developer.mend.io/api/mc/badges/age/go/github.com%2fknadh%2fkoanf%2fproviders%2ffs/v1.0.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/go/github.com%2fknadh%2fkoanf%2fproviders%2ffs/v1.0.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/go/github.com%2fknadh%2fkoanf%2fproviders%2ffs/v0.1.0/v1.0.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/go/github.com%2fknadh%2fkoanf%2fproviders%2ffs/v0.1.0/v1.0.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|

---

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

⚠️ MAJOR VERSION UPDATE ⚠️ - please manually update this
package

---

### Release Notes

<details>
<summary>knadh/koanf (github.com/knadh/koanf/parsers/yaml)</summary>

###
[`v1.0.0`](https://redirect.github.com/knadh/koanf/releases/tag/v1.0.0)

[Compare
Source](https://redirect.github.com/knadh/koanf/compare/v0.1.0...v1.0.0)

- [`deea8ad`](https://redirect.github.com/knadh/koanf/commit/deea8ad)
Upgrade deps

</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:eyJjcmVhdGVkSW5WZXIiOiIzOS4yMzguMCIsInVwZGF0ZWRJblZlciI6IjM5LjIzOC4wIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6WyJkZXBlbmRlbmN5LW1ham9yLXVwZGF0ZSJdfQ==-->

---------

Signed-off-by: Alex Boten <223565+codeboten@users.noreply.github.com>
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-15 20:30:03 +00:00
renovate[bot] 720a2f1fb7
fix(deps): update module github.com/knadh/koanf/providers/env to v1.1.0 (#12854)
This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
|
[github.com/knadh/koanf/providers/env](https://redirect.github.com/knadh/koanf)
| `v1.0.0` -> `v1.1.0` |
[![age](https://developer.mend.io/api/mc/badges/age/go/github.com%2fknadh%2fkoanf%2fproviders%2fenv/v1.1.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/go/github.com%2fknadh%2fkoanf%2fproviders%2fenv/v1.1.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/go/github.com%2fknadh%2fkoanf%2fproviders%2fenv/v1.0.0/v1.1.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/go/github.com%2fknadh%2fkoanf%2fproviders%2fenv/v1.0.0/v1.1.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>knadh/koanf (github.com/knadh/koanf/providers/env)</summary>

###
[`v1.1.0`](https://redirect.github.com/knadh/koanf/releases/tag/v1.1.0)

[Compare
Source](https://redirect.github.com/knadh/koanf/compare/v1.0.0...v1.1.0)

- [`036e4bf`](https://redirect.github.com/knadh/koanf/commit/036e4bf)
Merge pull request
[#&#8203;79](https://redirect.github.com/knadh/koanf/issues/79) from
aeneasr/fix-memory-keyparts
- [`6692d05`](https://redirect.github.com/knadh/koanf/commit/6692d05)
Merge pull request
[#&#8203;78](https://redirect.github.com/knadh/koanf/issues/78) from
aeneasr/fix-memory-use
- [`d174d00`](https://redirect.github.com/knadh/koanf/commit/d174d00)
Reduce memory consumption for populateKeyParts
- [`1095e5e`](https://redirect.github.com/knadh/koanf/commit/1095e5e)
Significantly reduce memory use of maps.Flatten
- [`7d983f3`](https://redirect.github.com/knadh/koanf/commit/7d983f3)
Fix Watch() doc

</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:eyJjcmVhdGVkSW5WZXIiOiIzOS4yMzguMCIsInVwZGF0ZWRJblZlciI6IjM5LjIzOC4wIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6WyJkZXBlbmRlbmNpZXMiLCJyZW5vdmF0ZWJvdCJdfQ==-->

---------

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-04-15 17:38:58 +00:00
renovate[bot] 2b5b32a2e1
fix(deps): update module github.com/knadh/koanf/v2 to v2.2.0 (#12857)
This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [github.com/knadh/koanf/v2](https://redirect.github.com/knadh/koanf) |
`v2.1.2` -> `v2.2.0` |
[![age](https://developer.mend.io/api/mc/badges/age/go/github.com%2fknadh%2fkoanf%2fv2/v2.2.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/go/github.com%2fknadh%2fkoanf%2fv2/v2.2.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/go/github.com%2fknadh%2fkoanf%2fv2/v2.1.2/v2.2.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/go/github.com%2fknadh%2fkoanf%2fv2/v2.1.2/v2.2.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>knadh/koanf (github.com/knadh/koanf/v2)</summary>

###
[`v2.2.0`](https://redirect.github.com/knadh/koanf/releases/tag/v2.2.0)

[Compare
Source](https://redirect.github.com/knadh/koanf/compare/v2.1.2...v2.2.0)

This release sets the min required Go version to v1.23.0

An increasing number of important updates to various deps, including
golang.org/x/\*, require go >= 1.23.0. It is now untenable
to maintain support for older Go versions. This does not break existing
installations, just that further updates will only be available to newer
Go versions.

#### What's Changed

- Update CI by [@&#8203;StefMa](https://redirect.github.com/StefMa) in
[https://github.com/knadh/koanf/pull/332](https://redirect.github.com/knadh/koanf/pull/332)
- Fix typos by
[@&#8203;NathanBaulch](https://redirect.github.com/NathanBaulch) in
[https://github.com/knadh/koanf/pull/336](https://redirect.github.com/knadh/koanf/pull/336)
- adds urfave/cli/v2 flag parser by
[@&#8203;joicemjoseph](https://redirect.github.com/joicemjoseph) in
[https://github.com/knadh/koanf/pull/330](https://redirect.github.com/knadh/koanf/pull/330)
- Bump golang.org/x/net from 0.23.0 to 0.36.0 in /providers/consul by
[@&#8203;dependabot](https://redirect.github.com/dependabot) in
[https://github.com/knadh/koanf/pull/342](https://redirect.github.com/knadh/koanf/pull/342)
- Added support for Azure Keyvault by
[@&#8203;arawin1979](https://redirect.github.com/arawin1979) in
[https://github.com/knadh/koanf/pull/343](https://redirect.github.com/knadh/koanf/pull/343)
- Bump golang.org/x/crypto from 0.21.0 to 0.35.0 in /providers/vault by
[@&#8203;dependabot](https://redirect.github.com/dependabot) in
[https://github.com/knadh/koanf/pull/348](https://redirect.github.com/knadh/koanf/pull/348)
- Bump golang.org/x/crypto from 0.17.0 to 0.35.0 in /providers/nats by
[@&#8203;dependabot](https://redirect.github.com/dependabot) in
[https://github.com/knadh/koanf/pull/347](https://redirect.github.com/knadh/koanf/pull/347)
- Bump github.com/golang-jwt/jwt/v5 from 5.2.1 to 5.2.2 in /examples by
[@&#8203;dependabot](https://redirect.github.com/dependabot) in
[https://github.com/knadh/koanf/pull/346](https://redirect.github.com/knadh/koanf/pull/346)
- Bump golang.org/x/net from 0.23.0 to 0.36.0 in /providers/vault by
[@&#8203;dependabot](https://redirect.github.com/dependabot) in
[https://github.com/knadh/koanf/pull/344](https://redirect.github.com/knadh/koanf/pull/344)
- Upgrade min Go version and deps across all providers and parsers by
[@&#8203;knadh](https://redirect.github.com/knadh) in
[https://github.com/knadh/koanf/pull/349](https://redirect.github.com/knadh/koanf/pull/349)

#### New Contributors

- [@&#8203;NathanBaulch](https://redirect.github.com/NathanBaulch) made
their first contribution in
[https://github.com/knadh/koanf/pull/336](https://redirect.github.com/knadh/koanf/pull/336)
- [@&#8203;joicemjoseph](https://redirect.github.com/joicemjoseph) made
their first contribution in
[https://github.com/knadh/koanf/pull/330](https://redirect.github.com/knadh/koanf/pull/330)
- [@&#8203;arawin1979](https://redirect.github.com/arawin1979) made
their first contribution in
[https://github.com/knadh/koanf/pull/343](https://redirect.github.com/knadh/koanf/pull/343)

**Full Changelog**:
https://github.com/knadh/koanf/compare/v2.1.2...v2.2.0

</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:eyJjcmVhdGVkSW5WZXIiOiIzOS4yMzguMCIsInVwZGF0ZWRJblZlciI6IjM5LjIzOC4wIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6WyJkZXBlbmRlbmNpZXMiLCJyZW5vdmF0ZWJvdCJdfQ==-->

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: opentelemetrybot <107717825+opentelemetrybot@users.noreply.github.com>
2025-04-15 16:45:18 +00:00
renovate[bot] e87962f89f
fix(deps): update module github.com/knadh/koanf/providers/file to v1.2.0 (#12855)
This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
|
[github.com/knadh/koanf/providers/file](https://redirect.github.com/knadh/koanf)
| `v1.1.2` -> `v1.2.0` |
[![age](https://developer.mend.io/api/mc/badges/age/go/github.com%2fknadh%2fkoanf%2fproviders%2ffile/v1.2.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/go/github.com%2fknadh%2fkoanf%2fproviders%2ffile/v1.2.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/go/github.com%2fknadh%2fkoanf%2fproviders%2ffile/v1.1.2/v1.2.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/go/github.com%2fknadh%2fkoanf%2fproviders%2ffile/v1.1.2/v1.2.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>knadh/koanf (github.com/knadh/koanf/providers/file)</summary>

###
[`v1.2.0`](https://redirect.github.com/knadh/koanf/releases/tag/v1.2.0)

- [`5fc619c`](https://redirect.github.com/knadh/koanf/commit/5fc619c)
Add Delim()
- [`f001ae3`](https://redirect.github.com/knadh/koanf/commit/f001ae3)
Merge pull request
[#&#8203;98](https://redirect.github.com/knadh/koanf/issues/98) from
knadh/fix-confmap-dep
- [`bc5fe47`](https://redirect.github.com/knadh/koanf/commit/bc5fe47)
Remove superfluous dependency on providers/confmap in the core

</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:eyJjcmVhdGVkSW5WZXIiOiIzOS4yMzguMCIsInVwZGF0ZWRJblZlciI6IjM5LjIzOC4wIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6WyJkZXBlbmRlbmNpZXMiLCJyZW5vdmF0ZWJvdCJdfQ==-->

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: opentelemetrybot <107717825+opentelemetrybot@users.noreply.github.com>
2025-04-15 16:44:47 +00:00
OpenTelemetry Bot cf18559059
[chore] Prepare release v1.30.0/v0.124.0 (#12834)
The following commands were run to prepare this release:
- make chlog-update VERSION=v1.30.0/v0.124.0
- make prepare-release PREVIOUS_VERSION=1[.]29[.]0
RELEASE_CANDIDATE=1.30.0 MODSET=stable
- make prepare-release PREVIOUS_VERSION=0[.]123[.]0
RELEASE_CANDIDATE=0.124.0 MODSET=beta
2025-04-14 19:00:26 +00:00
John L. Peterson (Jack) e9f3312dd8
[chore] [cmd/builder] update README.md (#12821)
Fix
https://github.com/open-telemetry/opentelemetry-collector-releases/issues/911

<!--Ex. Fixing a bug - Describe the bug and how this fixes the issue.
Ex. Adding a feature - Explain what this achieves.-->
#### Description
Fixes documentation issue where ocb does not respect a default config
file (needs to be specified via `--config`
<!-- Issue number if applicable -->
#### Link to tracking issue
Fixes
[#911](https://github.com/open-telemetry/opentelemetry-collector-releases/issues/911)

<!--Describe what testing was performed and which tests were added.-->
#### Testing
None, doc only
<!--Describe the documentation added.-->
#### Documentation
README.md
<!--Please delete paragraphs that you did not use before submitting.-->
2025-04-10 15:47:13 +00:00
Matthieu MOREL 564818fd7f
[chore]: fix testifylint rules (#12791)
#### Description

Fixes testifylint rules which where disabled with golangci-lint v2
upgrade

Signed-off-by: Matthieu MOREL <matthieu.morel35@gmail.com>
2025-04-02 23:10:07 +00:00
Tyler Helmuth 1ad6912e6c
[chore] Prepare release v1.29.0/v0.123.0 (#12773)
The following commands were run to prepare this release:

make chlog-update VERSION=v1.29.0/v0.123.0
make prepare-release PREVIOUS_VERSION=1.28.1 RELEASE_CANDIDATE=1.29.0
MODSET=stable
make prepare-release PREVIOUS_VERSION=0.122.1 RELEASE_CANDIDATE=0.123.0
MODSET=beta
2025-03-31 18:44:04 +00:00
Bogdan Drutu dae1d8edf4
[builder] Remove deprecated OtelColVersion, already an error if used (#12757)
As titled said, this is not a breaking change, since we only are going
to return a different error.

Signed-off-by: Bogdan Drutu <bogdandrutu@gmail.com>
2025-03-28 16:33:11 +00:00
Pablo Baeyens 0654ae52dd
[processor/processorhelper] Split into separate module (#12695)
<!--Ex. Fixing a bug - Describe the bug and how this fixes the issue.
Ex. Adding a feature - Explain what this achieves.-->
#### Description

Split processorhelper into a separate module. Similar to #12512 in
motivation and shape

<!-- Issue number if applicable -->
#### Link to tracking issue
Fixes #12678
2025-03-24 10:17:25 +00:00
Evan Bradley a17839e865
[chore] Prepare release v1.28.1/v0.122.1 (#12665)
The following commands were run to prepare this release:

* make chlog-update VERSION=v1.28.1/v0.122.1
* make prepare-release PREVIOUS_VERSION=1[.]28[.]0
RELEASE_CANDIDATE=1.28.1 MODSET=stable
* make prepare-release PREVIOUS_VERSION=0[.]122[.]0
RELEASE_CANDIDATE=0.122.1 MODSET=beta

---------

Co-authored-by: opentelemetrybot <107717825+opentelemetrybot@users.noreply.github.com>
2025-03-18 13:57:04 -07:00
OpenTelemetry Bot 8bc15fd4d7
[chore] Prepare release v1.28.0/v0.122.0 (#12650)
The following commands were run to prepare this release:
- make chlog-update VERSION=v1.28.0/v0.122.0
- make prepare-release PREVIOUS_VERSION=1[.]27[.]0
RELEASE_CANDIDATE=1.28.0 MODSET=stable
- make prepare-release PREVIOUS_VERSION=0[.]121[.]0
RELEASE_CANDIDATE=0.122.0 MODSET=beta
2025-03-17 21:38:50 +00:00
renovate[bot] 7267fcb5b7
Update All golang.org/x packages (#12605)
This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| golang.org/x/mod | `v0.23.0` -> `v0.24.0` |
[![age](https://developer.mend.io/api/mc/badges/age/go/golang.org%2fx%2fmod/v0.24.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/go/golang.org%2fx%2fmod/v0.24.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/go/golang.org%2fx%2fmod/v0.23.0/v0.24.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/go/golang.org%2fx%2fmod/v0.23.0/v0.24.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
| golang.org/x/net | `v0.36.0` -> `v0.37.0` |
[![age](https://developer.mend.io/api/mc/badges/age/go/golang.org%2fx%2fnet/v0.37.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/go/golang.org%2fx%2fnet/v0.37.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/go/golang.org%2fx%2fnet/v0.36.0/v0.37.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/go/golang.org%2fx%2fnet/v0.36.0/v0.37.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
| golang.org/x/sys | `v0.30.0` -> `v0.31.0` |
[![age](https://developer.mend.io/api/mc/badges/age/go/golang.org%2fx%2fsys/v0.31.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/go/golang.org%2fx%2fsys/v0.31.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/go/golang.org%2fx%2fsys/v0.30.0/v0.31.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/go/golang.org%2fx%2fsys/v0.30.0/v0.31.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
| golang.org/x/text | `v0.22.0` -> `v0.23.0` |
[![age](https://developer.mend.io/api/mc/badges/age/go/golang.org%2fx%2ftext/v0.23.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/go/golang.org%2fx%2ftext/v0.23.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/go/golang.org%2fx%2ftext/v0.22.0/v0.23.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/go/golang.org%2fx%2ftext/v0.22.0/v0.23.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
| golang.org/x/tools | `v0.30.0` -> `v0.31.0` |
[![age](https://developer.mend.io/api/mc/badges/age/go/golang.org%2fx%2ftools/v0.31.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/go/golang.org%2fx%2ftools/v0.31.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/go/golang.org%2fx%2ftools/v0.30.0/v0.31.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/go/golang.org%2fx%2ftools/v0.30.0/v0.31.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|

---

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

---

### 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.

👻 **Immortal**: This PR will be recreated if closed unmerged. Get
[config
help](https://redirect.github.com/renovatebot/renovate/discussions) if
that's undesired.

---

- [ ] <!-- 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:eyJjcmVhdGVkSW5WZXIiOiIzOS4xODUuNCIsInVwZGF0ZWRJblZlciI6IjM5LjE4NS40IiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6WyJkZXBlbmRlbmNpZXMiLCJyZW5vdmF0ZWJvdCJdfQ==-->

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Andrzej Stencel <andrzej.stencel@elastic.co>
Co-authored-by: opentelemetrybot <107717825+opentelemetrybot@users.noreply.github.com>
2025-03-11 15:30:41 +00:00
Braydon Kains 43405c5ac4
[chore] [builder] add metadata.yaml (#12592)
<!--Ex. Fixing a bug - Describe the bug and how this fixes the issue.
Ex. Adding a feature - Explain what this achieves.-->
#### Description
This PR adds a `metadata.yaml` file to `cmd/builder` to allow it to show
up in the issue templates. This makes it so the component is part of the
component dropdown.

<!-- Issue number if applicable -->
#### Link to tracking issue
I didn't open an issue cause it's just a chore task, but I can open one
if needed.

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

<!--Describe the documentation added.-->
#### Documentation
It's in the issue templates now!

<!--Please delete paragraphs that you did not use before submitting.-->
2025-03-10 14:39:35 +00:00
Alex Boten 9de8cfd281
[chore] update min version in tidy (#12584)
This was missed in the upgrade of go1.24

Signed-off-by: Alex Boten <223565+codeboten@users.noreply.github.com>
2025-03-07 18:33:06 +00:00
Pablo Baeyens d1f080535d
[receiverhelper] Split receiverhelper into a separate module (#12512)
<!--Ex. Fixing a bug - Describe the bug and how this fixes the issue.
Ex. Adding a feature - Explain what this achieves.-->
#### Description

Splits `receiverhelper` into a separate module.

<!-- Issue number if applicable -->
#### Link to tracking issue
Fixes #12514
2025-03-04 17:51:21 +00:00
OpenTelemetry Bot 9ff68e1d3b
[chore] Prepare release v1.27.0/v0.121.0 (#12534)
The following commands were run to prepare this release:
- make chlog-update VERSION=v1.27.0/v0.121.0
- make prepare-release PREVIOUS_VERSION=1[.]26[.]0
RELEASE_CANDIDATE=1.27.0 MODSET=stable
- make prepare-release PREVIOUS_VERSION=0[.]120[.]0
RELEASE_CANDIDATE=0.121.0 MODSET=beta
2025-03-03 16:27:02 +00:00
Israel Blancas 4397725dff
[processor/memorylimiter] Add profiles support to memorylimiter processor (#12454)
#### Description
Add profiles support to the memorylimiter processor.

#### Link to tracking issue
Fixes #12453

Signed-off-by: Israel Blancas <iblancasa@gmail.com>
2025-02-27 12:53:19 +00:00
Evan Bradley 42cdb5f4ed
[chore][cmd/builder] Improve main.go template formatting (#12503)
<!--Ex. Fixing a bug - Describe the bug and how this fixes the issue.
Ex. Adding a feature - Explain what this achieves.-->
#### Description

Puts the keys in `ConfigProviderSettings` to all be on their own lines
like the other keys in the struct.
2025-02-26 19:47:50 +00:00
John L. Peterson (Jack) 861fa203d7
[otelcol] add converters to components command (#12385)
<!--Ex. Fixing a bug - Describe the bug and how this fixes the issue.
Ex. Adding a feature - Explain what this achieves.-->
#### Description
Adds list of Converters to command `components`. Additionally, if this
is accepted, Converters must now implement `Type()` function as part of
interface. Given that there are no public converters in core or contrib
repos, I didn't feel like this would be a controversial change, and it
would be very easy for any private users of this interface to update
their code to support it.
<!-- Issue number if applicable -->
#### Link to tracking issue
Extends #11900

<!--Describe what testing was performed and which tests were added.-->
#### Testing
added test data to tests added in 11900, added test to collector_test.go

<!--Describe the documentation added.-->
#### Documentation
Changelog file
<!--Please delete paragraphs that you did not use before submitting.-->

---------

Co-authored-by: Pablo Baeyens <pablo.baeyens@datadoghq.com>
2025-02-26 11:57:17 +00:00
Pablo Baeyens 66e901c716
[extension] Deprecate extension/auth in favor of extension/extensionauth (#12478)
<!--Ex. Fixing a bug - Describe the bug and how this fixes the issue.
Ex. Adding a feature - Explain what this achieves.-->
#### Description

- Deprecates `extension/auth` in favor of `extension/extensionauth`.
- Deprecates `extension/auth/authtest` in favor of
`extension/auth/authtest`
2025-02-25 22:39:53 +00:00
John L. Peterson (Jack) 4d927b97e1
[service] create service/hostcapabilities package (#12375)
<!--Ex. Fixing a bug - Describe the bug and how this fixes the issue.
Ex. Adding a feature - Explain what this achieves.-->
#### Description
create `service/hostcapabilities` package to expose `GetModuleInfos()`
from service/host. Also moves getExporters interface for
`GetExporters()` to this package.
<!-- Issue number if applicable -->
#### Link to tracking issue
Addresses planned work from #12296

<!--Describe what testing was performed and which tests were added.-->
#### Testing
none, creates interface for existing function

<!--Describe the documentation added.-->
#### Documentation
changelog yaml
<!--Please delete paragraphs that you did not use before submitting.-->
2025-02-24 11:36:45 +00:00
renovate[bot] e574200c5f
Update module github.com/spf13/cobra to v1.9.1 (#12414)
This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [github.com/spf13/cobra](https://redirect.github.com/spf13/cobra) |
`v1.8.1` -> `v1.9.1` |
[![age](https://developer.mend.io/api/mc/badges/age/go/github.com%2fspf13%2fcobra/v1.9.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/go/github.com%2fspf13%2fcobra/v1.9.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/go/github.com%2fspf13%2fcobra/v1.8.1/v1.9.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/go/github.com%2fspf13%2fcobra/v1.8.1/v1.9.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>spf13/cobra (github.com/spf13/cobra)</summary>

###
[`v1.9.1`](https://redirect.github.com/spf13/cobra/releases/tag/v1.9.1)

[Compare
Source](https://redirect.github.com/spf13/cobra/compare/v1.9.0...v1.9.1)

##### 🐛 Fixes

- Fix CompletionFunc implementation by
[@&#8203;ccoVeille](https://redirect.github.com/ccoVeille) in
[https://github.com/spf13/cobra/pull/2234](https://redirect.github.com/spf13/cobra/pull/2234)
- Revert "Make detection for test-binary more universal
([#&#8203;2173](https://redirect.github.com/spf13/cobra/issues/2173))"
by [@&#8203;marckhouzam](https://redirect.github.com/marckhouzam) in
[https://github.com/spf13/cobra/pull/2235](https://redirect.github.com/spf13/cobra/pull/2235)

**Full Changelog**:
https://github.com/spf13/cobra/compare/v1.9.0...v1.9.1

###
[`v1.9.0`](https://redirect.github.com/spf13/cobra/releases/tag/v1.9.0)

[Compare
Source](https://redirect.github.com/spf13/cobra/compare/v1.8.1...v1.9.0)

####  Features

- Allow linker to perform deadcode elimination for program using Cobra
by [@&#8203;aarzilli](https://redirect.github.com/aarzilli) in
[https://github.com/spf13/cobra/pull/1956](https://redirect.github.com/spf13/cobra/pull/1956)
- Add default completion command even if there are no other sub-commands
by [@&#8203;marckhouzam](https://redirect.github.com/marckhouzam) in
[https://github.com/spf13/cobra/pull/1559](https://redirect.github.com/spf13/cobra/pull/1559)
- Add CompletionWithDesc helper by
[@&#8203;ccoVeille](https://redirect.github.com/ccoVeille) in
[https://github.com/spf13/cobra/pull/2231](https://redirect.github.com/spf13/cobra/pull/2231)

#### 🐛 Fixes

- Fix deprecation comment for Command.SetOutput by
[@&#8203;thaJeztah](https://redirect.github.com/thaJeztah) in
[https://github.com/spf13/cobra/pull/2172](https://redirect.github.com/spf13/cobra/pull/2172)
- Replace deprecated ioutil usage by
[@&#8203;nirs](https://redirect.github.com/nirs) in
[https://github.com/spf13/cobra/pull/2181](https://redirect.github.com/spf13/cobra/pull/2181)
- Fix --version help and output for plugins by
[@&#8203;nirs](https://redirect.github.com/nirs) in
[https://github.com/spf13/cobra/pull/2180](https://redirect.github.com/spf13/cobra/pull/2180)
- Allow to reset the templates to the default by
[@&#8203;marckhouzam](https://redirect.github.com/marckhouzam) in
[https://github.com/spf13/cobra/pull/2229](https://redirect.github.com/spf13/cobra/pull/2229)

#### 🤖 Completions

- Make Powershell completion work in constrained mode by
[@&#8203;lstemplinger](https://redirect.github.com/lstemplinger) in
[https://github.com/spf13/cobra/pull/2196](https://redirect.github.com/spf13/cobra/pull/2196)
- Improve detection for flags that accept multiple values by
[@&#8203;thaJeztah](https://redirect.github.com/thaJeztah) in
[https://github.com/spf13/cobra/pull/2210](https://redirect.github.com/spf13/cobra/pull/2210)
- add CompletionFunc type to help with completions by
[@&#8203;ccoVeille](https://redirect.github.com/ccoVeille) in
[https://github.com/spf13/cobra/pull/2220](https://redirect.github.com/spf13/cobra/pull/2220)
- Add similar whitespace escape logic to bash v2 completions than in
other completions by
[@&#8203;kangasta](https://redirect.github.com/kangasta) in
[https://github.com/spf13/cobra/pull/1743](https://redirect.github.com/spf13/cobra/pull/1743)
- Print ActiveHelp for bash along other completions by
[@&#8203;marckhouzam](https://redirect.github.com/marckhouzam) in
[https://github.com/spf13/cobra/pull/2076](https://redirect.github.com/spf13/cobra/pull/2076)
- fix(completions): Complete map flags multiple times by
[@&#8203;gabe565](https://redirect.github.com/gabe565) in
[https://github.com/spf13/cobra/pull/2174](https://redirect.github.com/spf13/cobra/pull/2174)
- fix(bash): nounset unbound file filter variable on empty extension by
[@&#8203;scop](https://redirect.github.com/scop) in
[https://github.com/spf13/cobra/pull/2228](https://redirect.github.com/spf13/cobra/pull/2228)

#### 🧪 Testing

- Test also with go 1.23 by
[@&#8203;nirs](https://redirect.github.com/nirs) in
[https://github.com/spf13/cobra/pull/2182](https://redirect.github.com/spf13/cobra/pull/2182)
- Make detection for test-binary more universal by
[@&#8203;thaJeztah](https://redirect.github.com/thaJeztah) in
[https://github.com/spf13/cobra/pull/2173](https://redirect.github.com/spf13/cobra/pull/2173)

#### ✍🏼 Documentation

- docs: update README.md by
[@&#8203;eltociear](https://redirect.github.com/eltociear) in
[https://github.com/spf13/cobra/pull/2197](https://redirect.github.com/spf13/cobra/pull/2197)
- Improve site formatting by
[@&#8203;nirs](https://redirect.github.com/nirs) in
[https://github.com/spf13/cobra/pull/2183](https://redirect.github.com/spf13/cobra/pull/2183)
- doc: add Conduit by [@&#8203;raulb](https://redirect.github.com/raulb)
in
[https://github.com/spf13/cobra/pull/2230](https://redirect.github.com/spf13/cobra/pull/2230)
- doc: azion project added to the list of CLIs that use cobra by
[@&#8203;maxwelbm](https://redirect.github.com/maxwelbm) in
[https://github.com/spf13/cobra/pull/2198](https://redirect.github.com/spf13/cobra/pull/2198)
- Fix broken links in active_help.md by
[@&#8203;vuil](https://redirect.github.com/vuil) in
[https://github.com/spf13/cobra/pull/2202](https://redirect.github.com/spf13/cobra/pull/2202)
- chore: fix function name in comment by
[@&#8203;zhuhaicity](https://redirect.github.com/zhuhaicity) in
[https://github.com/spf13/cobra/pull/2216](https://redirect.github.com/spf13/cobra/pull/2216)

#### 🔧 Dependency upgrades

- build(deps): bump github.com/cpuguy83/go-md2man/v2 from 2.0.5 to 2.0.6
by [@&#8203;thaJeztah](https://redirect.github.com/thaJeztah) in
[https://github.com/spf13/cobra/pull/2206](https://redirect.github.com/spf13/cobra/pull/2206)
- Update to latest go-md2man by
[@&#8203;mikelolasagasti](https://redirect.github.com/mikelolasagasti)
in
[https://github.com/spf13/cobra/pull/2201](https://redirect.github.com/spf13/cobra/pull/2201)
- Upgrade `pflag` dependencies for v1.9.0 by
[@&#8203;jpmcb](https://redirect.github.com/jpmcb) in
[https://github.com/spf13/cobra/pull/2233](https://redirect.github.com/spf13/cobra/pull/2233)

***

Thank you to all of our amazing contributors and all the great work
that's been going into the completions feature!!

##### 👋🏼 New Contributors

- [@&#8203;gabe565](https://redirect.github.com/gabe565) made their
first contribution in
[https://github.com/spf13/cobra/pull/2174](https://redirect.github.com/spf13/cobra/pull/2174)
- [@&#8203;maxwelbm](https://redirect.github.com/maxwelbm) made their
first contribution in
[https://github.com/spf13/cobra/pull/2198](https://redirect.github.com/spf13/cobra/pull/2198)
- [@&#8203;lstemplinger](https://redirect.github.com/lstemplinger) made
their first contribution in
[https://github.com/spf13/cobra/pull/2196](https://redirect.github.com/spf13/cobra/pull/2196)
- [@&#8203;vuil](https://redirect.github.com/vuil) made their first
contribution in
[https://github.com/spf13/cobra/pull/2202](https://redirect.github.com/spf13/cobra/pull/2202)
- [@&#8203;mikelolasagasti](https://redirect.github.com/mikelolasagasti)
made their first contribution in
[https://github.com/spf13/cobra/pull/2201](https://redirect.github.com/spf13/cobra/pull/2201)
- [@&#8203;zhuhaicity](https://redirect.github.com/zhuhaicity) made
their first contribution in
[https://github.com/spf13/cobra/pull/2216](https://redirect.github.com/spf13/cobra/pull/2216)
- [@&#8203;ccoVeille](https://redirect.github.com/ccoVeille) made their
first contribution in
[https://github.com/spf13/cobra/pull/2220](https://redirect.github.com/spf13/cobra/pull/2220)
- [@&#8203;kangasta](https://redirect.github.com/kangasta) made their
first contribution in
[https://github.com/spf13/cobra/pull/1743](https://redirect.github.com/spf13/cobra/pull/1743)
- [@&#8203;aarzilli](https://redirect.github.com/aarzilli) made their
first contribution in
[https://github.com/spf13/cobra/pull/1956](https://redirect.github.com/spf13/cobra/pull/1956)

**Full Changelog**:
https://github.com/spf13/cobra/compare/v1.8.1...v1.9.0

</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:eyJjcmVhdGVkSW5WZXIiOiIzOS4xNjcuMSIsInVwZGF0ZWRJblZlciI6IjM5LjE2Ny4xIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6WyJkZXBlbmRlbmNpZXMiLCJyZW5vdmF0ZWJvdCJdfQ==-->

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: opentelemetrybot <107717825+opentelemetrybot@users.noreply.github.com>
2025-02-18 05:22:59 +00:00
OpenTelemetry Bot c87bda5bd0
[chore] Prepare release v1.26.0/v0.120.0 (#12412)
The following commands were run to prepare this release:
- make chlog-update VERSION=v1.26.0/v0.120.0
- make prepare-release PREVIOUS_VERSION=1[.]25[.]0
RELEASE_CANDIDATE=1.26.0 MODSET=stable
- make prepare-release PREVIOUS_VERSION=0[.]119[.]0
RELEASE_CANDIDATE=0.120.0 MODSET=beta
2025-02-18 00:10:21 +00:00