Commit Graph

150 Commits

Author SHA1 Message Date
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
renovate[bot] 2710d0dd4e
Update module github.com/google/go-tpm to v0.9.4 (#12966)
This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [github.com/google/go-tpm](https://redirect.github.com/google/go-tpm)
| `v0.9.3` -> `v0.9.4` |
[![age](https://developer.mend.io/api/mc/badges/age/go/github.com%2fgoogle%2fgo-tpm/v0.9.4?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/go/github.com%2fgoogle%2fgo-tpm/v0.9.4?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/go/github.com%2fgoogle%2fgo-tpm/v0.9.3/v0.9.4?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/go/github.com%2fgoogle%2fgo-tpm/v0.9.3/v0.9.4?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>google/go-tpm (github.com/google/go-tpm)</summary>

###
[`v0.9.4`](https://redirect.github.com/google/go-tpm/releases/tag/v0.9.4)

[Compare
Source](https://redirect.github.com/google/go-tpm/compare/v0.9.3...v0.9.4)

#### What's Changed

- Tolerate differences in RSA private key libraries by
[@&#8203;chrisfenner](https://redirect.github.com/chrisfenner) in
[https://github.com/google/go-tpm/pull/383](https://redirect.github.com/google/go-tpm/pull/383)
- Add TPM2\_HMAC implementation by
[@&#8203;ludi317](https://redirect.github.com/ludi317) in
[https://github.com/google/go-tpm/pull/385](https://redirect.github.com/google/go-tpm/pull/385)
- Improve TPMUSymKeyBits and TPMUSymMode by
[@&#8203;AlexandreEXFO](https://redirect.github.com/AlexandreEXFO) in
[https://github.com/google/go-tpm/pull/384](https://redirect.github.com/google/go-tpm/pull/384)
- Implement TCP TPM protocol by
[@&#8203;chrisfenner](https://redirect.github.com/chrisfenner) in
[https://github.com/google/go-tpm/pull/387](https://redirect.github.com/google/go-tpm/pull/387)
- tpm2: Fix typo in MakeCredential cmd by
[@&#8203;loicsikidi](https://redirect.github.com/loicsikidi) in
[https://github.com/google/go-tpm/pull/391](https://redirect.github.com/google/go-tpm/pull/391)
- TPM2\_PCR_Allocate support by
[@&#8203;zhsh](https://redirect.github.com/zhsh) in
[https://github.com/google/go-tpm/pull/394](https://redirect.github.com/google/go-tpm/pull/394)
- Check for padding bytes in EK cert by
[@&#8203;dwaynebradley](https://redirect.github.com/dwaynebradley) in
[https://github.com/google/go-tpm/pull/397](https://redirect.github.com/google/go-tpm/pull/397)
- add support for ECMQV by
[@&#8203;chrisfenner](https://redirect.github.com/chrisfenner) in
[https://github.com/google/go-tpm/pull/399](https://redirect.github.com/google/go-tpm/pull/399)

#### New Contributors

- [@&#8203;ludi317](https://redirect.github.com/ludi317) made their
first contribution in
[https://github.com/google/go-tpm/pull/385](https://redirect.github.com/google/go-tpm/pull/385)
- [@&#8203;loicsikidi](https://redirect.github.com/loicsikidi) made
their first contribution in
[https://github.com/google/go-tpm/pull/391](https://redirect.github.com/google/go-tpm/pull/391)
- [@&#8203;zhsh](https://redirect.github.com/zhsh) made their first
contribution in
[https://github.com/google/go-tpm/pull/394](https://redirect.github.com/google/go-tpm/pull/394)
- [@&#8203;dwaynebradley](https://redirect.github.com/dwaynebradley)
made their first contribution in
[https://github.com/google/go-tpm/pull/397](https://redirect.github.com/google/go-tpm/pull/397)

**Full Changelog**:
https://github.com/google/go-tpm/compare/v0.9.3...v0.9.4

</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:31:29 +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
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
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
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
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
Alex Boten 582fbbe3fa
update yaml dependency (#12838)
#### Description

This updates replace gopkg.in/yaml.v3 with sigs.k8s.io/yaml

#### Link to tracking issue
Fixes #12827

Signed-off-by: Alex Boten <223565+codeboten@users.noreply.github.com>
2025-04-15 14:52:19 +00:00
Antoine Toulme b3e68c3756
[chore] prevent unkeyed literal initialization (#12762)
This relates to
https://github.com/open-telemetry/opentelemetry-collector/issues/12360

Co-authored-by: Andrzej Stencel <andrzej.stencel@elastic.co>
2025-04-15 08:18:07 +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
renovate[bot] e7bbf161e6
Update module github.com/fsnotify/fsnotify to v1.9.0 (#12807)
This PR contains the following updates:

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

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

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

##### Changes and fixes

-   all: make BufferedWatcher buffered again ([#&#8203;657])

- inotify: fix race when adding/removing watches while a watched path is
being deleted ([#&#8203;678], [#&#8203;686])

- inotify: don't send empty event if a watched path is unmounted
([#&#8203;655])

- inotify: don't register duplicate watches when watching both a symlink
and its target; previously that would get "half-added" and removing the
second would panic ([#&#8203;679])

-   kqueue: fix watching relative symlinks ([#&#8203;681])

- kqueue: correctly mark pre-existing entries when watching a link to a
dir on kqueue ([#&#8203;682])

- illumos: don't send error if changed file is deleted while processing
the event ([#&#8203;678])

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

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

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

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

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

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

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

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

---------

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: Yang Song <songy23@users.noreply.github.com>
2025-04-08 17:14:41 +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
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
Matthew Sainsbury 7d3e03e500
[chore] replace deprecated tenv with usetesting (#12576)
#### Description
There are a bunch of warnings in the lint output about tenv being
deprecated, and moving to usetesting. Reference:
https://golangci-lint.run/usage/linters/#tenv

#### Link to tracking issue
none

#### Testing
Ran `make golint` and `make all`
<!--Describe the documentation added.-->

---------

Co-authored-by: Pablo Baeyens <pablo.baeyens@datadoghq.com>
2025-03-07 19:42:15 +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
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
Alex Boten e4b9425241
bump minimum supported go version to 1.23 (#12370)
With the release of 1.24, we need to bump the tested versions.

---------

Signed-off-by: Alex Boten <223565+codeboten@users.noreply.github.com>
2025-02-12 15:03:19 +00:00
Evan Bradley b036e4d8d1
[configtls] Add `omitempty` tags to fields (#12311)
<!--Ex. Fixing a bug - Describe the bug and how this fixes the issue.
Ex. Adding a feature - Explain what this achieves.-->
#### Description

This will dramatically reduce YAML output when marshaling config for
many receivers and exporters since it's commonly used.

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

Works toward #12191
2025-02-10 16:52:17 +00:00
OpenTelemetry Bot 1565021f45
[chore] Prepare release v1.25.0/v0.119.0 (#12263)
The following commands were run to prepare this release:
- make chlog-update VERSION=v1.25.0/v0.119.0
- make prepare-release PREVIOUS_VERSION=1[.]24[.]0
RELEASE_CANDIDATE=1.25.0 MODSET=stable
- make prepare-release PREVIOUS_VERSION=0[.]118[.]0
RELEASE_CANDIDATE=0.119.0 MODSET=beta
2025-02-04 00:17:52 +00:00
Vihas Makwana c119b2a55e
[configtls] add new config to specify TLS curve preferences (#12174)
<!--Ex. Fixing a bug - Describe the bug and how this fixes the issue.
Ex. Adding a feature - Explain what this achieves.-->
#### Description
Allow users to mention their preferred curve types for ECDHE handshake.
Add a new config option for this.
This will provide users with more control over specific settings during
the handshake process.

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

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

Note: Please let me know if I need to open an issue for this.
2025-01-30 00:02:11 +00:00
OpenTelemetry Bot e87797c1df
[chore] Prepare release v1.24.0/v0.118.0 (#12135)
The following commands were run to prepare this release:
- make chlog-update VERSION=v1.24.0/v0.118.0
- make prepare-release PREVIOUS_VERSION=1[.]23[.]0
RELEASE_CANDIDATE=1.24.0 MODSET=stable
- make prepare-release PREVIOUS_VERSION=0[.]117[.]0
RELEASE_CANDIDATE=0.118.0 MODSET=beta
2025-01-20 23:20:35 +00:00
OpenTelemetry Bot 795f727e05
[chore] Prepare release v1.23.0/v0.117.0 (#12043)
The following commands were run to prepare this release:
- make chlog-update VERSION=v1.23.0/v0.117.0
- make prepare-release PREVIOUS_VERSION=1[.]22[.]0
RELEASE_CANDIDATE=1.23.0 MODSET=stable
- make prepare-release PREVIOUS_VERSION=0[.]116[.]0
RELEASE_CANDIDATE=0.117.0 MODSET=beta

This PR also includes fix
https://github.com/open-telemetry/opentelemetry-collector/pull/12051 to
reduce back-and-forths

---------

Co-authored-by: Dmitrii Anoshin <anoshindx@gmail.com>
2025-01-07 22:54:22 +00:00
OpenTelemetry Bot 095b183fd8
[chore] Prepare release v1.22.0/v0.116.0 (#11910)
The following commands were run to prepare this release:
- make chlog-update VERSION=v1.22.0/v0.116.0
- make prepare-release PREVIOUS_VERSION=1[.]21[.]0
RELEASE_CANDIDATE=1.22.0 MODSET=stable
- make prepare-release PREVIOUS_VERSION=0[.]115[.]0
RELEASE_CANDIDATE=0.116.0 MODSET=beta
2024-12-16 21:25:57 +00:00
Matthieu MOREL 808fb7c260
[chore]: enable gofumpt linter in client, cmd, component, config and confmap (#11587)
#### Description

[gofumpt](https://golangci-lint.run/usage/linters/#gofumpt) is a
stricter format than gofmt, while being backwards compatible.

Signed-off-by: Matthieu MOREL <matthieu.morel35@gmail.com>
2024-12-11 08:50:57 +00:00
OpenTelemetry Bot a65008e7ef
[chore] Prepare release v1.21.0/v0.115.0 (#11788)
The following commands were run to prepare this release:
- make chlog-update VERSION=v1.21.0/v0.115.0
- make prepare-release PREVIOUS_VERSION=1[.]20[.]0
RELEASE_CANDIDATE=1.21.0 MODSET=stable
- make prepare-release PREVIOUS_VERSION=0[.]114[.]0
RELEASE_CANDIDATE=0.115.0 MODSET=beta
2024-12-03 13:22:05 -08:00
renovate[bot] e91dafacd9
fix(deps): update module github.com/stretchr/testify to v1.10.0 (#11751)
This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
|
[github.com/stretchr/testify](https://redirect.github.com/stretchr/testify)
| `v1.9.0` -> `v1.10.0` |
[![age](https://developer.mend.io/api/mc/badges/age/go/github.com%2fstretchr%2ftestify/v1.10.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/go/github.com%2fstretchr%2ftestify/v1.10.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/go/github.com%2fstretchr%2ftestify/v1.9.0/v1.10.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/go/github.com%2fstretchr%2ftestify/v1.9.0/v1.10.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>stretchr/testify (github.com/stretchr/testify)</summary>

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

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

#### What's Changed

##### Functional Changes

- Add PanicAssertionFunc by
[@&#8203;fahimbagar](https://redirect.github.com/fahimbagar) in
[https://github.com/stretchr/testify/pull/1337](https://redirect.github.com/stretchr/testify/pull/1337)
- assert: deprecate CompareType by
[@&#8203;dolmen](https://redirect.github.com/dolmen) in
[https://github.com/stretchr/testify/pull/1566](https://redirect.github.com/stretchr/testify/pull/1566)
- assert: make YAML dependency pluggable via build tags by
[@&#8203;dolmen](https://redirect.github.com/dolmen) in
[https://github.com/stretchr/testify/pull/1579](https://redirect.github.com/stretchr/testify/pull/1579)
- assert: new assertion NotElementsMatch by
[@&#8203;hendrywiranto](https://redirect.github.com/hendrywiranto) in
[https://github.com/stretchr/testify/pull/1600](https://redirect.github.com/stretchr/testify/pull/1600)
- mock: in order mock calls by
[@&#8203;ReyOrtiz](https://redirect.github.com/ReyOrtiz) in
[https://github.com/stretchr/testify/pull/1637](https://redirect.github.com/stretchr/testify/pull/1637)
- Add assertion for NotErrorAs by
[@&#8203;palsivertsen](https://redirect.github.com/palsivertsen) in
[https://github.com/stretchr/testify/pull/1129](https://redirect.github.com/stretchr/testify/pull/1129)
- Record Return Arguments of a Call by
[@&#8203;jayd3e](https://redirect.github.com/jayd3e) in
[https://github.com/stretchr/testify/pull/1636](https://redirect.github.com/stretchr/testify/pull/1636)
- assert.EqualExportedValues: accepts everything by
[@&#8203;redachl](https://redirect.github.com/redachl) in
[https://github.com/stretchr/testify/pull/1586](https://redirect.github.com/stretchr/testify/pull/1586)

##### Fixes

- assert: make tHelper a type alias by
[@&#8203;dolmen](https://redirect.github.com/dolmen) in
[https://github.com/stretchr/testify/pull/1562](https://redirect.github.com/stretchr/testify/pull/1562)
- Do not get argument again unnecessarily in Arguments.Error() by
[@&#8203;TomWright](https://redirect.github.com/TomWright) in
[https://github.com/stretchr/testify/pull/820](https://redirect.github.com/stretchr/testify/pull/820)
- Fix time.Time compare by
[@&#8203;myxo](https://redirect.github.com/myxo) in
[https://github.com/stretchr/testify/pull/1582](https://redirect.github.com/stretchr/testify/pull/1582)
- assert.Regexp: handle \[]byte array properly by
[@&#8203;kevinburkesegment](https://redirect.github.com/kevinburkesegment)
in
[https://github.com/stretchr/testify/pull/1587](https://redirect.github.com/stretchr/testify/pull/1587)
- assert: collect.FailNow() should not panic by
[@&#8203;marshall-lee](https://redirect.github.com/marshall-lee) in
[https://github.com/stretchr/testify/pull/1481](https://redirect.github.com/stretchr/testify/pull/1481)
- mock: simplify implementation of FunctionalOptions by
[@&#8203;dolmen](https://redirect.github.com/dolmen) in
[https://github.com/stretchr/testify/pull/1571](https://redirect.github.com/stretchr/testify/pull/1571)
- mock: caller information for unexpected method call by
[@&#8203;spirin](https://redirect.github.com/spirin) in
[https://github.com/stretchr/testify/pull/1644](https://redirect.github.com/stretchr/testify/pull/1644)
- suite: fix test failures by
[@&#8203;stevenh](https://redirect.github.com/stevenh) in
[https://github.com/stretchr/testify/pull/1421](https://redirect.github.com/stretchr/testify/pull/1421)
- Fix issue
[#&#8203;1662](https://redirect.github.com/stretchr/testify/issues/1662)
(comparing infs should fail) by
[@&#8203;ybrustin](https://redirect.github.com/ybrustin) in
[https://github.com/stretchr/testify/pull/1663](https://redirect.github.com/stretchr/testify/pull/1663)
- NotSame should fail if args are not pointers
[#&#8203;1661](https://redirect.github.com/stretchr/testify/issues/1661)
by [@&#8203;sikehish](https://redirect.github.com/sikehish) in
[https://github.com/stretchr/testify/pull/1664](https://redirect.github.com/stretchr/testify/pull/1664)
- Increase timeouts in Test_Mock_Called_blocks to reduce flakiness in CI
by [@&#8203;sikehish](https://redirect.github.com/sikehish) in
[https://github.com/stretchr/testify/pull/1667](https://redirect.github.com/stretchr/testify/pull/1667)
- fix: compare functional option names for indirect calls by
[@&#8203;arjun-1](https://redirect.github.com/arjun-1) in
[https://github.com/stretchr/testify/pull/1626](https://redirect.github.com/stretchr/testify/pull/1626)

##### Documantation, Build & CI

- .gitignore: ignore "go test -c" binaries by
[@&#8203;dolmen](https://redirect.github.com/dolmen) in
[https://github.com/stretchr/testify/pull/1565](https://redirect.github.com/stretchr/testify/pull/1565)
- mock: improve doc by
[@&#8203;dolmen](https://redirect.github.com/dolmen) in
[https://github.com/stretchr/testify/pull/1570](https://redirect.github.com/stretchr/testify/pull/1570)
- mock: fix FunctionalOptions docs by
[@&#8203;snirye](https://redirect.github.com/snirye) in
[https://github.com/stretchr/testify/pull/1433](https://redirect.github.com/stretchr/testify/pull/1433)
- README: link out to the excellent testifylint by
[@&#8203;brackendawson](https://redirect.github.com/brackendawson) in
[https://github.com/stretchr/testify/pull/1568](https://redirect.github.com/stretchr/testify/pull/1568)
- assert: fix typo in comment by
[@&#8203;JohnEndson](https://redirect.github.com/JohnEndson) in
[https://github.com/stretchr/testify/pull/1580](https://redirect.github.com/stretchr/testify/pull/1580)
- Correct the EventuallyWithT and EventuallyWithTf example by
[@&#8203;JonCrowther](https://redirect.github.com/JonCrowther) in
[https://github.com/stretchr/testify/pull/1588](https://redirect.github.com/stretchr/testify/pull/1588)
- CI: bump softprops/action-gh-release from 1 to 2 by
[@&#8203;dependabot](https://redirect.github.com/dependabot) in
[https://github.com/stretchr/testify/pull/1575](https://redirect.github.com/stretchr/testify/pull/1575)
- mock: document more alternatives to deprecated AnythingOfTypeArgument
by [@&#8203;dolmen](https://redirect.github.com/dolmen) in
[https://github.com/stretchr/testify/pull/1569](https://redirect.github.com/stretchr/testify/pull/1569)
- assert: Correctly document EqualValues behavior by
[@&#8203;brackendawson](https://redirect.github.com/brackendawson) in
[https://github.com/stretchr/testify/pull/1593](https://redirect.github.com/stretchr/testify/pull/1593)
- fix: grammar in godoc by
[@&#8203;miparnisari](https://redirect.github.com/miparnisari) in
[https://github.com/stretchr/testify/pull/1607](https://redirect.github.com/stretchr/testify/pull/1607)
- .github/workflows: Run tests for Go 1.22 by
[@&#8203;HaraldNordgren](https://redirect.github.com/HaraldNordgren) in
[https://github.com/stretchr/testify/pull/1629](https://redirect.github.com/stretchr/testify/pull/1629)
- Document suite's lack of support for t.Parallel by
[@&#8203;brackendawson](https://redirect.github.com/brackendawson) in
[https://github.com/stretchr/testify/pull/1645](https://redirect.github.com/stretchr/testify/pull/1645)
- assert: fix typos in comments by
[@&#8203;alexandear](https://redirect.github.com/alexandear) in
[https://github.com/stretchr/testify/pull/1650](https://redirect.github.com/stretchr/testify/pull/1650)
- mock: fix doc comment for NotBefore by
[@&#8203;alexandear](https://redirect.github.com/alexandear) in
[https://github.com/stretchr/testify/pull/1651](https://redirect.github.com/stretchr/testify/pull/1651)
- Generate better comments for require package by
[@&#8203;Neokil](https://redirect.github.com/Neokil) in
[https://github.com/stretchr/testify/pull/1610](https://redirect.github.com/stretchr/testify/pull/1610)
- README: replace Testify V2 notice with
[@&#8203;dolmen](https://redirect.github.com/dolmen)'s V2 manifesto by
[@&#8203;hendrywiranto](https://redirect.github.com/hendrywiranto) in
[https://github.com/stretchr/testify/pull/1518](https://redirect.github.com/stretchr/testify/pull/1518)

#### New Contributors

- [@&#8203;fahimbagar](https://redirect.github.com/fahimbagar) made
their first contribution in
[https://github.com/stretchr/testify/pull/1337](https://redirect.github.com/stretchr/testify/pull/1337)
- [@&#8203;TomWright](https://redirect.github.com/TomWright) made their
first contribution in
[https://github.com/stretchr/testify/pull/820](https://redirect.github.com/stretchr/testify/pull/820)
- [@&#8203;snirye](https://redirect.github.com/snirye) made their first
contribution in
[https://github.com/stretchr/testify/pull/1433](https://redirect.github.com/stretchr/testify/pull/1433)
- [@&#8203;myxo](https://redirect.github.com/myxo) made their first
contribution in
[https://github.com/stretchr/testify/pull/1582](https://redirect.github.com/stretchr/testify/pull/1582)
- [@&#8203;JohnEndson](https://redirect.github.com/JohnEndson) made
their first contribution in
[https://github.com/stretchr/testify/pull/1580](https://redirect.github.com/stretchr/testify/pull/1580)
- [@&#8203;JonCrowther](https://redirect.github.com/JonCrowther) made
their first contribution in
[https://github.com/stretchr/testify/pull/1588](https://redirect.github.com/stretchr/testify/pull/1588)
- [@&#8203;miparnisari](https://redirect.github.com/miparnisari) made
their first contribution in
[https://github.com/stretchr/testify/pull/1607](https://redirect.github.com/stretchr/testify/pull/1607)
- [@&#8203;marshall-lee](https://redirect.github.com/marshall-lee) made
their first contribution in
[https://github.com/stretchr/testify/pull/1481](https://redirect.github.com/stretchr/testify/pull/1481)
- [@&#8203;spirin](https://redirect.github.com/spirin) made their first
contribution in
[https://github.com/stretchr/testify/pull/1644](https://redirect.github.com/stretchr/testify/pull/1644)
- [@&#8203;ReyOrtiz](https://redirect.github.com/ReyOrtiz) made their
first contribution in
[https://github.com/stretchr/testify/pull/1637](https://redirect.github.com/stretchr/testify/pull/1637)
- [@&#8203;stevenh](https://redirect.github.com/stevenh) made their
first contribution in
[https://github.com/stretchr/testify/pull/1421](https://redirect.github.com/stretchr/testify/pull/1421)
- [@&#8203;jayd3e](https://redirect.github.com/jayd3e) made their first
contribution in
[https://github.com/stretchr/testify/pull/1636](https://redirect.github.com/stretchr/testify/pull/1636)
- [@&#8203;Neokil](https://redirect.github.com/Neokil) made their first
contribution in
[https://github.com/stretchr/testify/pull/1610](https://redirect.github.com/stretchr/testify/pull/1610)
- [@&#8203;redachl](https://redirect.github.com/redachl) made their
first contribution in
[https://github.com/stretchr/testify/pull/1586](https://redirect.github.com/stretchr/testify/pull/1586)
- [@&#8203;ybrustin](https://redirect.github.com/ybrustin) made their
first contribution in
[https://github.com/stretchr/testify/pull/1663](https://redirect.github.com/stretchr/testify/pull/1663)
- [@&#8203;sikehish](https://redirect.github.com/sikehish) made their
first contribution in
[https://github.com/stretchr/testify/pull/1664](https://redirect.github.com/stretchr/testify/pull/1664)
- [@&#8203;arjun-1](https://redirect.github.com/arjun-1) made their
first contribution in
[https://github.com/stretchr/testify/pull/1626](https://redirect.github.com/stretchr/testify/pull/1626)

**Full Changelog**:
https://github.com/stretchr/testify/compare/v1.9.0...v1.10.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:eyJjcmVhdGVkSW5WZXIiOiIzOS4xOS4wIiwidXBkYXRlZEluVmVyIjoiMzkuMTkuMCIsInRhcmdldEJyYW5jaCI6Im1haW4iLCJsYWJlbHMiOlsiZGVwZW5kZW5jaWVzIiwicmVub3ZhdGVib3QiXX0=-->

---------

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: opentelemetrybot <107717825+opentelemetrybot@users.noreply.github.com>
Co-authored-by: Alex Boten <223565+codeboten@users.noreply.github.com>
2024-11-26 11:09:39 -08:00
OpenTelemetry Bot 43fbb04cea
[chore] Prepare release v1.20.0/v0.114.0 (#11692)
The following commands were run to prepare this release:
- make chlog-update VERSION=v1.20.0/v0.114.0
- make prepare-release PREVIOUS_VERSION=1[.]19[.]0
RELEASE_CANDIDATE=1.20.0 MODSET=stable
- make prepare-release PREVIOUS_VERSION=0[.]113[.]0
RELEASE_CANDIDATE=0.114.0 MODSET=beta

---------

Signed-off-by: Alex Boten <223565+codeboten@users.noreply.github.com>
Co-authored-by: Alex Boten <223565+codeboten@users.noreply.github.com>
2024-11-18 11:42:17 -08:00
Matthieu MOREL e053173aed
[chore]: enable perfsprint linter (#11599)
#### Description

[perfsprint](https://golangci-lint.run/usage/linters/#perfsprint) checks
that fmt.Sprintf can be replaced with a faster alternative.

Signed-off-by: Matthieu MOREL <matthieu.morel35@gmail.com>
2024-11-05 14:37:07 -08:00
OpenTelemetry Bot 3da496be53
[chore] Prepare release v1.19.0/v0.113.0 (#11609)
The following commands were run to prepare this release:
- make chlog-update VERSION=v1.19.0/v0.113.0
- make prepare-release PREVIOUS_VERSION=1[.]18[.]0
RELEASE_CANDIDATE=1.19.0 MODSET=stable
- make prepare-release PREVIOUS_VERSION=0[.]112[.]0
RELEASE_CANDIDATE=0.113.0 MODSET=beta
2024-11-05 11:52:29 -08:00
renovate[bot] b287f60f9b
fix(deps): update module github.com/fsnotify/fsnotify to v1.8.0 (#11598)
This PR contains the following updates:

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

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

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

#### Additions

- all: add `FSNOTIFY_DEBUG` to print debug logs to stderr
([#&#8203;619](https://redirect.github.com/fsnotify/fsnotify/issues/619))

##### Changes and fixes

- windows: fix behaviour of `WatchList()` to be consistent with other
platforms
([#&#8203;610](https://redirect.github.com/fsnotify/fsnotify/issues/610))

- kqueue: ignore events with Ident=0
([#&#8203;590](https://redirect.github.com/fsnotify/fsnotify/issues/590))

- kqueue: set O_CLOEXEC to prevent passing file descriptors to children
([#&#8203;617](https://redirect.github.com/fsnotify/fsnotify/issues/617))

- kqueue: emit events as "/path/dir/file" instead of "path/link/file"
when watching a symlink
([#&#8203;625](https://redirect.github.com/fsnotify/fsnotify/issues/625))

- inotify: don't send event for IN_DELETE_SELF when also watching the
parent
([#&#8203;620](https://redirect.github.com/fsnotify/fsnotify/issues/620))

- inotify: fix panic when calling Remove() in a goroutine
([#&#8203;650](https://redirect.github.com/fsnotify/fsnotify/issues/650))

- fen: allow watching subdirectories of watched directories
([#&#8203;621](https://redirect.github.com/fsnotify/fsnotify/issues/621))

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

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: opentelemetrybot <107717825+opentelemetrybot@users.noreply.github.com>
2024-11-05 06:11:53 -08:00
Matthieu MOREL 0204d957e5
[chore]: enable whitespace linter (#11579)
#### Description

[whitespace](https://golangci-lint.run/usage/linters/#whitespace) is a
linter that checks for unnecessary newlines at the start and end of
functions.

Signed-off-by: Matthieu MOREL <matthieu.morel35@gmail.com>
2024-10-31 12:15:54 -07:00
OpenTelemetry Bot fee2daa249
[chore] Prepare release v1.18.0/v0.112.0 (#11515)
The following commands were run to prepare this release:
- make chlog-update VERSION=v1.18.0/v0.112.0
- make prepare-release PREVIOUS_VERSION=1[.]17[.]0
RELEASE_CANDIDATE=1.18.0 MODSET=stable
- make prepare-release PREVIOUS_VERSION=0[.]111[.]0
RELEASE_CANDIDATE=0.112.0 MODSET=beta
2024-10-22 11:38:35 -07:00
Nathan Baulch 42e6304f65
Fix typos (#11348)
Just thought I'd contribute some typo fixes I stumbled upon. Nothing
controversial (hopefully), just 72 simple fixes.

Use the following command to get a quick and dirty summary of the
specific corrections made:
```shell
git diff HEAD^! --word-diff-regex='\w+' -U0 \
  | grep -E '\[\-.*\-\]\{\+.*\+\}' \
  | sed -r 's/.*\[\-(.*)\-\]\{\+(.*)\+\}.*/\1 \2/' \
  | sort | uniq -c | sort -n
```

FWIW, the top typos are:
* invokable (16)
* subsciption (15)
* decison (7)
* reques (3)
* dissallow (3)
* documenation (3)
* locahost (3)
* prerequistes (2)
* assinged (2)
* extenions (2)

---------

Co-authored-by: Alex Boten <223565+codeboten@users.noreply.github.com>
2024-10-09 15:43:52 -07:00
OpenTelemetry Bot 080b76506c
[chore] Prepare release v1.17.0/v0.111.0 (#11353)
The following commands were run to prepare this release:
- make chlog-update VERSION=v1.17.0/v0.111.0
- make prepare-release PREVIOUS_VERSION=1[.]16[.]0
RELEASE_CANDIDATE=1.17.0 MODSET=stable
- make prepare-release PREVIOUS_VERSION=0[.]110[.]0
RELEASE_CANDIDATE=0.111.0 MODSET=beta

---------

Co-authored-by: Pablo Baeyens <pablo.baeyens@datadoghq.com>
2024-10-04 01:12:02 -07:00
Matthieu MOREL aba139c2cb
[chore]: use ErrorContains and EqualError (#11295)
#### Description

Testifylint doesn't support it yet. 
This replaces `Contains(t, err.Error()` by `ErrorContains(t, err` and
`Equal(t, err.Error()` by `EqualError(t, err`
As they both check for nil error it becomes useless to check it yourself
without having defined a custom message

<!-- Signed-off-by: Matthieu MOREL <matthieu.morel35@gmail.com> -->

Signed-off-by: Matthieu MOREL <matthieu.morel35@gmail.com>
2024-09-28 08:06:09 -07:00
OpenTelemetry Bot d6f568dd5b
[chore] Prepare release v1.16.0/v0.110.0 (#11252)
The following commands were run to prepare this release:
- make chlog-update VERSION=v1.16.0/v0.110.0
- make prepare-release PREVIOUS_VERSION=1[.]15[.]0
RELEASE_CANDIDATE=1.16.0 MODSET=stable
- make prepare-release PREVIOUS_VERSION=0[.]109[.]0
RELEASE_CANDIDATE=0.110.0 MODSET=beta
2024-09-23 13:07:03 -07:00
Matthieu MOREL 37f783308e
[chore]: enable require-error rule from testifylint (#11199)
#### Description

Testifylint is a linter that provides best practices with the use of
testify.

This PR enables
[require-error](https://github.com/Antonboom/testifylint?tab=readme-ov-file#require-error)
rule from [testifylint](https://github.com/Antonboom/testifylint)

Signed-off-by: Matthieu MOREL <matthieu.morel35@gmail.com>
2024-09-18 15:02:22 -07:00
Matthieu MOREL 2720f59f97
[chore]: enable error-nil and nil-compare rules from testifylint (#11120)
#### Description

Testifylint is a linter that provides best practices with the use of
testify.

This PR enables
[error-nil](https://github.com/Antonboom/testifylint?tab=readme-ov-file#error-nil)
and
[nil-compare](https://github.com/Antonboom/testifylint?tab=readme-ov-file#nil-compare)
rules from [testifylint](https://github.com/Antonboom/testifylint)

Signed-off-by: Matthieu MOREL <matthieu.morel35@gmail.com>
2024-09-10 14:34:29 -07:00
OpenTelemetry Bot 02d466f0c0
[chore] Prepare release v1.15.0/v0.109.0 (#11101)
The following commands were run to prepare this release:
- make chlog-update VERSION=v1.15.0/v0.109.0
- make prepare-release PREVIOUS_VERSION=1[.]14[.]1
RELEASE_CANDIDATE=1.15.0 MODSET=stable
- make prepare-release PREVIOUS_VERSION=0[.]108[.]1
RELEASE_CANDIDATE=0.109.0 MODSET=beta
2024-09-09 17:05:24 -07:00
OpenTelemetry Bot c8a932e6b3
[chore] Prepare release v1.14.1/v0.108.1 (#10986)
The following commands were run to prepare this release:
- make chlog-update VERSION=v1.14.1/v0.108.1
- make prepare-release PREVIOUS_VERSION=1[.]14[.]0
RELEASE_CANDIDATE=1.14.1 MODSET=stable
- make prepare-release PREVIOUS_VERSION=0[.]108[.]0
RELEASE_CANDIDATE=0.108.1 MODSET=beta
2024-08-27 11:09:14 -07:00
OpenTelemetry Bot 10155518e3
[chore] Prepare release v1.14.0/v0.108.0 (#10980)
The following commands were run to prepare this release:
- make chlog-update VERSION=v1.14.0/v0.108.0
- make prepare-release PREVIOUS_VERSION=1[.]13[.]0
RELEASE_CANDIDATE=1.14.0 MODSET=stable
- make prepare-release PREVIOUS_VERSION=0[.]107[.]0
RELEASE_CANDIDATE=0.108.0 MODSET=beta
2024-08-27 07:30:31 -07:00
Alex Boten 76acd37b2c
Added support for go1.23, bumped the minimum version to 1.22 (#10869)
Signed-off-by: Alex Boten <223565+codeboten@users.noreply.github.com>
2024-08-13 14:32:29 -07:00
OpenTelemetry Bot aacddac430
[chore] Prepare release v1.13.0/v0.107.0 (#10860)
The following commands were run to prepare this release:
- make chlog-update VERSION=v1.13.0/v0.107.0
- make prepare-release PREVIOUS_VERSION=1[.]12[.]0
RELEASE_CANDIDATE=1.13.0 MODSET=stable
- make prepare-release PREVIOUS_VERSION=0[.]106[.]1
RELEASE_CANDIDATE=0.107.0 MODSET=beta
2024-08-12 17:32:43 -07:00
renovate[bot] 3396d0b511
Update module golang.org/x/tools to v0.24.0 (#10823)
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| golang.org/x/tools | `v0.23.0` -> `v0.24.0` |
[![age](https://developer.mend.io/api/mc/badges/age/go/golang.org%2fx%2ftools/v0.24.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/go/golang.org%2fx%2ftools/v0.24.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/go/golang.org%2fx%2ftools/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%2ftools/v0.23.0/v0.24.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.

🔕 **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://www.mend.io/free-developer-tools/renovate/). View the
[repository job
log](https://developer.mend.io/github/open-telemetry/opentelemetry-collector).

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

---------

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: opentelemetrybot <107717825+opentelemetrybot@users.noreply.github.com>
Co-authored-by: Alex Boten <223565+codeboten@users.noreply.github.com>
2024-08-07 10:43:42 -07:00
OpenTelemetry Bot bf6bd9fd26
[chore] Prepare release v1.12.0/v0.105.0 (#10623)
The following commands were run to prepare this release:
- make chlog-update VERSION=v1.12.0/v0.105.0
- make prepare-release PREVIOUS_VERSION=1.11.0 RELEASE_CANDIDATE=1.12.0
MODSET=stable
- make prepare-release PREVIOUS_VERSION=0.104.0
RELEASE_CANDIDATE=0.105.0 MODSET=beta
2024-07-16 09:51:56 -07:00
Armin Ruech af33ac5acc
[chore] Fix comments and clarify docs on `config/configtls` (#10441)
#### Description
Point out that `config/configtls` also applies to HTTPS

---------

Co-authored-by: Alex Boten <223565+codeboten@users.noreply.github.com>
2024-07-04 15:44:12 -07:00
OpenTelemetry Bot a082f2e439
[chore] Prepare release v1.11.0/v0.104.0 (#10491)
The following commands were run to prepare this release:
- make chlog-update VERSION=v1.11.0/v0.104.0
- make prepare-release PREVIOUS_VERSION=1.10.0 RELEASE_CANDIDATE=1.11.0
MODSET=stable
- make prepare-release PREVIOUS_VERSION=0.103.0
RELEASE_CANDIDATE=0.104.0 MODSET=beta

---------

Co-authored-by: Tyler Helmuth <12352919+TylerHelmuth@users.noreply.github.com>
2024-07-01 13:07:11 -07:00
OpenTelemetry Bot aa31b271c6
[chore] Prepare release v1.10.0/v0.103.0 (#10418)
The following commands were run to prepare this release:
- make chlog-update VERSION=v1.10.0/v0.103.0
- make prepare-release PREVIOUS_VERSION=1.9.0 RELEASE_CANDIDATE=1.10.0
MODSET=stable
- make prepare-release PREVIOUS_VERSION=0.102.1
RELEASE_CANDIDATE=0.103.0 MODSET=beta
2024-06-17 13:53:27 -07:00
Alex Boten a6ace5321b
[chore] move opaque confmap test (#10358)
This removes the dependency on confmap for tests in configopaque

---------

Signed-off-by: Alex Boten <223565+codeboten@users.noreply.github.com>
2024-06-06 14:39:37 -07:00