mirror of
https://github.com/open-telemetry/opentelemetry-go.git
synced 2025-08-10 22:31:50 +02:00
dceb2cd51264c4f911bf0d6b43a7a93df34f738d
3405 Commits
Author | SHA1 | Message | Date | |
---|---|---|---|---|
|
dceb2cd512 | chore(deps): update module github.com/bombsimon/wsl/v4 to v4.7.0 (#6607) | ||
|
5bf8691520 |
Functionality moved from internal/attribute to attribute (#6580)
Resolve #6525 ## Description This pull request addresses the issue of moving internal functionality from the `internal/attribute` package to the `attribute `package within the open-telemetry/opentelemetry-go repository. The goal is to ensure that none of this functionality is added to the public API of the attribute or any other public package while improving the naming, layout, and following Go idioms. ## Changes made 1. Moved Functions to `attribute/internal` - Created a new internal package within the `attribute` package: `attribute/internal`. - Moved `attribute.go` and `attribute_test.go` into the `attribute/internal` - Moved the following functions from `internal/attribute` to `attribute/internal` 2 . Changes in .golangci.yml - Removed line 67 and 68 from .golangci.yml --------- Co-authored-by: Tyler Yahn <MrAlias@users.noreply.github.com> |
||
|
f713339685 |
openteracing: test SetTag and bridgeFieldEncoder in the opentracing bridge (#6570)
Fix #6544 Fix #6545 --------- Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Damien Mathieu <42@dmathieu.com> |
||
|
fd18c1f231 |
chore(deps): update golang.org/x/telemetry digest to c00fa4d (#6601)
This PR contains the following updates: | Package | Type | Update | Change | |---|---|---|---| | golang.org/x/telemetry | indirect | digest | `fdfaad8` -> `c00fa4d` | --- > [!WARNING] > Some dependencies could not be looked up. Check the Dependency Dashboard for more information. --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR is behind base branch, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR was generated by [Mend Renovate](https://mend.io/renovate/). View the [repository job log](https://developer.mend.io/github/open-telemetry/opentelemetry-go). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzOS4yMjcuMyIsInVwZGF0ZWRJblZlciI6IjM5LjIyNy4zIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6WyJTa2lwIENoYW5nZWxvZyIsImRlcGVuZGVuY2llcyJdfQ==--> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Damien Mathieu <42@dmathieu.com> |
||
|
f60c3a624a |
Add a unit test to verify the functionality of WithClient for zipkin exporter (#6576)
fix #6533 Co-authored-by: Damien Mathieu <42@dmathieu.com> |
||
|
b4336954b6 |
chore(deps): update module github.com/polyfloyd/go-errorlint to v1.8.0 (#6603)
This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [github.com/polyfloyd/go-errorlint](https://redirect.github.com/polyfloyd/go-errorlint) | `v1.7.1` -> `v1.8.0` | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | --- > [!WARNING] > Some dependencies could not be looked up. Check the Dependency Dashboard for more information. --- ### Release Notes <details> <summary>polyfloyd/go-errorlint (github.com/polyfloyd/go-errorlint)</summary> ### [`v1.8.0`](https://redirect.github.com/polyfloyd/go-errorlint/blob/HEAD/CHANGELOG.md#v180-2025-04-02) [Compare Source](https://redirect.github.com/polyfloyd/go-errorlint/compare/v1.7.1...v1.8.0) ##### Feat - Add automatic error comparison and type assertion fixes ([#​96](https://redirect.github.com/polyfloyd/go-errorlint/issues/96)) </details> --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR is behind base branch, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR was generated by [Mend Renovate](https://mend.io/renovate/). View the [repository job log](https://developer.mend.io/github/open-telemetry/opentelemetry-go). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzOS4yMjcuMyIsInVwZGF0ZWRJblZlciI6IjM5LjIyNy4zIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6WyJTa2lwIENoYW5nZWxvZyIsImRlcGVuZGVuY2llcyJdfQ==--> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> |
||
|
f8df2f917d |
chore(deps): update module github.com/crocmagnon/fatcontext to v0.7.2 (#6602)
This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [github.com/Crocmagnon/fatcontext](https://redirect.github.com/Crocmagnon/fatcontext) | `v0.7.1` -> `v0.7.2` | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | --- > [!WARNING] > Some dependencies could not be looked up. Check the Dependency Dashboard for more information. --- ### Release Notes <details> <summary>Crocmagnon/fatcontext (github.com/Crocmagnon/fatcontext)</summary> ### [`v0.7.2`](https://redirect.github.com/Crocmagnon/fatcontext/releases/tag/v0.7.2) [Compare Source](https://redirect.github.com/Crocmagnon/fatcontext/compare/v0.7.1...v0.7.2) #### Summary - Dependency updates - Tooling updates (most notably golangci-lint@v2) - Stricter linters + refactoring - More robust test suite - Drop support for go 1.22 Thanks [@​ldez](https://redirect.github.com/ldez) 🙌🏻 #### Changelog - [`96ab752`]( |
||
|
c7de0ca94b |
Remove the lint-modules make target (#6586)
fix #6531 Co-authored-by: Damien Mathieu <42@dmathieu.com> |
||
|
8833c1a574 |
Reference markdownlint docker image in dependencies.Dockerfile (#6582)
fix #6530 Co-authored-by: Damien Mathieu <42@dmathieu.com> |
||
|
10008fb0e8 |
opentracing: test LogFields and LogKV in the opentracing bridge (#6583)
Fix #6546 Fix #6547 --------- Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Damien Mathieu <42@dmathieu.com> |
||
|
7239bf4516 |
Add unit test for BaggageItem in opentracing (#6577)
This PR aims to enhance coverage for the opentracing bridge. Issue reference: Closes #6548 |
||
|
b5ac5792d6 |
Remove the exporters/zipkin/internal package (#6566)
fix #6534 --------- Co-authored-by: Tyler Yahn <MrAlias@users.noreply.github.com> Co-authored-by: Damien Mathieu <42@dmathieu.com> |
||
|
f23f25a7dc |
Add example for SetTextMapPropagator (#6579)
Example demonstrating how to use `SetTextMapPropagator` with a composite propagator Related Issue: Closes #6571 Co-authored-by: Damien Mathieu <42@dmathieu.com> |
||
|
1b32b1df3a |
fix(deps): update module google.golang.org/grpc to v1.71.1 (#6587)
This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [google.golang.org/grpc](https://redirect.github.com/grpc/grpc-go) | `v1.71.0` -> `v1.71.1` | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | --- > [!WARNING] > Some dependencies could not be looked up. Check the Dependency Dashboard for more information. --- ### Release Notes <details> <summary>grpc/grpc-go (google.golang.org/grpc)</summary> ### [`v1.71.1`](https://redirect.github.com/grpc/grpc-go/releases/tag/v1.71.1): Release 1.71.1 [Compare Source](https://redirect.github.com/grpc/grpc-go/compare/v1.71.0...v1.71.1) ### Bug Fixes - grpc: fix a bug causing an extra Read from the compressor if a compressed message is the same size as the limit. This could result in a panic with the built-in gzip compressor ([#​8178](https://redirect.github.com/grpc/grpc-go/issues/8178)) - xds: restore the behavior of reading the bootstrap config before creating the first xDS client instead of at package init time ([#​8164](https://redirect.github.com/grpc/grpc-go/issues/8164)) - stats/opentelemetry: use `TextMapPropagator` and `TracerProvider` from `TraceOptions` instead of OpenTelemetry globals ([#​8166](https://redirect.github.com/grpc/grpc-go/issues/8166)) - client: fix races when an http proxy is configured that could lead to deadlocks or panics ([#​8195](https://redirect.github.com/grpc/grpc-go/issues/8195)) - client: fix bug causing RPC failures with message "no children to pick from" when using a custom resolver that calls the deprecated `NewAddress` API ([#​8149](https://redirect.github.com/grpc/grpc-go/issues/8149)) - wrr: fix slow processing of address updates that could result in problems including RPC failures for servers with a large number of backends ([#​8179](https://redirect.github.com/grpc/grpc-go/issues/8179)) </details> --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR is behind base branch, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about these updates again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR was generated by [Mend Renovate](https://mend.io/renovate/). View the [repository job log](https://developer.mend.io/github/open-telemetry/opentelemetry-go). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzOS4yMjcuMyIsInVwZGF0ZWRJblZlciI6IjM5LjIyNy4zIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6WyJTa2lwIENoYW5nZWxvZyIsImRlcGVuZGVuY2llcyJdfQ==--> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> |
||
|
1fd38f400b |
fix(deps): update module go.opentelemetry.io/collector/pdata to v1.29.0 (#6585)
This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [go.opentelemetry.io/collector/pdata](https://redirect.github.com/open-telemetry/opentelemetry-collector) | `v1.28.1` -> `v1.29.0` | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | --- > [!WARNING] > Some dependencies could not be looked up. Check the Dependency Dashboard for more information. --- ### Release Notes <details> <summary>open-telemetry/opentelemetry-collector (go.opentelemetry.io/collector/pdata)</summary> ### [`v1.29.0`](https://redirect.github.com/open-telemetry/opentelemetry-collector/blob/HEAD/CHANGELOG.md#v1290v01230) ##### 🛑 Breaking changes 🛑 - `service/telemetry`: Mark `telemetry.disableAddressFieldForInternalTelemetry` as beta, usage of deprecated service::telemetry::address are ignored ([#​25115](https://redirect.github.com/open-telemetry/opentelemetry-collector/issues/25115)) To restore the previous behavior disable `telemetry.disableAddressFieldForInternalTelemetry` feature gate. - `exporterbatch`: Remove deprecated fields `min_size_items` and `max_size_items` from batch config. ([#​12684](https://redirect.github.com/open-telemetry/opentelemetry-collector/issues/12684)) ##### 🚩 Deprecations 🚩 - `otlpexporter`: Mark BatcherConfig as deprecated, use `sending_queue::batch` instead ([#​12726](https://redirect.github.com/open-telemetry/opentelemetry-collector/issues/12726)) - `exporterhelper`: Deprecate `blocking` in favor of `block_on_overflow`. ([#​12710](https://redirect.github.com/open-telemetry/opentelemetry-collector/issues/12710)) - `exporterhelper`: Deprecate configuring exporter batching separately. Use `sending_queue::batch` instead. ([#​12772](https://redirect.github.com/open-telemetry/opentelemetry-collector/issues/12772)) Moving the batching configuration to `sending_queue::batch` requires setting `sending_queue::sizer` to `items` which means that `sending_queue::queue_size` needs to be also increased by the average batch size number (roughly x5000 for the default batching configuration). See https://github.com/open-telemetry/opentelemetry-collector/tree/main/exporter/exporterhelper#configuration ##### 💡 Enhancements 💡 - `exporterhelper`: Add support to configure batching in the sending queue. ([#​12746](https://redirect.github.com/open-telemetry/opentelemetry-collector/issues/12746)) - `exporterhelper`: Add support for wait_for_result, remove disabled_queue ([#​12742](https://redirect.github.com/open-telemetry/opentelemetry-collector/issues/12742)) This has a side effect for users of the experimental BatchConfig with the queue disabled, since not this is | uses only NumCPU() consumers. - `exporterhelper`: Allow exporter memory queue to use different type of sizers. ([#​12708](https://redirect.github.com/open-telemetry/opentelemetry-collector/issues/12708)) - `service`: Add "telemetry.newPipelineTelemetry" feature gate to inject component-identifying attributes in internal telemetry ([#​12217](https://redirect.github.com/open-telemetry/opentelemetry-collector/issues/12217)) With the feature gate enabled, all internal telemetry (metrics/traces/logs) will include some of the following instrumentation scope attributes: - `otelcol.component.kind` - `otelcol.component.id` - `otelcol.pipeline.id` - `otelcol.signal` - `otelcol.signal.output` These attributes are defined in the [Pipeline Component Telemetry RFC](https://redirect.github.com/open-telemetry/opentelemetry-collector/blob/main/docs/rfcs/component-universal-telemetry.md#attributes), and identify the component instance from which the telemetry originates. They are added automatically without changes to component code. These attributes were already included in internal logs as regular log attributes, starting from v0.120.0. For consistency with other signals, they have been switched to scope attributes (with the exception of logs emitted to standard output), and are now enabled by the feature gate. Please make sure that the exporter / backend endpoint you use has support for instrumentation scope attributes before using this feature. If the internal telemetry is exported to another Collector, a transform processor could be used to turn them into other kinds of attributes if necessary. - `exporterhelper`: Enable support to do batching using `bytes` sizer ([#​12751](https://redirect.github.com/open-telemetry/opentelemetry-collector/issues/12751)) - `service`: Add config key to set metric views used for internal telemetry ([#​10769](https://redirect.github.com/open-telemetry/opentelemetry-collector/issues/10769)) The `service::telemetry::metrics::views` config key can now be used to explicitly set the list of metric views used for internal telemetry, mirroring `meter_provider::views` in the SDK config. This can be used to disable specific internal metrics, among other uses. This key will cause an error if used alongside other features which would normally implicitly create views, such as: - not setting `service::telemetry::metrics::level` to `detailed`; - enabling the `telemetry.disableHighCardinalityMetrics` feature flag. ##### 🧰 Bug fixes 🧰 - `exporterhelper`: Fix order of starting between queue and batch. ([#​12705](https://redirect.github.com/open-telemetry/opentelemetry-collector/issues/12705)) <!-- previous-version --> </details> --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR is behind base branch, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR was generated by [Mend Renovate](https://mend.io/renovate/). View the [repository job log](https://developer.mend.io/github/open-telemetry/opentelemetry-go). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzOS4yMDcuMSIsInVwZGF0ZWRJblZlciI6IjM5LjIwNy4xIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6WyJTa2lwIENoYW5nZWxvZyIsImRlcGVuZGVuY2llcyJdfQ==--> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> |
||
|
2555f9454e |
chore(deps): update lycheeverse/lychee-action action to v2.4.0 (#6584)
This PR contains the following updates: | Package | Type | Update | Change | |---|---|---|---| | [lycheeverse/lychee-action](https://redirect.github.com/lycheeverse/lychee-action) | action | minor | `v2.3.0` -> `v2.4.0` | --- > [!WARNING] > Some dependencies could not be looked up. Check the Dependency Dashboard for more information. --- ### Release Notes <details> <summary>lycheeverse/lychee-action (lycheeverse/lychee-action)</summary> ### [`v2.4.0`](https://redirect.github.com/lycheeverse/lychee-action/releases/tag/v2.4.0): Version 2.4.0 [Compare Source](https://redirect.github.com/lycheeverse/lychee-action/compare/v2.3.0...v2.4.0) #### What's Changed - lychee now has a new task output, which allows to track which links got fixed more easily. It looks like this: \[test.html]: - \[X] \[404] https://en.wikipedia.org/wiki/foo | Network error: Not Found - \[ ] \[404] https://en.wikipedia.org/wiki/bar | Network error: Not Found - \[ ] \[ERROR] https://example.com/baz | Network error: error sending request for url (https://example.com/baz) Maybe a certificate error? Each broken link has a checkbox that can be ticked off once fixed. Credit goes to [@​Arteiii](https://redirect.github.com/Arteiii) for the idea and the implementation. See [#​274](https://redirect.github.com/lycheeverse/lychee-action/issues/274) for more information. - Update To latest lychee Release by [@​Arteiii](https://redirect.github.com/Arteiii) in [https://github.com/lycheeverse/lychee-action/pull/279](https://redirect.github.com/lycheeverse/lychee-action/pull/279) - Add `workingDirectory` argument by [@​mre](https://redirect.github.com/mre) in [https://github.com/lycheeverse/lychee-action/pull/283](https://redirect.github.com/lycheeverse/lychee-action/pull/283) #### New Contributors - [@​Arteiii](https://redirect.github.com/Arteiii) made their first contribution in [https://github.com/lycheeverse/lychee-action/pull/279](https://redirect.github.com/lycheeverse/lychee-action/pull/279) **Full Changelog**: https://github.com/lycheeverse/lychee-action/compare/v2...v2.4.0 </details> --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR is behind base branch, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR was generated by [Mend Renovate](https://mend.io/renovate/). View the [repository job log](https://developer.mend.io/github/open-telemetry/opentelemetry-go). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzOS4yMDcuMSIsInVwZGF0ZWRJblZlciI6IjM5LjIwNy4xIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6WyJTa2lwIENoYW5nZWxvZyIsImRlcGVuZGVuY2llcyJdfQ==--> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> |
||
|
3ae002c3ca |
chore(deps): update module github.com/ghostiam/protogetter to v0.3.13 (#6575)
This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [github.com/ghostiam/protogetter](https://redirect.github.com/ghostiam/protogetter) | `v0.3.12` -> `v0.3.13` | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | --- > [!WARNING] > Some dependencies could not be looked up. Check the Dependency Dashboard for more information. --- ### Release Notes <details> <summary>ghostiam/protogetter (github.com/ghostiam/protogetter)</summary> ### [`v0.3.13`](https://redirect.github.com/ghostiam/protogetter/releases/tag/v0.3.13) [Compare Source](https://redirect.github.com/ghostiam/protogetter/compare/v0.3.12...v0.3.13) Allow passing optional parameters to the function without getter. **Full Changelog**: https://github.com/ghostiam/protogetter/compare/v0.3.12...v0.3.13 </details> --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR is behind base branch, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR was generated by [Mend Renovate](https://mend.io/renovate/). View the [repository job log](https://developer.mend.io/github/open-telemetry/opentelemetry-go). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzOS4yMDcuMSIsInVwZGF0ZWRJblZlciI6IjM5LjIwNy4xIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6WyJTa2lwIENoYW5nZWxvZyIsImRlcGVuZGVuY2llcyJdfQ==--> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> |
||
|
044614c066 |
chore(deps): update module github.com/mgechev/revive to v1.8.0 (#6581)
This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [github.com/mgechev/revive](https://redirect.github.com/mgechev/revive) | `v1.7.0` -> `v1.8.0` | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | --- > [!WARNING] > Some dependencies could not be looked up. Check the Dependency Dashboard for more information. --- ### Release Notes <details> <summary>mgechev/revive (github.com/mgechev/revive)</summary> ### [`v1.8.0`](https://redirect.github.com/mgechev/revive/releases/tag/v1.8.0) [Compare Source](https://redirect.github.com/mgechev/revive/compare/v1.7.0...v1.8.0) #### Changelog - [`561c949`]( |
||
|
7512a2be2e |
Add the golines golangci-lint formatter (#6513)
Ensure consistent line wrapping (<= 120 characters) within the project. |
||
|
b59d0591cf |
internal/internaltest: Remove errors.go (#6559)
This PR removes the errors.go from the /internal/internaltest directory, as they are no longer used in the project. Additionally, this PR updates the gen.go file in the internal package to reflect the removal of these unused files. Closes https://github.com/open-telemetry/opentelemetry-go/issues/6521. Co-authored-by: Robert Pająk <pellared@hotmail.com> |
||
|
9d555cd4a6 |
Replace env var functionality from internaltest in sdk/resource and sdk/log (#6557)
Fix #6537 Fix #6539 Replace all uses of the environment variable functionality from the `sdk/internal/internaltest` package in `sdk/resource` and `sdk/log`. |
||
|
bdc123df40 |
chore: update lint-markdown to run as dockeruser (#6558)
Update the lint-markdown target in the Makefile to run the Docker container using $(DOCKER_USER) for consistent user permissions. Closes [#6529](https://github.com/open-telemetry/opentelemetry-go/issues/6529). |
||
|
b17e9748d2 |
Remove Unused env.go and env_test.go; Update gen.go in internal (#6556)
This PR removes the env.go and env_test.go files from the /internal/internaltest directory, as they are no longer used in the project. Additionally, this PR updates the gen.go file in the internal package to reflect the removal of these unused files. Closes [#6526](https://github.com/open-telemetry/opentelemetry-go/issues/6520). |
||
|
03fa67d907 |
chore(sdk): Replace all uses of the internaltest package in metric (#6551)
Fix: #6536 Co-authored-by: Damien Mathieu <42@dmathieu.com> |
||
|
63f3cfe1b5 |
sdk/trace: Manage trace environment variables in testing package (#6552)
Fix: #6542 Co-authored-by: Damien Mathieu <42@dmathieu.com> |
||
|
f88f3f19c7 |
zipkin: test zipkin exporter model conversion for bool, float64, and string slices (#6554)
fix #6532 --------- Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Damien Mathieu <42@dmathieu.com> |
||
|
2e21e190e9 |
Remove unused get_main_pkgs.sh script (#6555)
This PR removes the `get_main_pkgs.sh` script as it is no longer used in the project. Closes #6526. --------- Co-authored-by: Damien Mathieu <42@dmathieu.com> |
||
|
f18af3b6c3 |
internaltest: remove alignment.go from internaltest (#6550)
Fix #6519 --------- Co-authored-by: Sam Xie <sam@samxie.me> Co-authored-by: Damien Mathieu <42@dmathieu.com> |
||
|
da3a67a23f |
chore(deps): update module golang.org/x/net to v0.38.0 (#6568)
This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | golang.org/x/net | `v0.37.0` -> `v0.38.0` | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | --- > [!WARNING] > Some dependencies could not be looked up. Check the Dependency Dashboard for more information. --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR is behind base branch, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR was generated by [Mend Renovate](https://mend.io/renovate/). View the [repository job log](https://developer.mend.io/github/open-telemetry/opentelemetry-go). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzOS4yMDcuMSIsInVwZGF0ZWRJblZlciI6IjM5LjIwNy4xIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6WyJTa2lwIENoYW5nZWxvZyIsImRlcGVuZGVuY2llcyJdfQ==--> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> |
||
|
9e81492af1 |
chore(deps): update module github.com/antonboom/testifylint to v1.6.1 (#6567)
This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [github.com/Antonboom/testifylint](https://redirect.github.com/Antonboom/testifylint) | `v1.6.0` -> `v1.6.1` | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | --- > [!WARNING] > Some dependencies could not be looked up. Check the Dependency Dashboard for more information. --- ### Release Notes <details> <summary>Antonboom/testifylint (github.com/Antonboom/testifylint)</summary> ### [`v1.6.1`](https://redirect.github.com/Antonboom/testifylint/releases/tag/v1.6.1) [Compare Source](https://redirect.github.com/Antonboom/testifylint/compare/v1.6.0...v1.6.1) #### What's Changed - fix: false-positive useless-assert on Positive function by [@​semihbkgr](https://redirect.github.com/semihbkgr) in [https://github.com/Antonboom/testifylint/pull/236](https://redirect.github.com/Antonboom/testifylint/pull/236) #### New Contributors - [@​semihbkgr](https://redirect.github.com/semihbkgr) made their first contribution in [https://github.com/Antonboom/testifylint/pull/236](https://redirect.github.com/Antonboom/testifylint/pull/236) **Full Changelog**: https://github.com/Antonboom/testifylint/compare/v1.6.0...v1.6.1 </details> --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR is behind base branch, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR was generated by [Mend Renovate](https://mend.io/renovate/). View the [repository job log](https://developer.mend.io/github/open-telemetry/opentelemetry-go). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzOS4yMDcuMSIsInVwZGF0ZWRJblZlciI6IjM5LjIwNy4xIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6WyJTa2lwIENoYW5nZWxvZyIsImRlcGVuZGVuY2llcyJdfQ==--> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> |
||
|
1852b39d6c |
Refactor fail method in matchers (#6517)
Accept a format and parameters just like `fmt.Sprintf` given almost all calls to `e.fail` follow this format. |
||
|
7376a33e03 |
Update release process in RELEASING.md (#6504)
Changes: - Add a section on closing the milestone. - Add a section on creating a `Version Release` issue. |
||
|
dbcd24f637 |
fix(deps): update module github.com/prometheus/common to v0.63.0 (#6442)
This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [github.com/prometheus/common](https://redirect.github.com/prometheus/common) | `v0.62.0` -> `v0.63.0` | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>prometheus/common (github.com/prometheus/common)</summary> ### [`v0.63.0`](https://redirect.github.com/prometheus/common/releases/tag/v0.63.0) [Compare Source](https://redirect.github.com/prometheus/common/compare/v0.62.0...v0.63.0) #### What's Changed - Making the map a public variable for promtheus-operator by [@​dongjiang1989](https://redirect.github.com/dongjiang1989) in [https://github.com/prometheus/common/pull/741](https://redirect.github.com/prometheus/common/pull/741) - setup ossf scorecard and codeql workflows by [@​mmorel-35](https://redirect.github.com/mmorel-35) in [https://github.com/prometheus/common/pull/564](https://redirect.github.com/prometheus/common/pull/564) - feat(promslog): implement reserved keys, rename duplicates by [@​tjhop](https://redirect.github.com/tjhop) in [https://github.com/prometheus/common/pull/746](https://redirect.github.com/prometheus/common/pull/746) - Bump golang.org/x/oauth2 from 0.24.0 to 0.25.0 by [@​dependabot](https://redirect.github.com/dependabot) in [https://github.com/prometheus/common/pull/750](https://redirect.github.com/prometheus/common/pull/750) - Bump golang.org/x/net from 0.33.0 to 0.34.0 by [@​dependabot](https://redirect.github.com/dependabot) in [https://github.com/prometheus/common/pull/749](https://redirect.github.com/prometheus/common/pull/749) - Bump google.golang.org/protobuf from 1.36.1 to 1.36.3 by [@​dependabot](https://redirect.github.com/dependabot) in [https://github.com/prometheus/common/pull/751](https://redirect.github.com/prometheus/common/pull/751) - promslog: Make AllowedLevel concurrency safe. by [@​bwplotka](https://redirect.github.com/bwplotka) in [https://github.com/prometheus/common/pull/754](https://redirect.github.com/prometheus/common/pull/754) - Fix typo 'the an' by [@​petern48](https://redirect.github.com/petern48) in [https://github.com/prometheus/common/pull/752](https://redirect.github.com/prometheus/common/pull/752) - Synchronize common files from prometheus/prometheus by [@​prombot](https://redirect.github.com/prombot) in [https://github.com/prometheus/common/pull/757](https://redirect.github.com/prometheus/common/pull/757) - build(deps): bump google.golang.org/protobuf from 1.36.3 to 1.36.4 by [@​dependabot](https://redirect.github.com/dependabot) in [https://github.com/prometheus/common/pull/756](https://redirect.github.com/prometheus/common/pull/756) - build(deps): bump google.golang.org/protobuf from 1.36.4 to 1.36.5 by [@​dependabot](https://redirect.github.com/dependabot) in [https://github.com/prometheus/common/pull/761](https://redirect.github.com/prometheus/common/pull/761) - build(deps): bump github.com/google/go-cmp from 0.6.0 to 0.7.0 by [@​dependabot](https://redirect.github.com/dependabot) in [https://github.com/prometheus/common/pull/763](https://redirect.github.com/prometheus/common/pull/763) - build(deps): bump golang.org/x/net from 0.34.0 to 0.35.0 by [@​dependabot](https://redirect.github.com/dependabot) in [https://github.com/prometheus/common/pull/762](https://redirect.github.com/prometheus/common/pull/762) - model: Clarify the purpose of model.NameValidationScheme by [@​ywwg](https://redirect.github.com/ywwg) in [https://github.com/prometheus/common/pull/765](https://redirect.github.com/prometheus/common/pull/765) - Fix spelling mistake in godoc by [@​grobinson-grafana](https://redirect.github.com/grobinson-grafana) in [https://github.com/prometheus/common/pull/766](https://redirect.github.com/prometheus/common/pull/766) - Synchronize common files from prometheus/prometheus by [@​prombot](https://redirect.github.com/prombot) in [https://github.com/prometheus/common/pull/767](https://redirect.github.com/prometheus/common/pull/767) - otlptranslator: Add dependency free package that translates OTLP data into Prometheus metric/label names by [@​ArthurSens](https://redirect.github.com/ArthurSens) in [https://github.com/prometheus/common/pull/768](https://redirect.github.com/prometheus/common/pull/768) #### New Contributors - [@​dongjiang1989](https://redirect.github.com/dongjiang1989) made their first contribution in [https://github.com/prometheus/common/pull/741](https://redirect.github.com/prometheus/common/pull/741) - [@​petern48](https://redirect.github.com/petern48) made their first contribution in [https://github.com/prometheus/common/pull/752](https://redirect.github.com/prometheus/common/pull/752) **Full Changelog**: https://github.com/prometheus/common/compare/v0.62.0...v0.63.0 </details> --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR is behind base branch, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about these updates again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR was generated by [Mend Renovate](https://mend.io/renovate/). View the [repository job log](https://developer.mend.io/github/open-telemetry/opentelemetry-go). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzOS4yMDAuMCIsInVwZGF0ZWRJblZlciI6IjM5LjIwNy4xIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6WyJTa2lwIENoYW5nZWxvZyIsImRlcGVuZGVuY2llcyJdfQ==--> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> |
||
|
ee66d2c0c2 |
Fix codeql permission (#6518)
Fix #6514
This fix works on my main branch:
|
||
|
905684c58a |
Ignore deprecation warnings about NameValidationScheme (#6449)
In 0.63.0, prometheus deprecates the `model.NameValidationScheme` attribute. https://github.com/open-telemetry/opentelemetry-go/actions/runs/13885046847/job/38848614767?pr=6442 > Error: exporter_test.go:478:6: SA1019: model.NameValidationScheme is deprecated: This variable should not be used and might be removed in the far future. If you wish to stick to the legacy name validation use `IsValidLegacyMetricName()` and `LabelName.IsValidLegacy()` methods instead. This variable is here as an escape hatch for emergency cases, given the recent change from `LegacyValidation` to `UTF8Validation`, e.g., to delay UTF-8 migrations in time or aid in debugging unforeseen results of the change. In such a case, a temporary assignment to `LegacyValidation` value in the `init()` function in your main.go or so, could be considered. (staticcheck) We probably want to keep supporting this scheme in the near future though. So this ignores those deprecations, so we can upgrade the package. Unblocks https://github.com/open-telemetry/opentelemetry-go/pull/6442 |
||
|
f0ca595b52 |
chore(deps): update module github.com/kunwardeep/paralleltest to v1.0.14 (#6553)
This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [github.com/kunwardeep/paralleltest](https://redirect.github.com/kunwardeep/paralleltest) | `v1.0.13` -> `v1.0.14` | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | --- > [!WARNING] > Some dependencies could not be looked up. Check the Dependency Dashboard for more information. --- ### Release Notes <details> <summary>kunwardeep/paralleltest (github.com/kunwardeep/paralleltest)</summary> ### [`v1.0.14`](https://redirect.github.com/kunwardeep/paralleltest/releases/tag/v1.0.14) [Compare Source](https://redirect.github.com/kunwardeep/paralleltest/compare/v1.0.13...v1.0.14) #### What's Changed - Added new test to validate issue 40 by [@​kunwardeep](https://redirect.github.com/kunwardeep) in [https://github.com/kunwardeep/paralleltest/pull/42](https://redirect.github.com/kunwardeep/paralleltest/pull/42) - update readme by [@​kunwardeep](https://redirect.github.com/kunwardeep) in [https://github.com/kunwardeep/paralleltest/pull/45](https://redirect.github.com/kunwardeep/paralleltest/pull/45) - Run linter for test files only by [@​kunwardeep](https://redirect.github.com/kunwardeep) in [https://github.com/kunwardeep/paralleltest/pull/46](https://redirect.github.com/kunwardeep/paralleltest/pull/46) **Full Changelog**: https://github.com/kunwardeep/paralleltest/compare/v1.0.13...v1.0.14 </details> --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR is behind base branch, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR was generated by [Mend Renovate](https://mend.io/renovate/). View the [repository job log](https://developer.mend.io/github/open-telemetry/opentelemetry-go). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzOS4yMDcuMSIsInVwZGF0ZWRJblZlciI6IjM5LjIwNy4xIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6WyJTa2lwIENoYW5nZWxvZyIsImRlcGVuZGVuY2llcyJdfQ==--> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> |
||
|
b98dd5e5ac |
chore(deps): update module github.com/sagikazarmark/locafero to v0.9.0 (#6528)
This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [github.com/sagikazarmark/locafero](https://redirect.github.com/sagikazarmark/locafero) | `v0.8.0` -> `v0.9.0` | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | --- > [!WARNING] > Some dependencies could not be looked up. Check the Dependency Dashboard for more information. --- ### Release Notes <details> <summary>sagikazarmark/locafero (github.com/sagikazarmark/locafero)</summary> ### [`v0.9.0`](https://redirect.github.com/sagikazarmark/locafero/compare/v0.8.0...v0.9.0) [Compare Source](https://redirect.github.com/sagikazarmark/locafero/compare/v0.8.0...v0.9.0) </details> --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR is behind base branch, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR was generated by [Mend Renovate](https://mend.io/renovate/). View the [repository job log](https://developer.mend.io/github/open-telemetry/opentelemetry-go). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzOS4yMDcuMSIsInVwZGF0ZWRJblZlciI6IjM5LjIwNy4xIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6WyJTa2lwIENoYW5nZWxvZyIsImRlcGVuZGVuY2llcyJdfQ==--> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> |
||
|
b81fe7d30f |
chore(deps): update module github.com/charmbracelet/colorprofile to v0.3.0 (#6516)
This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [github.com/charmbracelet/colorprofile](https://redirect.github.com/charmbracelet/colorprofile) | `v0.2.3-0.20250311203215-f60798e515dc` -> `v0.3.0` | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | --- > [!WARNING] > Some dependencies could not be looked up. Check the Dependency Dashboard for more information. --- ### Release Notes <details> <summary>charmbracelet/colorprofile (github.com/charmbracelet/colorprofile)</summary> ### [`v0.3.0`](https://redirect.github.com/charmbracelet/colorprofile/releases/tag/v0.3.0) [Compare Source](https://redirect.github.com/charmbracelet/colorprofile/compare/v0.2.2...v0.3.0) You can now use `TTY_FORCE=1` to force `colorprofile` programs to assume they're working with a TTY to force colors. #### Changelog ##### New Features - [`324ca85`]( |
||
|
ee442f9666 |
chore(deps): update github.com/golangci/golines digest to b35a614 (#6512)
This PR contains the following updates: | Package | Type | Update | Change | |---|---|---|---| | [github.com/golangci/golines](https://redirect.github.com/golangci/golines) | indirect | digest | `442fd00` -> `b35a614` | --- > [!WARNING] > Some dependencies could not be looked up. Check the Dependency Dashboard for more information. --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR is behind base branch, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR was generated by [Mend Renovate](https://mend.io/renovate/). View the [repository job log](https://developer.mend.io/github/open-telemetry/opentelemetry-go). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzOS4yMDcuMSIsInVwZGF0ZWRJblZlciI6IjM5LjIwNy4xIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6WyJTa2lwIENoYW5nZWxvZyIsImRlcGVuZGVuY2llcyJdfQ==--> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> |
||
|
1c10855dbf |
chore(deps): update module github.com/spf13/viper to v1.20.1 (#6515)
This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [github.com/spf13/viper](https://redirect.github.com/spf13/viper) | `v1.20.0` -> `v1.20.1` | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | --- > [!WARNING] > Some dependencies could not be looked up. Check the Dependency Dashboard for more information. --- ### Release Notes <details> <summary>spf13/viper (github.com/spf13/viper)</summary> ### [`v1.20.1`](https://redirect.github.com/spf13/viper/releases/tag/v1.20.1) [Compare Source](https://redirect.github.com/spf13/viper/compare/v1.20.0...v1.20.1) <!-- Release notes generated using configuration in .github/release.yml at v1.20.1 --> #### What's Changed ##### Bug Fixes 🐛 - Backport config type fixes to 1.20.x by [@​sagikazarmark](https://redirect.github.com/sagikazarmark) in [https://github.com/spf13/viper/pull/2005](https://redirect.github.com/spf13/viper/pull/2005) **Full Changelog**: https://github.com/spf13/viper/compare/v1.20.0...v1.20.1 </details> --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR is behind base branch, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR was generated by [Mend Renovate](https://mend.io/renovate/). View the [repository job log](https://developer.mend.io/github/open-telemetry/opentelemetry-go). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzOS4yMDcuMSIsInVwZGF0ZWRJblZlciI6IjM5LjIwNy4xIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6WyJTa2lwIENoYW5nZWxvZyIsImRlcGVuZGVuY2llcyJdfQ==--> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> |
||
|
2d77e1abc4 | fix(deps): update build-tools to v0.21.0 (#6510) | ||
|
590bcee71b |
fix(deps): update module github.com/golangci/golangci-lint to v2 (#6499)
This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [github.com/golangci/golangci-lint](https://redirect.github.com/golangci/golangci-lint) | `v1.64.8` -> `v2.0.2` | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>golangci/golangci-lint (github.com/golangci/golangci-lint)</summary> ### [`v2.0.2`](https://redirect.github.com/golangci/golangci-lint/blob/HEAD/CHANGELOG.md#v202) [Compare Source](https://redirect.github.com/golangci/golangci-lint/compare/v2.0.1...v2.0.2) 1. Misc. - Fixes flags parsing for formatters - Fixes the filepath used by the exclusion `source` option 2. Documentation - Adds a section about flags migration - Cleaning pages with v1 options ### [`v2.0.1`](https://redirect.github.com/golangci/golangci-lint/blob/HEAD/CHANGELOG.md#v201) [Compare Source](https://redirect.github.com/golangci/golangci-lint/compare/v2.0.0...v2.0.1) 1. Linters/formatters bug fixes - `golines`: fix settings during linter load 2. Misc. - Validates the `version` field before the configuration - `forbidigo`: fix migration ### [`v2.0.0`](https://redirect.github.com/golangci/golangci-lint/blob/HEAD/CHANGELOG.md#v200) [Compare Source](https://redirect.github.com/golangci/golangci-lint/compare/v1.64.8...v2.0.0) 1. Enhancements - 🌟 New `golangci-lint fmt` command with dedicated formatter configuration (https://golangci-lint.run/welcome/quick-start/#formatting) - ♻️ New `golangci-lint migrate` command to help migration from v1 to v2 (cf. [Migration guide](https://golangci-lint.run/product/migration-guide/#command-migrate)) - ⚠️ New default values (cf. [Migration guide](https://golangci-lint.run/product/migration-guide/)) - ⚠️ No exclusions by default (cf. [Migration guide](https://golangci-lint.run/product/migration-guide/#issuesexclude-use-default)) - ⚠️ New default sort order (cf. [Migration guide](https://golangci-lint.run/product/migration-guide/#outputsort-order)) - 🌟 New option `run.relative-path-mode` (cf. [Migration guide](https://golangci-lint.run/product/migration-guide/#runrelative-path-mode)) - 🌟 New linters configuration (cf. [Migration guide](https://golangci-lint.run/product/migration-guide/#linters)) - 🌟 New output format configuration (cf. [Migration guide](https://golangci-lint.run/product/migration-guide/#output)) - 🌟 New `--fast-only` flag (cf. [Migration guide](https://golangci-lint.run/product/migration-guide/#lintersfast)) - 🌟 New option `linters.exclusions.warn-unused` to log a warning if an exclusion rule is unused. 2. New linters/formatters - Add `golines` formatter https://github.com/segmentio/golines 3. Linters new features - ⚠️ Merge `staticcheck`, `stylecheck`, `gosimple` into one linter (`staticcheck`) (cf. [Migration guide](https://golangci-lint.run/product/migration-guide/#lintersenablestylecheckgosimplestaticcheck)) - `go-critic`: from 0.12.0 to 0.13.0 - `gomodguard`: from 1.3.5 to 1.4.1 (block explicit indirect dependencies) - `nilnil`: from 1.0.1 to 1.1.0 (new option: `only-two`) - `perfsprint`: from 0.8.2 to 0.9.1 (checker name in the diagnostic message) - `staticcheck`: new `quickfix` set of rules - `testifylint`: from 1.5.2 to 1.6.0 (new options: `equal-values`, `suite-method-signature`, `require-string-msg`) - `wsl`: from 4.5.0 to 4.6.0 (new option: `allow-cuddle-used-in-block`) 4. Linters bug fixes - `bidichk`: from 0.3.2 to 0.3.3 - `errchkjson`: from 0.4.0 to 0.4.1 - `errname`: from 1.0.0 to 1.1.0 - `funlen`: fix `ignore-comments` option - `gci`: from 0.13.5 to 0.13.6 - `gosmopolitan`: from 1.2.2 to 1.3.0 - `inamedparam`: from 0.1.3 to 0.2.0 - `intrange`: from 0.3.0 to 0.3.1 - `protogetter`: from 0.3.9 to 0.3.12 - `unparam`: from [`8a5130c`](https://redirect.github.com/golangci/golangci-lint/commit/8a5130ca722f) to [`0df0534`](https://redirect.github.com/golangci/golangci-lint/commit/0df0534333a4) 5. Misc. - 🧹 Configuration options renaming (cf. [Migration guide](https://golangci-lint.run/product/migration-guide/)) - 🧹 Remove options (cf. [Migration guide](https://golangci-lint.run/product/migration-guide/)) - 🧹 Remove flags (cf. [Migration guide](https://golangci-lint.run/product/migration-guide/)) - 🧹 Remove alternative names (cf. [Migration guide](https://golangci-lint.run/product/migration-guide/#alternative-linter-names)) - 🧹 Remove or replace deprecated elements (cf. [Migration guide](https://golangci-lint.run/product/migration-guide/)) - Adds an option to display some commands as JSON: - `golangci-lint config path --json` - `golangci-lint help linters --json` - `golangci-lint help formatters --json` - `golangci-lint linters --json` - `golangci-lint formatters --json` - `golangci-lint version --json` 6. Documentation - [Migration guide](https://golangci-lint.run/product/migration-guide/) </details> --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR is behind base branch, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR was generated by [Mend Renovate](https://mend.io/renovate/). View the [repository job log](https://developer.mend.io/github/open-telemetry/opentelemetry-go). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzOS4yMDcuMSIsInVwZGF0ZWRJblZlciI6IjM5LjIwNy4xIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6WyJTa2lwIENoYW5nZWxvZyIsImRlcGVuZGVuY2llcyJdfQ==--> --------- Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Tyler Yahn <codingalias@gmail.com> |
||
|
afb93220f4 |
chore(deps): update module github.com/tomarrell/wrapcheck/v2 to v2.11.0 (#6508)
This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [github.com/tomarrell/wrapcheck/v2](https://redirect.github.com/tomarrell/wrapcheck) | `v2.10.0` -> `v2.11.0` | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>tomarrell/wrapcheck (github.com/tomarrell/wrapcheck/v2)</summary> ### [`v2.11.0`](https://redirect.github.com/tomarrell/wrapcheck/releases/tag/v2.11.0): Optional reporting for package-internal errors, dep updates [Compare Source](https://redirect.github.com/tomarrell/wrapcheck/compare/v2.10.0...v2.11.0) #### What's Changed - deps: upgrade golang.org/x/tools to v0.25.0 by [@​high-moctane](https://redirect.github.com/high-moctane) in [https://github.com/tomarrell/wrapcheck/pull/61](https://redirect.github.com/tomarrell/wrapcheck/pull/61) - feat: add option for reporting internal errors by [@​frozenbonito](https://redirect.github.com/frozenbonito) in [https://github.com/tomarrell/wrapcheck/pull/60](https://redirect.github.com/tomarrell/wrapcheck/pull/60) #### New Contributors - [@​high-moctane](https://redirect.github.com/high-moctane) made their first contribution in [https://github.com/tomarrell/wrapcheck/pull/61](https://redirect.github.com/tomarrell/wrapcheck/pull/61) - [@​frozenbonito](https://redirect.github.com/frozenbonito) made their first contribution in [https://github.com/tomarrell/wrapcheck/pull/60](https://redirect.github.com/tomarrell/wrapcheck/pull/60) **Full Changelog**: https://github.com/tomarrell/wrapcheck/compare/v2.10.0...v2.11.0 </details> --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR is behind base branch, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR was generated by [Mend Renovate](https://mend.io/renovate/). View the [repository job log](https://developer.mend.io/github/open-telemetry/opentelemetry-go). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzOS4yMDcuMSIsInVwZGF0ZWRJblZlciI6IjM5LjIwNy4xIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6WyJTa2lwIENoYW5nZWxvZyIsImRlcGVuZGVuY2llcyJdfQ==--> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> |
||
|
a12c0aa5de |
chore(deps): update module github.com/kunwardeep/paralleltest to v1.0.13 (#6505)
This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [github.com/kunwardeep/paralleltest](https://redirect.github.com/kunwardeep/paralleltest) | `v1.0.10` -> `v1.0.13` | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>kunwardeep/paralleltest (github.com/kunwardeep/paralleltest)</summary> ### [`v1.0.13`](https://redirect.github.com/kunwardeep/paralleltest/releases/tag/v1.0.13) [Compare Source](https://redirect.github.com/kunwardeep/paralleltest/compare/v1.0.12...v1.0.13) #### What's Changed - fix: downgrade min go version by [@​ldez](https://redirect.github.com/ldez) in [https://github.com/kunwardeep/paralleltest/pull/43](https://redirect.github.com/kunwardeep/paralleltest/pull/43) - Remove deprecate linters by [@​kunwardeep](https://redirect.github.com/kunwardeep) in [https://github.com/kunwardeep/paralleltest/pull/44](https://redirect.github.com/kunwardeep/paralleltest/pull/44) **Full Changelog**: https://github.com/kunwardeep/paralleltest/compare/v1.0.12...v1.0.13 ### [`v1.0.12`](https://redirect.github.com/kunwardeep/paralleltest/releases/tag/v1.0.12) [Compare Source](https://redirect.github.com/kunwardeep/paralleltest/compare/v1.0.11...v1.0.12) #### What's Changed - Updated go and dependencies by [@​kunwardeep](https://redirect.github.com/kunwardeep) in [https://github.com/kunwardeep/paralleltest/pull/41](https://redirect.github.com/kunwardeep/paralleltest/pull/41) **Full Changelog**: https://github.com/kunwardeep/paralleltest/compare/v1.0.11...v1.0.12 ### [`v1.0.11`](https://redirect.github.com/kunwardeep/paralleltest/releases/tag/v1.0.11) [Compare Source](https://redirect.github.com/kunwardeep/paralleltest/compare/v1.0.10...v1.0.11) #### What's Changed - Update x/tools to fix panic in tests with Go 1.24 by [@​alexandear](https://redirect.github.com/alexandear) in [https://github.com/kunwardeep/paralleltest/pull/39](https://redirect.github.com/kunwardeep/paralleltest/pull/39) **Full Changelog**: https://github.com/kunwardeep/paralleltest/compare/v1.0.10...v1.0.11 </details> --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR is behind base branch, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR was generated by [Mend Renovate](https://mend.io/renovate/). View the [repository job log](https://developer.mend.io/github/open-telemetry/opentelemetry-go). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzOS4yMDcuMSIsInVwZGF0ZWRJblZlciI6IjM5LjIwNy4xIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6WyJTa2lwIENoYW5nZWxvZyIsImRlcGVuZGVuY2llcyJdfQ==--> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> |
||
|
95e5bbab98 |
Generate v1.31.0 semconv (#6479)
- Generate `semconv/v1.31.0` - Stop generating deprecated metric semconv similar to all other generation - Fix acronyms: - `ReplicationController` - `ResourceQuota` ## [`v1.31.0` semantic convention release notes](https://github.com/open-telemetry/semantic-conventions/releases/tag/v1.31.0): <h3>🛑 Breaking changes 🛑</h3> <ul> <li> <p><code>code</code>: <code>code.function.name</code> value should contain the fully qualified function name, <code>code.namespace</code> is now deprecated (<a href="https://github.com/open-telemetry/semantic-conventions/issues/1677" data-hovercard-type="issue" data-hovercard-url="/open-telemetry/semantic-conventions/issues/1677/hovercard">#1677</a>)</p> </li> <li> <p><code>gen-ai</code>: Introduce <code>gen_ai.output.type</code>and deprecate <code>gen_ai.openai.request.response_format</code> (<a href="https://github.com/open-telemetry/semantic-conventions/issues/1757" data-hovercard-type="pull_request" data-hovercard-url="/open-telemetry/semantic-conventions/pull/1757/hovercard">#1757</a>)</p> </li> <li> <p><code>mobile</code>: Rework <code>device.app.lifecycle</code> mobile event. (<a href="https://github.com/open-telemetry/semantic-conventions/issues/1880" data-hovercard-type="pull_request" data-hovercard-url="/open-telemetry/semantic-conventions/pull/1880/hovercard">#1880</a>)<br> The <code>device.app.lifecycle</code> event has been reworked to use attributes instead<br> of event body fields. The <code>ios.app.state</code> and <code>android.app.state</code> attributes<br> have been reintroduced to the attribute registry.</p> </li> <li> <p><code>system</code>: Move CPU-related system.cpu.* metrics to CPU namespace (<a href="https://github.com/open-telemetry/semantic-conventions/issues/1873" data-hovercard-type="issue" data-hovercard-url="/open-telemetry/semantic-conventions/issues/1873/hovercard">#1873</a>)</p> </li> <li> <p><code>k8s</code>: Change k8s.replication_controller metrics to k8s.replicationcontroller (<a href="https://github.com/open-telemetry/semantic-conventions/issues/1848" data-hovercard-type="pull_request" data-hovercard-url="/open-telemetry/semantic-conventions/pull/1848/hovercard">#1848</a>)</p> </li> <li> <p><code>db</code>: Rename <code>db.system</code> to <code>db.system.name</code> in database metrics, and update the values to be consistent with database spans. (<a href="https://github.com/open-telemetry/semantic-conventions/issues/1581" data-hovercard-type="issue" data-hovercard-url="/open-telemetry/semantic-conventions/issues/1581/hovercard">#1581</a>)</p> </li> <li> <p><code>session</code>: Move <code>session.id</code> and <code>session.previous_id</code> from body fields to event attributes, and yamlize <code>session.start</code> and <code>session.end</code> events. (<a href="https://github.com/open-telemetry/semantic-conventions/issues/1845" data-hovercard-type="pull_request" data-hovercard-url="/open-telemetry/semantic-conventions/pull/1845/hovercard">#1845</a>)<br> As part of the ongoing migration of event fields from LogRecord body to extended/complex attributes, the <code>session.start</code> and <code>session.end</code> events have been redefined.</p> </li> </ul> <h3>💡 Enhancements 💡</h3> <ul> <li> <p><code>code</code>: Mark <code>code.*</code> semantic conventions as release candidate (<a href="https://github.com/open-telemetry/semantic-conventions/issues/1377" data-hovercard-type="issue" data-hovercard-url="/open-telemetry/semantic-conventions/issues/1377/hovercard">#1377</a>)</p> </li> <li> <p><code>gen-ai</code>: Added AI Agent Semantic Convention (<a href="https://github.com/open-telemetry/semantic-conventions/issues/1732" data-hovercard-type="issue" data-hovercard-url="/open-telemetry/semantic-conventions/issues/1732/hovercard">#1732</a>, <a href="https://github.com/open-telemetry/semantic-conventions/issues/1739" data-hovercard-type="pull_request" data-hovercard-url="/open-telemetry/semantic-conventions/pull/1739/hovercard">#1739</a>)</p> </li> <li> <p><code>db</code>: Add database-specific notes on db.operation.name and db.collection.name for Cassandra, Cosmos DB, HBase, MongoDB, and Redis, covering their batch/bulk terms and lack of cross-table queries. (<a href="https://github.com/open-telemetry/semantic-conventions/issues/1863" data-hovercard-type="pull_request" data-hovercard-url="/open-telemetry/semantic-conventions/pull/1863/hovercard">#1863</a>, <a href="https://github.com/open-telemetry/semantic-conventions/issues/1573" data-hovercard-type="issue" data-hovercard-url="/open-telemetry/semantic-conventions/issues/1573/hovercard">#1573</a>)</p> </li> <li> <p><code>gen-ai</code>: Adds <code>gen_ai.request.choice.count</code> span attribute (<a href="https://github.com/open-telemetry/semantic-conventions/issues/1888" data-hovercard-type="issue" data-hovercard-url="/open-telemetry/semantic-conventions/issues/1888/hovercard">#1888</a>)<br> Enables recording target number of completions to generate</p> </li> <li> <p><code>enduser</code>: Undeprecate 'enduser.id' and introduce new attribute <code>enduser.pseudo.id</code> (<a href="https://github.com/open-telemetry/semantic-conventions/issues/1104" data-hovercard-type="issue" data-hovercard-url="/open-telemetry/semantic-conventions/issues/1104/hovercard">#1104</a>)<br> The new attribute <code>enduser.pseudo.id</code> is intended to provide a unique identifier of a pseudonymous enduser.</p> </li> <li> <p><code>k8s</code>: Add <code>k8s.hpa</code>, <code>k8s.resourcequota</code> and <code>k8s.replicationcontroller</code> attributes and resources (<a href="https://github.com/open-telemetry/semantic-conventions/issues/1656" data-hovercard-type="issue" data-hovercard-url="/open-telemetry/semantic-conventions/issues/1656/hovercard">#1656</a>)</p> </li> <li> <p><code>k8s</code>: How to populate resource attributes based on attributes, labels and transformation (<a href="https://github.com/open-telemetry/semantic-conventions/issues/236" data-hovercard-type="issue" data-hovercard-url="/open-telemetry/semantic-conventions/issues/236/hovercard">#236</a>)</p> </li> <li> <p><code>process</code>: Adjust the semantic expectations for <code>process.executable.name</code> (<a href="https://github.com/open-telemetry/semantic-conventions/issues/1736" data-hovercard-type="issue" data-hovercard-url="/open-telemetry/semantic-conventions/issues/1736/hovercard">#1736</a>)</p> </li> <li> <p><code>otel</code>: Adds SDK self-monitoring metrics for span processing (<a href="https://github.com/open-telemetry/semantic-conventions/issues/1631" data-hovercard-type="pull_request" data-hovercard-url="/open-telemetry/semantic-conventions/pull/1631/hovercard">#1631</a>)</p> </li> <li> <p><code>cicd</code>: Adds a new attribute <code>cicd.pipeline.run.url.full</code> and corrects the attribute description of <code>cicd.pipeline.task.run.url.full</code> (<a href="https://github.com/open-telemetry/semantic-conventions/issues/1796" data-hovercard-type="issue" data-hovercard-url="/open-telemetry/semantic-conventions/issues/1796/hovercard">#1796</a>)</p> </li> <li> <p><code>user-agent</code>: Add <code>user_agent.os.name</code> and <code>user_agent.os.version</code> attributes (<a href="https://github.com/open-telemetry/semantic-conventions/issues/1433" data-hovercard-type="issue" data-hovercard-url="/open-telemetry/semantic-conventions/issues/1433/hovercard">#1433</a>)</p> </li> </ul> <h3>🧰 Bug fixes 🧰</h3> <ul> <li><code>process</code>: Fix units of process.open_file_descriptor.count and process.context_switches (<a href="https://github.com/open-telemetry/semantic-conventions/issues/1662" data-hovercard-type="issue" data-hovercard-url="/open-telemetry/semantic-conventions/issues/1662/hovercard">#1662</a>)</li> </ul> --------- Co-authored-by: Robert Pająk <pellared@hotmail.com> |
||
|
ff6be9eeee |
chore(renovate): ignore go.opentelemetry.io/otel/sdk/log/logtest (#6501)
In order not to have PRs like these: - https://github.com/open-telemetry/opentelemetry-go/pull/6478 - https://github.com/open-telemetry/opentelemetry-go/pull/6477 Renovate docs: https://docs.renovatebot.com/configuration-options/#enabled |
||
|
dbc3bce6fa |
log/logtest: Remove RecordFactory (#6492)
Fixes https://github.com/open-telemetry/opentelemetry-go/issues/6485 Towards https://github.com/open-telemetry/opentelemetry-go/issues/6341 `RecordFactory` is unused. |
||
|
796596abba | fix(deps): update module google.golang.org/protobuf to v1.36.6 (#6496) | ||
|
1d74b27307 | fix(deps): update googleapis to b45e905 (#6500) | ||
|
84ff4da7ab |
sdk/log: remove EnabledParameters.Resource (#6494)
Per https://github.com/open-telemetry/opentelemetry-specification/pull/4439#discussion_r1980165954 |