Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[pull] main from open-telemetry:main #39

Merged
merged 773 commits into from
Apr 22, 2024
Merged

Conversation

pull[bot]
Copy link

@pull pull bot commented Feb 12, 2024

See Commits and Changes for more details.


Created by pull[bot]

Can you help keep this open source service alive? 💖 Please sponsor : )

@pull pull bot added the ⤵️ pull label Feb 12, 2024
@pull pull bot requested a review from cparkins as a code owner February 12, 2024 21:00
djaglowski and others added 28 commits April 2, 2024 16:04
**Description:** 
As described in the documentation, this is the last PR to mark the new
component as Alpha stability and add it to the cmd/otelcontribcol binary
by updating the cmd/otelcontribcol/components.go file.

**Link to tracking Issue:** <Issue number if applicable>
#31647

---------

Signed-off-by: Robbie Lankford <robert.lankford@grafana.com>
…#32116)

[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

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

###
[`v1.9.0`](https://togithub.com/snowflakedb/gosnowflake/releases/tag/v1.9.0):
Release

[Compare
Source](https://togithub.com/snowflakedb/gosnowflake/compare/v1.8.0...v1.9.0)

- Please check Snowflake [community page for release
notes](https://docs.snowflake.com/en/release-notes/clients-drivers/golang).

</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 has been generated by [Mend
Renovate](https://www.mend.io/free-developer-tools/renovate/). View
repository job log
[here](https://developer.mend.io/github/open-telemetry/opentelemetry-collector-contrib).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4yNjkuMiIsInVwZGF0ZWRJblZlciI6IjM3LjI2OS4yIiwidGFyZ2V0QnJhbmNoIjoibWFpbiJ9-->

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: opentelemetrybot <107717825+opentelemetrybot@users.noreply.github.com>
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

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

###
[`v1.51.13`](https://togithub.com/aws/aws-sdk-go/blob/HEAD/CHANGELOG.md#Release-v15113-2024-04-02)

[Compare
Source](https://togithub.com/aws/aws-sdk-go/compare/v1.51.12...v1.51.13)

\===

##### Service Client Updates

-   `service/ecs`: Updates service documentation
    -   Documentation only update for Amazon ECS.
-   `service/glue`: Updates service API and documentation
    -   Adding View related fields to responses of read-only Table APIs.
-   `service/ivschat`: Updates service documentation
-   `service/rolesanywhere`: Updates service API and documentation
-   `service/securityhub`: Updates service documentation

</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 has been generated by [Mend
Renovate](https://www.mend.io/free-developer-tools/renovate/). View
repository job log
[here](https://developer.mend.io/github/open-telemetry/opentelemetry-collector-contrib).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4yNjkuMiIsInVwZGF0ZWRJblZlciI6IjM3LjI2OS4yIiwidGFyZ2V0QnJhbmNoIjoibWFpbiJ9-->

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: opentelemetrybot <107717825+opentelemetrybot@users.noreply.github.com>
resolve
#26498

---------

Co-authored-by: Pablo Baeyens <pbaeyens31+github@gmail.com>
…l from 15s to 60s (#31806)

**Description:** <Describe what has changed.>
Changed default value of `metrics_flush_interval` setting from 15s to
60s

**Link to tracking Issue:** Resolves
#31776

**Testing:** Fixed unit tests

**Documentation:** updated README
I would like to become a code owner of spanconector. my company already
uses the spanconnector and I am also familiar with its code.
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Type | Update | Change |
|---|---|---|---|
| [Wandalen/wretry.action](https://togithub.com/Wandalen/wretry.action)
| action | major | `v2.1.0` -> `v3.0.1` |

---

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

---

### Release Notes

<details>
<summary>Wandalen/wretry.action (Wandalen/wretry.action)</summary>

###
[`v3.0.1`](https://togithub.com/Wandalen/wretry.action/compare/v3.0.0...v3.0.1)

[Compare
Source](https://togithub.com/Wandalen/wretry.action/compare/v3.0.0...v3.0.1)

###
[`v3.0.0`](https://togithub.com/Wandalen/wretry.action/compare/v2.1.0...v3.0.0)

[Compare
Source](https://togithub.com/Wandalen/wretry.action/compare/v2.1.0...v3.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 has been generated by [Mend
Renovate](https://www.mend.io/free-developer-tools/renovate/). View
repository job log
[here](https://developer.mend.io/github/open-telemetry/opentelemetry-collector-contrib).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4yNjkuMiIsInVwZGF0ZWRJblZlciI6IjM3LjI2OS4yIiwidGFyZ2V0QnJhbmNoIjoibWFpbiJ9-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
**Description:** Promote this component to alpha and enable it in
contrib.

---------

Co-authored-by: Tyler Helmuth <12352919+TylerHelmuth@users.noreply.github.com>
**Description:** Intrdocue a new internal package `tracker` to handle
file operations.
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

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

:warning: MAJOR VERSION UPDATE :warning: - please manually update this
package

---

### Release Notes

<details>
<summary>google/go-github (github.com/google/go-github/v59)</summary>

###
[`v61.0.0`](https://togithub.com/google/go-github/releases/tag/v61.0.0)

[Compare
Source](https://togithub.com/google/go-github/compare/v60.0.0...v61.0.0)

This release contains the following breaking API changes:

- feat!: Update deprecated endpoints in github/action_variables.go
([#&#8203;3104](https://togithub.com/google/go-github/issues/3104))

...and the following additional changes:

- Bump go-github from v59 to v60 in /scrape
([#&#8203;3087](https://togithub.com/google/go-github/issues/3087))
- Allow querying rule set information by ID with information returned
from GetRulesFromBranch
([#&#8203;3089](https://togithub.com/google/go-github/issues/3089))
- Bump codecov/codecov-action from 4.0.2 to 4.1.0
([#&#8203;3091](https://togithub.com/google/go-github/issues/3091))
- Bump github.com/PuerkitoBio/goquery from 1.9.0 to 1.9.1 in /scrape
([#&#8203;3092](https://togithub.com/google/go-github/issues/3092))
- Add Protection to Branch struct
([#&#8203;3095](https://togithub.com/google/go-github/issues/3095))
- Bump github.com/alecthomas/kong from 0.8.1 to 0.9.0 in /tools
([#&#8203;3097](https://togithub.com/google/go-github/issues/3097))
- Bump golang.org/x/net from 0.21.0 to 0.22.0 in /scrape
([#&#8203;3096](https://togithub.com/google/go-github/issues/3096))
- Bump google.golang.org/protobuf from 1.28.0 to 1.33.0 in /example
([#&#8203;3099](https://togithub.com/google/go-github/issues/3099))
- Add audit log rate limit category and make rate limit category getter
public
([#&#8203;3088](https://togithub.com/google/go-github/issues/3088))
- Update README.md
([#&#8203;3110](https://togithub.com/google/go-github/issues/3110))
- Allow Installation of Custom Properties Permissions
([#&#8203;3108](https://togithub.com/google/go-github/issues/3108))
- Add NotificationSetting to NewTeam
([#&#8203;3111](https://togithub.com/google/go-github/issues/3111))
- Fix pagination for ListCopilotSeats
([#&#8203;3112](https://togithub.com/google/go-github/issues/3112))
- Add .\*.local to .gitignore
([#&#8203;3115](https://togithub.com/google/go-github/issues/3115))
- Add CreateOrUpdateRepoCustomPropertyValues
([#&#8203;3109](https://togithub.com/google/go-github/issues/3109))
- Bump version of go-github to v61.0.0
([#&#8203;3118](https://togithub.com/google/go-github/issues/3118))

###
[`v60.0.0`](https://togithub.com/google/go-github/releases/tag/v60.0.0)

[Compare
Source](https://togithub.com/google/go-github/compare/v59.0.0...v60.0.0)

This release contains the following breaking API changes:

- Turn RequiredStatusChecks Checks and Contexts into pointers
([#&#8203;3070](https://togithub.com/google/go-github/issues/3070))
- feat!: Change Hook.Config field from map to \*HookConfig
([#&#8203;3073](https://togithub.com/google/go-github/issues/3073))

...and the following additional changes:

- Bump go-github from v58 to v59 in /scrape
([#&#8203;3069](https://togithub.com/google/go-github/issues/3069))
- Bump golang.org/x/net from 0.20.0 to 0.21.0 in /scrape
([#&#8203;3071](https://togithub.com/google/go-github/issues/3071))
- Update workflow and tools to use Go 1.22 and 1.21
([#&#8203;3074](https://togithub.com/google/go-github/issues/3074))
- Add test case for JSON resource marshaling
([#&#8203;3075](https://togithub.com/google/go-github/issues/3075))
- Add test case for JSON resource marshaling
([#&#8203;3076](https://togithub.com/google/go-github/issues/3076))
- Rename function parameters to match usage as url parameters
([#&#8203;3078](https://togithub.com/google/go-github/issues/3078))
- Add test case for JSON resource marshaling
([#&#8203;3080](https://togithub.com/google/go-github/issues/3080))
- Bump github.com/PuerkitoBio/goquery from 1.8.1 to 1.9.0 in /scrape
([#&#8203;3085](https://togithub.com/google/go-github/issues/3085))
- Bump codecov/codecov-action from 4.0.1 to 4.0.2
([#&#8203;3084](https://togithub.com/google/go-github/issues/3084))
- Bump version of go-github to v60.0.0
([#&#8203;3086](https://togithub.com/google/go-github/issues/3086))

</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 has been generated by [Mend
Renovate](https://www.mend.io/free-developer-tools/renovate/). View
repository job log
[here](https://developer.mend.io/github/open-telemetry/opentelemetry-collector-contrib).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4yNjkuMiIsInVwZGF0ZWRJblZlciI6IjM3LjI2OS4yIiwidGFyZ2V0QnJhbmNoIjoibWFpbiJ9-->

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Andrzej Stencel <astencel@sumologic.com>
…ize to recombine operator (#32144)

**Description:** Add a new `max_unmatched_batch_size` config parameter
to configure the maximum number of consecutive entries that will be
combined into a single entry before the match occurs

**Link to tracking Issue:**
#31653

**Testing:** unit tests, manual tests

**Documentation:** Add description of the new config option
Contributes to #32058 

Also adds config unmarshal tests to this operator.
…32134)

This PR adds a test case to ensure that log documents are de-dotted
correctly when `dedot: true` is set.
…or to v0.20.0 (#32106)

[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
|
[github.com/open-telemetry/otel-arrow/collector](https://togithub.com/open-telemetry/otel-arrow)
| `v0.18.0` -> `v0.20.0` |
[![age](https://developer.mend.io/api/mc/badges/age/go/github.com%2fopen-telemetry%2fotel-arrow%2fcollector/v0.20.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/go/github.com%2fopen-telemetry%2fotel-arrow%2fcollector/v0.20.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/go/github.com%2fopen-telemetry%2fotel-arrow%2fcollector/v0.18.0/v0.20.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/go/github.com%2fopen-telemetry%2fotel-arrow%2fcollector/v0.18.0/v0.20.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|

---

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

---

### Release Notes

<details>
<summary>open-telemetry/otel-arrow
(github.com/open-telemetry/otel-arrow/collector)</summary>

###
[`v0.20.0`](https://togithub.com/open-telemetry/otel-arrow/releases/tag/v0.20.0)

[Compare
Source](https://togithub.com/open-telemetry/otel-arrow/compare/v0.19.0...v0.20.0)

##### What's Changed

- Backport lint fixes from OTel-Collector-Contrib PR 31996 by
[@&#8203;jmacd](https://togithub.com/jmacd) in
[https://github.com/open-telemetry/otel-arrow/pull/163](https://togithub.com/open-telemetry/otel-arrow/pull/163)
- Upgrade collector to v0.97.0 by
[@&#8203;moh-osman3](https://togithub.com/moh-osman3) in
[https://github.com/open-telemetry/otel-arrow/pull/164](https://togithub.com/open-telemetry/otel-arrow/pull/164)

**Full Changelog**:
open-telemetry/otel-arrow@v0.19.0...v0.20.0

###
[`v0.19.0`](https://togithub.com/open-telemetry/otel-arrow/releases/tag/v0.19.0)

[Compare
Source](https://togithub.com/open-telemetry/otel-arrow/compare/v0.18.0...v0.19.0)

See
[CHANGELOG.md](https://togithub.com/open-telemetry/otel-arrow/blob/main/CHANGELOG.md#0190---2024-03-26)
for release notes.

</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 has been generated by [Mend
Renovate](https://www.mend.io/free-developer-tools/renovate/). View
repository job log
[here](https://developer.mend.io/github/open-telemetry/opentelemetry-collector-contrib).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4yNjkuMiIsInVwZGF0ZWRJblZlciI6IjM3LjI2OS4yIiwidGFyZ2V0QnJhbmNoIjoibWFpbiJ9-->

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: opentelemetrybot <107717825+opentelemetrybot@users.noreply.github.com>
This PR introduces a check backed by a github token that tests the
content of .github/CODEOWNERS against the metadata of all the
components. Given that a token is used, and won't be present in builds
running with forks, this check is only made on the main branch of the
repository `open-telemetry/opentelemetry-collector-contrib`.

As such, I can't really test if it all works. The token is provisioned
by open-telemetry/community#1659. More context
in
#30552
Signed-off-by: Alex Boten <223565+codeboten@users.noreply.github.com>
This fixes the codeowners file content and explicitly adds @thmshmm to
the allowlist.
It's just some temp CI logs. Seems it was added by mistake in
#32146.
TylerHelmuth and others added 29 commits April 18, 2024 11:40
**Description:**
Someone, and we may never know who, forgot to update the windows test
groups when they created
#30901

Fixes
#32508

---------

Co-authored-by: Curtis Robert <crobert@splunk.com>
**Description:** Allow receiving named loggroups without stream
filtering as indicated by a given example linked in the README

**Link to tracking Issue:** #32345

**Testing:** Adds additional unit test for this specific config case.

**Documentation:** None, implementation matches the given docs/example
which was not the case before
…tbeats (#31534)

**Description:** <Describe what has changed.>
<!--Ex. Fixing a bug - Describe the bug and how this fixes the issue.
Ex. Adding a feature - Explain what this achieves.-->
This change adds a config option to allow users to replay static
telemetry at an interval (poll_interval is the configurable interval).

This is useful for some  usecases like:
- Sending a heartbeat log to a logging backend, as a signal that the
logging agent is alive
- Sending static metadata as metrics to metrics backend. The metadata
can be read using the `otlpjsonfilereceiver` that uses this package and
config.

**Link to tracking Issue:** 

#31533

**Testing:**
- Manual testing
- unit test for the fileconsumer
- test for the `otlpjsonfilereceiver`

**Documentation:** <Describe the documentation added.>

---------

Signed-off-by: Ridwan Sharif <ridwanmsharif@google.com>
We have an option to ignore observed timestamp, but sometimes it's
needed to ignore timestamp as well
Fix versioning mismatch

**Link to tracking Issue:** 32539

**Testing:** ran `make genotelcontribcol` and `make genoteltestbedcol`
)

Tests were failing on Windows because when the expected results were
loaded from a file, the newlines were `\r\n` instead of `\n`. This
replaces the unexpected characters for testing.

This is a test only change, and re-enables the tests that were being
skipped.

Resolves
#32519
**Description:**
Adding support for ack extension in the splunkhecreceiver. The receiver
can now be configured to using different ack extensions to ack events.

**Link to tracking Issue:** #26376

---------

Co-authored-by: Antoine Toulme <antoine@toulme.name>
Co-authored-by: Curtis Robert <crobert@splunk.com>
**Description:** <Describe what has changed.>
<!--Ex. Fixing a bug - Describe the bug and how this fixes the issue.
Ex. Adding a feature - Explain what this achieves.-->

We currently use `go 1.21` in all go.mod files, this PR changes all
go.mod files to include the minor version by using `go 1.21.0`. It seems
that using the minor version is recommended by the Go project:
golang/go#62278. One of the dependencies in
collector-contrib also uses `go 1.21.0`, so this will need to be updated
eventually anyways: https://github.com/cilium/ebpf/blob/main/go.mod#L3.

**Link to tracking Issue:** <Issue number if applicable>

**Testing:** <Describe what testing was performed and which tests were
added.>

**Documentation:** <Describe the documentation added.>

---------

Co-authored-by: Antoine Toulme <antoine@toulme.name>
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
|
[github.com/DataDog/datadog-api-client-go/v2](https://togithub.com/DataDog/datadog-api-client-go)
| `v2.24.0` -> `v2.25.0` |
[![age](https://developer.mend.io/api/mc/badges/age/go/github.com%2fDataDog%2fdatadog-api-client-go%2fv2/v2.25.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/go/github.com%2fDataDog%2fdatadog-api-client-go%2fv2/v2.25.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/go/github.com%2fDataDog%2fdatadog-api-client-go%2fv2/v2.24.0/v2.25.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/go/github.com%2fDataDog%2fdatadog-api-client-go%2fv2/v2.24.0/v2.25.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
|
[github.com/DataDog/opentelemetry-mapping-go/pkg/inframetadata](https://togithub.com/DataDog/opentelemetry-mapping-go)
| `v0.13.4` -> `v0.14.0` |
[![age](https://developer.mend.io/api/mc/badges/age/go/github.com%2fDataDog%2fopentelemetry-mapping-go%2fpkg%2finframetadata/v0.14.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/go/github.com%2fDataDog%2fopentelemetry-mapping-go%2fpkg%2finframetadata/v0.14.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/go/github.com%2fDataDog%2fopentelemetry-mapping-go%2fpkg%2finframetadata/v0.13.4/v0.14.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/go/github.com%2fDataDog%2fopentelemetry-mapping-go%2fpkg%2finframetadata/v0.13.4/v0.14.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
|
[github.com/DataDog/opentelemetry-mapping-go/pkg/otlp/attributes](https://togithub.com/DataDog/opentelemetry-mapping-go)
| `v0.13.4` -> `v0.14.0` |
[![age](https://developer.mend.io/api/mc/badges/age/go/github.com%2fDataDog%2fopentelemetry-mapping-go%2fpkg%2fotlp%2fattributes/v0.14.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/go/github.com%2fDataDog%2fopentelemetry-mapping-go%2fpkg%2fotlp%2fattributes/v0.14.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/go/github.com%2fDataDog%2fopentelemetry-mapping-go%2fpkg%2fotlp%2fattributes/v0.13.4/v0.14.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/go/github.com%2fDataDog%2fopentelemetry-mapping-go%2fpkg%2fotlp%2fattributes/v0.13.4/v0.14.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
|
[github.com/DataDog/opentelemetry-mapping-go/pkg/otlp/logs](https://togithub.com/DataDog/opentelemetry-mapping-go)
| `v0.13.4` -> `v0.14.0` |
[![age](https://developer.mend.io/api/mc/badges/age/go/github.com%2fDataDog%2fopentelemetry-mapping-go%2fpkg%2fotlp%2flogs/v0.14.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/go/github.com%2fDataDog%2fopentelemetry-mapping-go%2fpkg%2fotlp%2flogs/v0.14.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/go/github.com%2fDataDog%2fopentelemetry-mapping-go%2fpkg%2fotlp%2flogs/v0.13.4/v0.14.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/go/github.com%2fDataDog%2fopentelemetry-mapping-go%2fpkg%2fotlp%2flogs/v0.13.4/v0.14.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
|
[github.com/DataDog/opentelemetry-mapping-go/pkg/otlp/metrics](https://togithub.com/DataDog/opentelemetry-mapping-go)
| `v0.13.4` -> `v0.14.0` |
[![age](https://developer.mend.io/api/mc/badges/age/go/github.com%2fDataDog%2fopentelemetry-mapping-go%2fpkg%2fotlp%2fmetrics/v0.14.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/go/github.com%2fDataDog%2fopentelemetry-mapping-go%2fpkg%2fotlp%2fmetrics/v0.14.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/go/github.com%2fDataDog%2fopentelemetry-mapping-go%2fpkg%2fotlp%2fmetrics/v0.13.4/v0.14.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/go/github.com%2fDataDog%2fopentelemetry-mapping-go%2fpkg%2fotlp%2fmetrics/v0.13.4/v0.14.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
|
[github.com/DataDog/opentelemetry-mapping-go/pkg/quantile](https://togithub.com/DataDog/opentelemetry-mapping-go)
| `v0.13.4` -> `v0.14.0` |
[![age](https://developer.mend.io/api/mc/badges/age/go/github.com%2fDataDog%2fopentelemetry-mapping-go%2fpkg%2fquantile/v0.14.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/go/github.com%2fDataDog%2fopentelemetry-mapping-go%2fpkg%2fquantile/v0.14.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/go/github.com%2fDataDog%2fopentelemetry-mapping-go%2fpkg%2fquantile/v0.13.4/v0.14.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/go/github.com%2fDataDog%2fopentelemetry-mapping-go%2fpkg%2fquantile/v0.13.4/v0.14.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>DataDog/datadog-api-client-go
(github.com/DataDog/datadog-api-client-go/v2)</summary>

###
[`v2.25.0`](https://togithub.com/DataDog/datadog-api-client-go/releases/tag/v2.25.0)

[Compare
Source](https://togithub.com/DataDog/datadog-api-client-go/compare/v2.24.0...v2.25.0)

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

#### What's Changed

##### Fixed

- Update Cleanup script to use GCP STS endpoint by
[@&#8203;api-clients-generation-pipeline](https://togithub.com/api-clients-generation-pipeline)
in
[https://github.com/DataDog/datadog-api-client-go/pull/2423](https://togithub.com/DataDog/datadog-api-client-go/pull/2423)
- Add include data to get team memberships response by
[@&#8203;api-clients-generation-pipeline](https://togithub.com/api-clients-generation-pipeline)
in
[https://github.com/DataDog/datadog-api-client-go/pull/2407](https://togithub.com/DataDog/datadog-api-client-go/pull/2407)

##### Added

- Add `ci-pipeline-fingerprints` field in v2.2 by
[@&#8203;api-clients-generation-pipeline](https://togithub.com/api-clients-generation-pipeline)
in
[https://github.com/DataDog/datadog-api-client-go/pull/2432](https://togithub.com/DataDog/datadog-api-client-go/pull/2432)
- Add validation endpoint for Security Monitoring Rules by
[@&#8203;api-clients-generation-pipeline](https://togithub.com/api-clients-generation-pipeline)
in
[https://github.com/DataDog/datadog-api-client-go/pull/2453](https://togithub.com/DataDog/datadog-api-client-go/pull/2453)
- Add UA documentation for online_archive and incident_management by
[@&#8203;api-clients-generation-pipeline](https://togithub.com/api-clients-generation-pipeline)
in
[https://github.com/DataDog/datadog-api-client-go/pull/2457](https://togithub.com/DataDog/datadog-api-client-go/pull/2457)
- Mark `unit` as nullable by
[@&#8203;api-clients-generation-pipeline](https://togithub.com/api-clients-generation-pipeline)
in
[https://github.com/DataDog/datadog-api-client-go/pull/2459](https://togithub.com/DataDog/datadog-api-client-go/pull/2459)
- Add query_interval_seconds to time-slice SLO condition parameters by
[@&#8203;api-clients-generation-pipeline](https://togithub.com/api-clients-generation-pipeline)
in
[https://github.com/DataDog/datadog-api-client-go/pull/2461](https://togithub.com/DataDog/datadog-api-client-go/pull/2461)
- Support providing files for the file upload feature when creating a
Synthetic API test by
[@&#8203;api-clients-generation-pipeline](https://togithub.com/api-clients-generation-pipeline)
in
[https://github.com/DataDog/datadog-api-client-go/pull/2460](https://togithub.com/DataDog/datadog-api-client-go/pull/2460)
- Adding SLO Reporting API Documentation by
[@&#8203;api-clients-generation-pipeline](https://togithub.com/api-clients-generation-pipeline)
in
[https://github.com/DataDog/datadog-api-client-go/pull/2426](https://togithub.com/DataDog/datadog-api-client-go/pull/2426)
- Security Monitoring Suppression - Add data_exclusion_query field by
[@&#8203;api-clients-generation-pipeline](https://togithub.com/api-clients-generation-pipeline)
in
[https://github.com/DataDog/datadog-api-client-go/pull/2465](https://togithub.com/DataDog/datadog-api-client-go/pull/2465)
- aws api adding extended and deprecating old resource collection field
by
[@&#8203;api-clients-generation-pipeline](https://togithub.com/api-clients-generation-pipeline)
in
[https://github.com/DataDog/datadog-api-client-go/pull/2463](https://togithub.com/DataDog/datadog-api-client-go/pull/2463)

##### Changed

- Add Team relationship to AuthNMappings by
[@&#8203;api-clients-generation-pipeline](https://togithub.com/api-clients-generation-pipeline)
in
[https://github.com/DataDog/datadog-api-client-go/pull/2382](https://togithub.com/DataDog/datadog-api-client-go/pull/2382)

##### Deprecated

- Remove deprecated /api/v1/usage/attribution by
[@&#8203;api-clients-generation-pipeline](https://togithub.com/api-clients-generation-pipeline)
in
[https://github.com/DataDog/datadog-api-client-go/pull/2443](https://togithub.com/DataDog/datadog-api-client-go/pull/2443)
- Deprecate legacy hourly usage metering endpoints by
[@&#8203;api-clients-generation-pipeline](https://togithub.com/api-clients-generation-pipeline)
in
[https://github.com/DataDog/datadog-api-client-go/pull/2439](https://togithub.com/DataDog/datadog-api-client-go/pull/2439)

**Full Changelog**:
DataDog/datadog-api-client-go@v2.24.0...v2.25.0

</details>

<details>
<summary>DataDog/opentelemetry-mapping-go
(github.com/DataDog/opentelemetry-mapping-go/pkg/inframetadata)</summary>

###
[`v0.14.0`](https://togithub.com/DataDog/opentelemetry-mapping-go/blob/HEAD/CHANGELOG.md#v0140)

##### 🛑 Breaking changes 🛑

- `pkg/otlp/metrics`: Remove dead code from mapping-go for older
statstoOTLP conversion
([#&#8203;282](https://togithub.com/DataDog/opentelemetry-mapping-go/issues/282))

##### 💡 Enhancements 💡

- `pkg/otlp/attributes`: Make container mapping public
([#&#8203;315](https://togithub.com/DataDog/opentelemetry-mapping-go/issues/315))

##### 🧰 Bug fixes 🧰

- `pkg/inframetadata`: Fixes warning log where resource attributes were
not correctly logged
([#&#8203;314](https://togithub.com/DataDog/opentelemetry-mapping-go/issues/314))

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

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

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR has been generated by [Mend
Renovate](https://www.mend.io/free-developer-tools/renovate/). View
repository job log
[here](https://developer.mend.io/github/open-telemetry/opentelemetry-collector-contrib).

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

---------

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 <yang.song@datadoghq.com>
Co-authored-by: Yang Song <songy23@users.noreply.github.com>
Fixed the expected file extension for golden metrics comparison in
cloudflare receiver integration test to be .yaml, not .json.

Due to the undocumented behavior of the Integration test Make tasks only
running tests containing the string 'Integration', this was broken when
golden metrics were changed in test from JSON to YAML in
#20438.


While the 'Integration' restriction is being addressed in
#32529,
in case that gets caught up in review or this limitation is accidentally
reintroduced I added 'Integration' to the name of the test, as well.

**Link to tracking Issue:**
#32532

**Testing:** Ran the test locally to confirm that the test runs
successfully.
…tems (#32542)

**Description:** <Describe what has changed.>
<!--Ex. Fixing a bug - Describe the bug and how this fixes the issue.
Ex. Adding a feature - Explain what this achieves.-->
This change enables the SQL Server receiver to directly connect to SQL
Server instances, and to run on operating systems other than Windows.

This is part of
#31915,
but doesn't add any functionality for the end user. No metrics are
currently being gathered from SQL server instances, to make the PR
(hopefully) simpler to review.

**Link to tracking Issue:** <Issue number if applicable>

#31915

#30297

**Testing:** <Describe what testing was performed and which tests were
added.>
Tests added are passing.
…unc 'Build' returns an error (#32501)

**Description:** <Describe what has changed.>
<!--Ex. Fixing a bug - Describe the bug and how this fixes the issue.
Ex. Adding a feature - Explain what this achieves.-->
bug: 
- collector launch fail with '--feature-gates=logs.jsonParserArray'

how to fix:
1. `func init()` always register operator to `operator.DefaultRegistry`.
2. when the `jsonArrayParserFeatureGate` is disabled, the func `Build`
returns an error.

**Link to tracking Issue:** <Issue number if applicable>

#32313

---------

Co-authored-by: Daniel Jaglowski <jaglows3@gmail.com>
…32360)

**Description:** Adds new hard-coded test of the TraceID hashing
function in the probabilisticsamplerprocessor. This will ensure that
changes do not inadvertently modify the hashing function or associated
logic for spans. Note that the Logs sampler logic includes a test with
exact counts of sampled log records, which serves the same purpose.

**Link to tracking Issue:** #31918 

**Testing:** This is a test added ahead of
#31946,
which refactors the hash-based decision but should not change its
results.

**Documentation:** n/a
**Description:** Small update on Mongodb receiver's readme

**Link to tracking Issue:** #32561
…m standalone Host resources (#32549)

**Description:** <Describe what has changed.>
vcenter.cluster.name attribute is removed from all Host resources that
have a ComputeResource parent (vs. a ClusterComputeResource) parent.

This helps to not cause confusion by making standalone hosts look like
clustered hosts.

**Link to tracking Issue:** <Issue number if applicable>
#32548 

**Testing:** <Describe what testing was performed and which tests were
added.>
Unit/integration tests updated and tested. Local environment tested.

**Documentation:** <Describe the documentation added.>
N/A
Update core dependencies. Update references to NewWithSettings ->
NewFactory

---------

Signed-off-by: Alex Boten <223565+codeboten@users.noreply.github.com>
The format for the link to the `documentation.md` file was incorrect,
this fixes it to properly link to the file.
**Description:**
Fix unmarshaling of TimeParser to conserve initial settings before
unmarshaling.

**Link to tracking Issue:**
Fixes #32169

**Testing:**
Added the test from the issue.

For @mx-psi I could not make it so we would apply
#31802 (comment)
because `TimeParser` is reused on all operators, and therefore it
becomes contentious to patch all over the place.
**Description:**
Fix an issue where we called `show stats` instead of `show stat`.
This also fixes the situation where no records are present by properly
trimming the data.

**Link to tracking Issue:**
Fixes #32291

**Testing:**
Added a unit test.
`remoteobserver` => `remotetap`

The type name `remoteObserverExtension` should also be changed for
consistency @atoulme.
**Description:** <Describe what has changed.>
<!--Ex. Fixing a bug - Describe the bug and how this fixes the issue.
Ex. Adding a feature - Explain what this achieves.-->
From [`client.Do` documentation](https://pkg.go.dev/net/http#Client.Do),
a client's response can safely be ignored when an error is returned, but
must be handled in all other cases, even when a response code is not
2XX. This fixes the internal AKS detection to properly close the
response body in the case of a non-200 status returned.

This also enables `goleak` on the `internal/metadata/azure` package
which helps ensure no goroutines are being leaked. `goleak` is what
detected this bug.

**Link to tracking Issue:** <Issue number if applicable>
#30438

**Testing:** <Describe what testing was performed and which tests were
added.>
All existing tests are passing as well as added `goleak` check.
This PR pulls in the latest mdatagen that auto-generates goleak package
tests. There are still some issues to sort out before being able to use
it, but it's mostly there.

I've found a few more modules where goleak can be enabled with no
additional tests so i've done so as part of this PR

Fixes #30483

---------

Signed-off-by: Alex Boten <223565+codeboten@users.noreply.github.com>
Fixing failing tests - recover `scraperFactories` var
value after `TestGatherMetrics_ScraperKeyConfigError` and
`TestGatherMetrics_CreateMetricsScraperError` tests

Fixes #32536
**Description:**
Update contrib to match core with the latest changes that are needed for
open-telemetry/opentelemetry-collector#9862
**Description:** <Describe what has changed.>
<!--Ex. Fixing a bug - Describe the bug and how this fixes the issue.
Ex. Adding a feature - Explain what this achieves.-->
Enable `goleak` check on the Aerospike receiver to help ensure no
goroutines are being leaked.

**Link to tracking Issue:** <Issue number if applicable>
#30438
**Description:** <Describe what has changed.>
<!--Ex. Fixing a bug - Describe the bug and how this fixes the issue.
Ex. Adding a feature - Explain what this achieves.-->

This PR adds the failover connector to the contrib distro and moves the
component to alpha state as all MVP functionality has been put in place.
This PR also adds a bug fix that caused the pipeline selector to
continue switching between the stable and stable + 1 index after a new
stable index has been established.

**Link to tracking Issue:** <Issue number if applicable>

Resolves #32094

**Testing:** <Describe what testing was performed and which tests were
added.>

Additional test case added to check current index after stable check
@cparkins cparkins merged commit 2bf05b2 into AmadeusITGroup:main Apr 22, 2024
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.