renovate[bot]
a234754201
chore(deps): update googleapis to 796eee8 ( #5888 )
2024-10-16 07:22:46 +02:00
renovate[bot]
d70f3da34d
fix(deps): update module github.com/prometheus/client_golang to v1.20.5 ( #5886 )
...
This PR contains the following updates:
| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
|
[github.com/prometheus/client_golang](https://redirect.github.com/prometheus/client_golang )
| `v1.20.4` -> `v1.20.5` |
[![age](https://developer.mend.io/api/mc/badges/age/go/github.com%2fprometheus%2fclient_golang/v1.20.5?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/go/github.com%2fprometheus%2fclient_golang/v1.20.5?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/go/github.com%2fprometheus%2fclient_golang/v1.20.4/v1.20.5?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/go/github.com%2fprometheus%2fclient_golang/v1.20.4/v1.20.5?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
---
### Release Notes
<details>
<summary>prometheus/client_golang
(github.com/prometheus/client_golang)</summary>
###
[`v1.20.5`](https://redirect.github.com/prometheus/client_golang/releases/tag/v1.20.5 ):
/ 2024-10-15
[Compare
Source](https://redirect.github.com/prometheus/client_golang/compare/v1.20.4...v1.20.5 )
We decided to revert [the `testutil`
change](https://redirect.github.com/prometheus/client_golang/pull/1424 )
that made our util functions less error-prone, but created a lot of work
for our downstream users. Apologies for the pain! This revert should not
cause any major breaking change, even if you already did the
work--unless you depend on the [exact error
message](https://redirect.github.com/grafana/mimir/pull/9624#issuecomment-2413401565 ).
Going forward, we plan to reinforce our release testing strategy
[\[1\]](https://redirect.github.com/prometheus/client_golang/issues/1646 ),[\[2\]](https://redirect.github.com/prometheus/client_golang/issues/1648 )
and deliver an enhanced [`testutil`
package/module](https://redirect.github.com/prometheus/client_golang/issues/1639 )
with more flexible and safer APIs.
Thanks to [@​dashpole](https://redirect.github.com/dashpole )
[@​dgrisonnet](https://redirect.github.com/dgrisonnet )
[@​kakkoyun](https://redirect.github.com/kakkoyun )
[@​ArthurSens](https://redirect.github.com/ArthurSens )
[@​vesari](https://redirect.github.com/vesari )
[@​logicalhan](https://redirect.github.com/logicalhan )
[@​krajorama](https://redirect.github.com/krajorama )
[@​bwplotka](https://redirect.github.com/bwplotka ) who helped in
this patch release! 🤗
##### Changelog
\[BUGFIX] testutil: Reverted
[#​1424](https://redirect.github.com/prometheus/client_golang/issues/1424 );
functions using compareMetricFamilies are (again) only failing if
filtered metricNames are in the expected input.
[#​1645](https://redirect.github.com/prometheus/client_golang/issues/1645 )
</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 becomes conflicted, or you tick the
rebase/retry checkbox.
🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.
---
- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box
---
This PR was generated by [Mend Renovate](https://mend.io/renovate/ ).
View the [repository job
log](https://developer.mend.io/github/open-telemetry/opentelemetry-go ).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzOC4xMjAuMSIsInVwZGF0ZWRJblZlciI6IjM4LjEyMC4xIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6WyJTa2lwIENoYW5nZWxvZyIsImRlcGVuZGVuY2llcyJdfQ==-->
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-10-15 09:26:34 -07:00
renovate[bot]
ba4a2ab6be
chore(deps): update lycheeverse/lychee-action action to v2.0.2 ( #5885 )
...
This PR contains the following updates:
| Package | Type | Update | Change |
|---|---|---|---|
|
[lycheeverse/lychee-action](https://redirect.github.com/lycheeverse/lychee-action )
| action | patch | `v2.0.1` -> `v2.0.2` |
---
### Release Notes
<details>
<summary>lycheeverse/lychee-action (lycheeverse/lychee-action)</summary>
###
[`v2.0.2`](https://redirect.github.com/lycheeverse/lychee-action/releases/tag/v2.0.2 ):
Version 2.0.2
[Compare
Source](https://redirect.github.com/lycheeverse/lychee-action/compare/v2.0.1...v2.0.2 )
##### What's Changed
- Fix a typos by
[@​szepeviktor](https://redirect.github.com/szepeviktor ) in
[https://github.com/lycheeverse/lychee-action/pull/257 ](https://redirect.github.com/lycheeverse/lychee-action/pull/257 )
- Document and use correct permissions in the GitHub workflows by
[@​dscho](https://redirect.github.com/dscho ) in
[https://github.com/lycheeverse/lychee-action/pull/258 ](https://redirect.github.com/lycheeverse/lychee-action/pull/258 )
- Add security policy by
[@​mondeja](https://redirect.github.com/mondeja ) in
[https://github.com/lycheeverse/lychee-action/pull/259 ](https://redirect.github.com/lycheeverse/lychee-action/pull/259 )
##### New Contributors
- [@​szepeviktor](https://redirect.github.com/szepeviktor ) made
their first contribution in
[https://github.com/lycheeverse/lychee-action/pull/257 ](https://redirect.github.com/lycheeverse/lychee-action/pull/257 )
- [@​mondeja](https://redirect.github.com/mondeja ) made their
first contribution in
[https://github.com/lycheeverse/lychee-action/pull/259 ](https://redirect.github.com/lycheeverse/lychee-action/pull/259 )
**Full Changelog**:
https://github.com/lycheeverse/lychee-action/compare/v2...v2.0.2
</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 becomes conflicted, or you tick the
rebase/retry checkbox.
🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.
---
- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box
---
This PR was generated by [Mend Renovate](https://mend.io/renovate/ ).
View the [repository job
log](https://developer.mend.io/github/open-telemetry/opentelemetry-go ).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzOC4xMjAuMSIsInVwZGF0ZWRJblZlciI6IjM4LjEyMC4xIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6WyJTa2lwIENoYW5nZWxvZyIsImRlcGVuZGVuY2llcyJdfQ==-->
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-10-14 11:24:09 +02:00
Damien Mathieu
fe5c3f8fdd
Run the test compatibility check even if tests failed ( #5879 )
...
This forces the test compatibility check to run, even if compatibility
test checks have failed, as having it skipped still allows merging PRs.
Related:
https://github.com/open-telemetry/opentelemetry-go-contrib/pull/6224
2024-10-14 10:02:36 +02:00
renovate[bot]
b3c313ff2f
chore(deps): update lycheeverse/lychee-action action to v2.0.1 ( #5884 )
2024-10-12 12:10:21 +02:00
David Ashpole
6b251b804c
Allow configuring the exemplar filter on the metrics SDK ( #5850 )
...
Part of https://github.com/open-telemetry/opentelemetry-go/issues/5249
### Spec
https://opentelemetry.io/docs/specs/otel/metrics/sdk/#exemplarfilter
> The ExemplarFilter configuration MUST allow users to select between
one of the built-in ExemplarFilters. While ExemplarFilter determines
which measurements are eligible for becoming an Exemplar, the
ExemplarReservoir makes the final decision if a measurement becomes an
exemplar and is stored.
> The ExemplarFilter SHOULD be a configuration parameter of a
MeterProvider for an SDK. The default value SHOULD be TraceBased. The
filter configuration SHOULD follow the [environment variable
specification](https://opentelemetry.io/docs/specs/otel/configuration/sdk-environment-variables/#exemplar ).
> An OpenTelemetry SDK MUST support the following filters:
> *
[AlwaysOn](https://opentelemetry.io/docs/specs/otel/metrics/sdk/#alwayson )
> *
[AlwaysOff](https://opentelemetry.io/docs/specs/otel/metrics/sdk/#alwaysoff )
> *
[TraceBased](https://opentelemetry.io/docs/specs/otel/metrics/sdk/#tracebased )
### Changes
* adds exemplar.AlwaysOffFilter, which is one of the required filters
from the SDK:
https://opentelemetry.io/docs/specs/otel/metrics/sdk/#alwaysoff
* adds `metric.WithExemplarFilter` as an option for the metrics SDK.
* moves handling of `OTEL_METRICS_EXEMPLAR_FILTER` to the same location
as config handling to make code easier to navigate.
dropReservoir can actually be removed, but I plan to do that in a
follow-up refactor, since it will be a large diff.
---------
Co-authored-by: Damien Mathieu <42@dmathieu.com>
Co-authored-by: Tyler Yahn <MrAlias@users.noreply.github.com>
Co-authored-by: Chester Cheung <cheung.zhy.csu@gmail.com>
2024-10-11 16:02:20 -04:00
David Ashpole
bc2fe88756
Release v1.31.0/v0.53.0/v0.7.0/v0.0.10 ( #5883 )
...
### Added
- Add `go.opentelemetry.io/otel/sdk/metric/exemplar` package which
includes `Exemplar`, `Filter`, `TraceBasedFilter`, `AlwaysOnFilter`,
`HistogramReservoir`, `FixedSizeReservoir`, `Reservoir`, `Value` and
`ValueType` types. These will be used for configuring the exemplar
reservoir for the metrics sdk. (#5747 , #5862 )
- Add `WithExportBufferSize` option to log batch processor.(#5877 )
### Changed
- Enable exemplars by default in `go.opentelemetry.io/otel/sdk/metric`.
Exemplars can be disabled by setting
`OTEL_METRICS_EXEMPLAR_FILTER=always_off` (#5778 )
- `Logger.Enabled` in `go.opentelemetry.io/otel/log` now accepts a newly
introduced `EnabledParameters` type instead of `Record`. (#5791 )
- `FilterProcessor.Enabled` in
`go.opentelemetry.io/otel/sdk/log/internal/x` now accepts
`EnabledParameters` instead of `Record`. (#5791 )
- The `Record` type in `go.opentelemetry.io/otel/log` is no longer
comparable. (#5847 )
- Performance improvements for the trace SDK `SetAttributes` method in
`Span`. (#5864 )
- Reduce memory allocations for the `Event` and `Link` lists in `Span`.
(#5858 )
- Performance improvements for the trace SDK `AddEvent`, `AddLink`,
`RecordError` and `End` methods in `Span`. (#5874 )
### Deprecated
- Deprecate all examples under `go.opentelemetry.io/otel/example` as
they are moved to [Contrib
repository](https://github.com/open-telemetry/opentelemetry-go-contrib/tree/main/examples ).
(#5854 )
### Fixed
- The race condition for multiple `FixedSize` exemplar reservoirs
identified in #5814 is resolved. (#5819 )
- Fix log records duplication in case of heterogeneous resource
attributes by correctly mapping each log record to it's resource and
scope. (#5803 )
- Fix timer channel drain to avoid hanging on Go 1.23. (#5868 )
- Fix delegation for global meter providers, and panic when calling
otel.SetMeterProvider. (#5827 )
- Change the `reflect.TypeOf` to use a nil pointer to not allocate on
the heap unless necessary. (#5827 )
2024-10-11 12:59:27 -04:00
Murphy Chen
a7d5c1aef7
Add an option to configure the exporter buffer of the BatchProcessor ( #5877 )
...
resolve: https://github.com/open-telemetry/opentelemetry-go/issues/5238
---------
Co-authored-by: Tyler Yahn <MrAlias@users.noreply.github.com>
Co-authored-by: Damien Mathieu <42@dmathieu.com>
2024-10-10 01:16:46 -07:00
renovate[bot]
eb9279bed2
fix(deps): update golang.org/x/exp digest to f66d83c ( #5880 )
...
This PR contains the following updates:
| Package | Type | Update | Change |
|---|---|---|---|
| golang.org/x/exp | require | digest | `225e2ab` -> `f66d83c` |
---
### 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:eyJjcmVhdGVkSW5WZXIiOiIzOC4xMTQuMCIsInVwZGF0ZWRJblZlciI6IjM4LjExNC4wIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6WyJTa2lwIENoYW5nZWxvZyIsImRlcGVuZGVuY2llcyJdfQ==-->
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-10-10 09:27:23 +02:00
Warnar Boekkooi
64416533d5
Performance improvements for the trace SDK in Span
. ( #5874 )
...
Good day,
Thanks for review this PR!
This PR follows from
https://github.com/open-telemetry/opentelemetry-go/pull/5864 and avoid
multiple locks in `End`, `RecordError`, `AddEvent` and `AddLink`.
Benchstats result are:
```
goos: linux
goarch: amd64
pkg: go.opentelemetry.io/otel/sdk/trace
cpu: 11th Gen Intel(R) Core(TM) i5-11400H @ 2.70GHz
│ event-3cbd9671.txt │ event-pr-e9744b48.txt │
│ sec/op │ │
SpanEnd-12 63.07n ± 1% 53.63n ± 1% -14.97% (p=0.000 n=10)
│ event-3cbd9671.txt │ event-pr-e9744b48.txt │
│ B/op │ B/op vs base │
SpanEnd-12 0.000 ± 0% 0.000 ± 0% ~ (p=1.000 n=10) ¹
¹ all samples are equal
│ event-3cbd9671.txt │ event-pr-e9744b48.txt │
│ allocs/op │ allocs/op vs base │
SpanEnd-12 0.000 ± 0% 0.000 ± 0% ~ (p=1.000 n=10) ¹
¹ all samples are equal
```
---------
Co-authored-by: David Ashpole <dashpole@google.com>
Co-authored-by: Damien Mathieu <42@dmathieu.com>
2024-10-09 09:51:17 +02:00
renovate[bot]
8e9baf2165
chore(deps): update lycheeverse/lychee-action action to v2 ( #5878 )
...
This PR contains the following updates:
| Package | Type | Update | Change |
|---|---|---|---|
|
[lycheeverse/lychee-action](https://redirect.github.com/lycheeverse/lychee-action )
| action | major | `v1.10.0` -> `v2.0.0` |
---
### Release Notes
<details>
<summary>lycheeverse/lychee-action (lycheeverse/lychee-action)</summary>
###
[`v2.0.0`](https://redirect.github.com/lycheeverse/lychee-action/releases/tag/v2.0.0 ):
Version 2.0.0
[Compare
Source](https://redirect.github.com/lycheeverse/lychee-action/compare/v1.10.0...v2.0.0 )
#### Breaking Changes
**Note:** This release improves the action's robustness by changing
default behaviors. Changes are only required if you want to opt out of
the new failure conditions. Most users won't need to modify their
existing configurations.
##### Fail pipeline on error by default
We've changed the default behavior: pipelines will now fail on broken
links automatically. This addresses user feedback that not failing on
broken links was unexpected (see [issue
#​71](https://redirect.github.com/lycheeverse/lychee-action/issues/71 )).
**What you need to do:**
- Update to version 2 of this action to apply this change.
- Users of the `lychee-action@master` branch don't need to make any
changes, as `fail: true` has been the default there for a while.
- If you prefer the old behavior, explicitly set `fail` to `false` when
updating:
```yaml
- name: Link Checker
id: lychee
uses: lycheeverse/lychee-action@v2
with:
fail: false # Don't fail action on broken links
```
##### Fail pipeline if no links were found
Similar to the above change, we now fail the pipeline if no links are
found during a run. This helps warn users about potential configuration
issues.
**What you need to do:**
- If you expect links to be found in your pipeline run, you don't need
to do anything.
- If you expect no links in your pipeline run, you can opt out like
this:
```yaml
- name: Link Checker
id: lychee
uses: lycheeverse/lychee-action@v2
with:
failIfEmpty: false # Don't fail action if no links were found
```
For a more detailed description of the technical aspects behind these
changes, please see the full changelog below.
#### What's Changed
- feat: change to use the full version tag with v-\* prefix by
[@​kemingy](https://redirect.github.com/kemingy ) in
[https://github.com/lycheeverse/lychee-action/pull/204 ](https://redirect.github.com/lycheeverse/lychee-action/pull/204 )
- Add `failIfEmpty` argument (fixes
[#​84](https://redirect.github.com/lycheeverse/lychee-action/issues/84 ))
by [@​mre](https://redirect.github.com/mre ) in
[https://github.com/lycheeverse/lychee-action/pull/86 ](https://redirect.github.com/lycheeverse/lychee-action/pull/86 )
- Fail pipeline on error by default (fixes
[#​71](https://redirect.github.com/lycheeverse/lychee-action/issues/71 ))
by [@​mre](https://redirect.github.com/mre ) in
[https://github.com/lycheeverse/lychee-action/pull/85 ](https://redirect.github.com/lycheeverse/lychee-action/pull/85 )
- Exit in case output is set in args and action input by
[@​mre](https://redirect.github.com/mre ) in
[https://github.com/lycheeverse/lychee-action/pull/227 ](https://redirect.github.com/lycheeverse/lychee-action/pull/227 )
- v1 will automatically use latest version by
[@​jacobdalamb](https://redirect.github.com/jacobdalamb ) in
[https://github.com/lycheeverse/lychee-action/pull/228 ](https://redirect.github.com/lycheeverse/lychee-action/pull/228 )
- Remove unneeded text by
[@​jacobdalamb](https://redirect.github.com/jacobdalamb ) in
[https://github.com/lycheeverse/lychee-action/pull/229 ](https://redirect.github.com/lycheeverse/lychee-action/pull/229 )
- Clarify README.md defaults by
[@​paddyroddy](https://redirect.github.com/paddyroddy ) in
[https://github.com/lycheeverse/lychee-action/pull/230 ](https://redirect.github.com/lycheeverse/lychee-action/pull/230 )
- Adjust for new asset naming scheme by
[@​dscho](https://redirect.github.com/dscho ) in
[https://github.com/lycheeverse/lychee-action/pull/234 ](https://redirect.github.com/lycheeverse/lychee-action/pull/234 )
- Test various lychee versions by
[@​mre](https://redirect.github.com/mre ) in
[https://github.com/lycheeverse/lychee-action/pull/235 ](https://redirect.github.com/lycheeverse/lychee-action/pull/235 )
- Better cleanup of old lychee assets by
[@​mre](https://redirect.github.com/mre ) in
[https://github.com/lycheeverse/lychee-action/pull/237 ](https://redirect.github.com/lycheeverse/lychee-action/pull/237 )
- Bump peter-evans/create-issue-from-file from v4 to v5 by
[@​AndreiCherniaev](https://redirect.github.com/AndreiCherniaev )
in
[https://github.com/lycheeverse/lychee-action/pull/241 ](https://redirect.github.com/lycheeverse/lychee-action/pull/241 )
- Remove dots from table by
[@​AndreiCherniaev](https://redirect.github.com/AndreiCherniaev )
in
[https://github.com/lycheeverse/lychee-action/pull/242 ](https://redirect.github.com/lycheeverse/lychee-action/pull/242 )
- README: update actions/cache to v4 by
[@​sebastiaanspeck](https://redirect.github.com/sebastiaanspeck )
in
[https://github.com/lycheeverse/lychee-action/pull/243 ](https://redirect.github.com/lycheeverse/lychee-action/pull/243 )
- Set exit_code correctly as output by
[@​sebastiaanspeck](https://redirect.github.com/sebastiaanspeck )
in
[https://github.com/lycheeverse/lychee-action/pull/245 ](https://redirect.github.com/lycheeverse/lychee-action/pull/245 )
- action: fix failing CI by
[@​sebastiaanspeck](https://redirect.github.com/sebastiaanspeck )
in
[https://github.com/lycheeverse/lychee-action/pull/246 ](https://redirect.github.com/lycheeverse/lychee-action/pull/246 )
- Split up steps in action by
[@​mre](https://redirect.github.com/mre ) in
[https://github.com/lycheeverse/lychee-action/pull/248 ](https://redirect.github.com/lycheeverse/lychee-action/pull/248 )
- Bump version to 0.16.x, respect new tag names by
[@​mre](https://redirect.github.com/mre ) in
[https://github.com/lycheeverse/lychee-action/pull/249 ](https://redirect.github.com/lycheeverse/lychee-action/pull/249 )
- Test latest lychee version tag by
[@​mre](https://redirect.github.com/mre ) in
[https://github.com/lycheeverse/lychee-action/pull/236 ](https://redirect.github.com/lycheeverse/lychee-action/pull/236 )
#### New Contributors
- [@​kemingy](https://redirect.github.com/kemingy ) made their
first contribution in
[https://github.com/lycheeverse/lychee-action/pull/204 ](https://redirect.github.com/lycheeverse/lychee-action/pull/204 )
- [@​paddyroddy](https://redirect.github.com/paddyroddy ) made
their first contribution in
[https://github.com/lycheeverse/lychee-action/pull/230 ](https://redirect.github.com/lycheeverse/lychee-action/pull/230 )
- [@​dscho](https://redirect.github.com/dscho ) made their first
contribution in
[https://github.com/lycheeverse/lychee-action/pull/234 ](https://redirect.github.com/lycheeverse/lychee-action/pull/234 )
- [@​AndreiCherniaev](https://redirect.github.com/AndreiCherniaev )
made their first contribution in
[https://github.com/lycheeverse/lychee-action/pull/241 ](https://redirect.github.com/lycheeverse/lychee-action/pull/241 )
- [@​sebastiaanspeck](https://redirect.github.com/sebastiaanspeck )
made their first contribution in
[https://github.com/lycheeverse/lychee-action/pull/243 ](https://redirect.github.com/lycheeverse/lychee-action/pull/243 )
**Full Changelog**:
https://github.com/lycheeverse/lychee-action/compare/v1...v1.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 becomes conflicted, or you tick the
rebase/retry checkbox.
🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.
---
- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box
---
This PR was generated by [Mend Renovate](https://mend.io/renovate/ ).
View the [repository job
log](https://developer.mend.io/github/open-telemetry/opentelemetry-go ).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzOC45Ny4wIiwidXBkYXRlZEluVmVyIjoiMzguOTcuMCIsInRhcmdldEJyYW5jaCI6Im1haW4iLCJsYWJlbHMiOlsiU2tpcCBDaGFuZ2Vsb2ciLCJkZXBlbmRlbmNpZXMiXX0=-->
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-10-08 15:56:25 +02:00
Warnar Boekkooi
8fbaa97084
Reduce newEvictedQueueLink
and newEvictedQueueEvent
memory allocations ( #5858 )
...
Good day,
While doing some profile with pprof on one of our services I notices
that `sync.OnceFunc` was allocating a nice amount of objects. These
`sync.OnceFunc` calls where done by `newEvictedQueueEvent` and
`newEvictedQueueLink`.
So to avoid these extra allocation I created this PR which replaces the
`sync.OnceFunc` with `sync.Once` which is now part of the evictedQueue.
This resulted in the following benchstat result (commit
baad07e574
):
```
goos: linux
goarch: amd64
pkg: go.opentelemetry.io/otel/sdk/trace
cpu: 11th Gen Intel(R) Core(TM) i5-11400H @ 2.70GHz
│ 1727937489-attr-old.txt │ evic-new1728018933.txt │
│ sec/op │ sec/op vs base │
RecordingSpanSetAttributes/WithLimit/false-12 6.579µ ± 9% 5.875µ ± 8% -10.71% (p=0.000 n=10)
RecordingSpanSetAttributes/WithLimit/true-12 14.27µ ± 10% 11.82µ ± 16% -17.18% (p=0.009 n=10)
SpanEnd-12 63.44n ± 0% 75.97n ± 2% +19.75% (p=0.000 n=10)
TraceStart/with_a_simple_span-12 728.0n ± 3% 412.7n ± 1% -43.31% (p=0.000 n=10)
TraceStart/with_several_links-12 881.5n ± 1% 553.2n ± 3% -37.25% (p=0.000 n=10)
TraceStart/with_attributes-12 916.5n ± 2% 598.4n ± 2% -34.70% (p=0.000 n=10)
SpanProcessorOnEnd/batch:_10,_spans:_10-12 151.9n ± 3% 144.1n ± 3% -5.13% (p=0.000 n=10)
SpanProcessorOnEnd/batch:_10,_spans:_100-12 1.497µ ± 2% 1.435µ ± 2% -4.14% (p=0.000 n=10)
SpanProcessorOnEnd/batch:_100,_spans:_10-12 148.5n ± 2% 143.0n ± 2% -3.67% (p=0.000 n=10)
SpanProcessorOnEnd/batch:_100,_spans:_100-12 1.481µ ± 3% 1.442µ ± 4% -2.67% (p=0.022 n=10)
SpanProcessorVerboseLogging-12 9.376µ ± 1% 6.662µ ± 2% -28.94% (p=0.000 n=10)
SpanLimits/AttributeValueLengthLimit-12 7.221µ ± 4% 6.605µ ± 3% -8.54% (p=0.002 n=10)
SpanLimits/AttributeCountLimit-12 6.300µ ± 6% 6.091µ ± 6% -3.30% (p=0.007 n=10)
SpanLimits/EventCountLimit-12 5.921µ ± 4% 5.506µ ± 7% -7.02% (p=0.011 n=10)
SpanLimits/LinkCountLimit-12 6.073µ ± 6% 5.423µ ± 3% -10.71% (p=0.000 n=10)
SpanLimits/AttributePerEventCountLimit-12 6.455µ ± 3% 5.294µ ± 9% -17.98% (p=0.000 n=10)
SpanLimits/AttributePerLinkCountLimit-12 6.263µ ± 4% 5.850µ ± 7% -6.59% (p=0.000 n=10)
SpanSetAttributesOverCapacity-12 1.683µ ± 1% 1.391µ ± 0% -17.35% (p=0.000 n=10)
StartEndSpan/AlwaysSample-12 803.0n ± 4% 531.4n ± 5% -33.82% (p=0.000 n=10)
StartEndSpan/NeverSample-12 216.0n ± 2% 212.7n ± 2% ~ (p=0.055 n=10)
SpanWithAttributes_4/AlwaysSample-12 1216.5n ± 2% 877.6n ± 9% -27.85% (p=0.000 n=10)
SpanWithAttributes_4/NeverSample-12 370.4n ± 5% 374.5n ± 3% ~ (p=0.197 n=10)
SpanWithAttributes_8/AlwaysSample-12 1.494µ ± 4% 1.117µ ± 4% -25.27% (p=0.000 n=10)
SpanWithAttributes_8/NeverSample-12 477.1n ± 3% 475.1n ± 7% ~ (p=0.739 n=10)
SpanWithAttributes_all/AlwaysSample-12 1310.5n ± 5% 971.5n ± 6% -25.87% (p=0.000 n=10)
SpanWithAttributes_all/NeverSample-12 388.0n ± 5% 389.1n ± 6% ~ (p=0.699 n=10)
SpanWithAttributes_all_2x/AlwaysSample-12 1.664µ ± 2% 1.236µ ± 3% -25.72% (p=0.000 n=10)
SpanWithAttributes_all_2x/NeverSample-12 522.7n ± 7% 527.2n ± 9% ~ (p=0.912 n=10)
SpanWithEvents_4/AlwaysSample-12 1.411µ ± 4% 1.058µ ± 2% -24.99% (p=0.000 n=10)
SpanWithEvents_4/NeverSample-12 218.4n ± 3% 218.9n ± 2% ~ (p=0.971 n=10)
SpanWithEvents_8/AlwaysSample-12 1.997µ ± 5% 1.657µ ± 4% -17.03% (p=0.000 n=10)
SpanWithEvents_8/NeverSample-12 226.6n ± 3% 221.7n ± 2% -2.14% (p=0.015 n=10)
SpanWithEvents_WithStackTrace/AlwaysSample-12 1016.5n ± 2% 712.5n ± 2% -29.91% (p=0.000 n=10)
SpanWithEvents_WithStackTrace/NeverSample-12 242.0n ± 3% 241.0n ± 1% ~ (p=0.254 n=10)
SpanWithEvents_WithTimestamp/AlwaysSample-12 1019.5n ± 3% 713.2n ± 6% -30.04% (p=0.000 n=10)
SpanWithEvents_WithTimestamp/NeverSample-12 276.4n ± 3% 276.6n ± 2% ~ (p=0.723 n=10)
TraceID_DotString-12 71.94n ± 3% 75.71n ± 3% +5.23% (p=0.001 n=10)
SpanID_DotString-12 50.88n ± 3% 52.35n ± 1% +2.88% (p=0.001 n=10)
geomean 952.8n 822.2n -13.71%
│ 1727937489-attr-old.txt │ evic-new1728018933.txt │
│ B/op │ B/op vs base │
RecordingSpanSetAttributes/WithLimit/false-12 7.062Ki ± 0% 6.891Ki ± 0% -2.43% (p=0.000 n=10)
RecordingSpanSetAttributes/WithLimit/true-12 7.564Ki ± 0% 7.393Ki ± 0% -2.27% (p=0.000 n=10)
SpanEnd-12 0.000 ± 0% 0.000 ± 0% ~ (p=1.000 n=10) ¹
TraceStart/with_a_simple_span-12 704.0 ± 0% 528.0 ± 0% -25.00% (p=0.000 n=10)
TraceStart/with_several_links-12 880.0 ± 0% 704.0 ± 0% -20.00% (p=0.000 n=10)
TraceStart/with_attributes-12 960.0 ± 0% 784.0 ± 0% -18.33% (p=0.000 n=10)
SpanProcessorOnEnd/batch:_10,_spans:_10-12 0.000 ± 0% 0.000 ± 0% ~ (p=1.000 n=10) ¹
SpanProcessorOnEnd/batch:_10,_spans:_100-12 0.000 ± 0% 0.000 ± 0% ~ (p=1.000 n=10) ¹
SpanProcessorOnEnd/batch:_100,_spans:_10-12 0.000 ± 0% 0.000 ± 0% ~ (p=1.000 n=10) ¹
SpanProcessorOnEnd/batch:_100,_spans:_100-12 0.000 ± 0% 0.000 ± 0% ~ (p=1.000 n=10) ¹
SpanProcessorVerboseLogging-12 10.938Ki ± 0% 9.219Ki ± 0% -15.71% (p=0.000 n=10)
SpanLimits/AttributeValueLengthLimit-12 10.76Ki ± 0% 10.59Ki ± 0% -1.60% (p=0.000 n=10)
SpanLimits/AttributeCountLimit-12 10.016Ki ± 0% 9.844Ki ± 0% -1.72% (p=0.000 n=10)
SpanLimits/EventCountLimit-12 9.594Ki ± 0% 9.422Ki ± 0% -1.79% (p=0.000 n=10)
SpanLimits/LinkCountLimit-12 9.203Ki ± 0% 9.031Ki ± 0% -1.87% (p=0.000 n=10)
SpanLimits/AttributePerEventCountLimit-12 10.64Ki ± 0% 10.47Ki ± 0% -1.62% (p=0.000 n=10)
SpanLimits/AttributePerLinkCountLimit-12 10.64Ki ± 0% 10.47Ki ± 0% -1.62% (p=0.000 n=10)
SpanSetAttributesOverCapacity-12 768.0 ± 0% 592.0 ± 0% -22.92% (p=0.000 n=10)
StartEndSpan/AlwaysSample-12 704.0 ± 0% 528.0 ± 0% -25.00% (p=0.000 n=10)
StartEndSpan/NeverSample-12 144.0 ± 0% 144.0 ± 0% ~ (p=1.000 n=10) ¹
SpanWithAttributes_4/AlwaysSample-12 1.188Ki ± 0% 1.016Ki ± 0% -14.47% (p=0.000 n=10)
SpanWithAttributes_4/NeverSample-12 400.0 ± 0% 400.0 ± 0% ~ (p=1.000 n=10) ¹
SpanWithAttributes_8/AlwaysSample-12 1.688Ki ± 0% 1.516Ki ± 0% -10.19% (p=0.000 n=10)
SpanWithAttributes_8/NeverSample-12 656.0 ± 0% 656.0 ± 0% ~ (p=1.000 n=10) ¹
SpanWithAttributes_all/AlwaysSample-12 1.312Ki ± 0% 1.141Ki ± 0% -13.10% (p=0.000 n=10)
SpanWithAttributes_all/NeverSample-12 464.0 ± 0% 464.0 ± 0% ~ (p=1.000 n=10) ¹
SpanWithAttributes_all_2x/AlwaysSample-12 2.062Ki ± 0% 1.891Ki ± 0% -8.33% (p=0.000 n=10)
SpanWithAttributes_all_2x/NeverSample-12 848.0 ± 0% 848.0 ± 0% ~ (p=1.000 n=10) ¹
SpanWithEvents_4/AlwaysSample-12 1.188Ki ± 0% 1.016Ki ± 0% -14.47% (p=0.000 n=10)
SpanWithEvents_4/NeverSample-12 144.0 ± 0% 144.0 ± 0% ~ (p=1.000 n=10) ¹
SpanWithEvents_8/AlwaysSample-12 1.812Ki ± 0% 1.641Ki ± 0% -9.48% (p=0.000 n=10)
SpanWithEvents_8/NeverSample-12 144.0 ± 0% 144.0 ± 0% ~ (p=1.000 n=10) ¹
SpanWithEvents_WithStackTrace/AlwaysSample-12 800.0 ± 0% 624.0 ± 0% -22.00% (p=0.000 n=10)
SpanWithEvents_WithStackTrace/NeverSample-12 160.0 ± 0% 160.0 ± 0% ~ (p=1.000 n=10) ¹
SpanWithEvents_WithTimestamp/AlwaysSample-12 824.0 ± 0% 648.0 ± 0% -21.36% (p=0.000 n=10)
SpanWithEvents_WithTimestamp/NeverSample-12 184.0 ± 0% 184.0 ± 0% ~ (p=1.000 n=10) ¹
TraceID_DotString-12 64.00 ± 0% 64.00 ± 0% ~ (p=1.000 n=10) ¹
SpanID_DotString-12 32.00 ± 0% 32.00 ± 0% ~ (p=1.000 n=10) ¹
geomean ² -7.15% ²
¹ all samples are equal
² summaries must be >0 to compute geomean
│ 1727937489-attr-old.txt │ evic-new1728018933.txt │
│ allocs/op │ allocs/op vs base │
RecordingSpanSetAttributes/WithLimit/false-12 15.000 ± 0% 3.000 ± 0% -80.00% (p=0.000 n=10)
RecordingSpanSetAttributes/WithLimit/true-12 20.000 ± 0% 8.000 ± 0% -60.00% (p=0.000 n=10)
SpanEnd-12 0.000 ± 0% 0.000 ± 0% ~ (p=1.000 n=10) ¹
TraceStart/with_a_simple_span-12 14.000 ± 0% 2.000 ± 0% -85.71% (p=0.000 n=10)
TraceStart/with_several_links-12 15.000 ± 0% 3.000 ± 0% -80.00% (p=0.000 n=10)
TraceStart/with_attributes-12 16.000 ± 0% 4.000 ± 0% -75.00% (p=0.000 n=10)
SpanProcessorOnEnd/batch:_10,_spans:_10-12 0.000 ± 0% 0.000 ± 0% ~ (p=1.000 n=10) ¹
SpanProcessorOnEnd/batch:_10,_spans:_100-12 0.000 ± 0% 0.000 ± 0% ~ (p=1.000 n=10) ¹
SpanProcessorOnEnd/batch:_100,_spans:_10-12 0.000 ± 0% 0.000 ± 0% ~ (p=1.000 n=10) ¹
SpanProcessorOnEnd/batch:_100,_spans:_100-12 0.000 ± 0% 0.000 ± 0% ~ (p=1.000 n=10) ¹
SpanProcessorVerboseLogging-12 155.00 ± 0% 35.00 ± 0% -77.42% (p=0.000 n=10)
SpanLimits/AttributeValueLengthLimit-12 54.00 ± 0% 42.00 ± 0% -22.22% (p=0.000 n=10)
SpanLimits/AttributeCountLimit-12 50.00 ± 0% 38.00 ± 0% -24.00% (p=0.000 n=10)
SpanLimits/EventCountLimit-12 47.00 ± 0% 35.00 ± 0% -25.53% (p=0.000 n=10)
SpanLimits/LinkCountLimit-12 47.00 ± 0% 35.00 ± 0% -25.53% (p=0.000 n=10)
SpanLimits/AttributePerEventCountLimit-12 50.00 ± 0% 38.00 ± 0% -24.00% (p=0.000 n=10)
SpanLimits/AttributePerLinkCountLimit-12 50.00 ± 0% 38.00 ± 0% -24.00% (p=0.000 n=10)
SpanSetAttributesOverCapacity-12 15.000 ± 0% 3.000 ± 0% -80.00% (p=0.000 n=10)
StartEndSpan/AlwaysSample-12 14.000 ± 0% 2.000 ± 0% -85.71% (p=0.000 n=10)
StartEndSpan/NeverSample-12 2.000 ± 0% 2.000 ± 0% ~ (p=1.000 n=10) ¹
SpanWithAttributes_4/AlwaysSample-12 16.000 ± 0% 4.000 ± 0% -75.00% (p=0.000 n=10)
SpanWithAttributes_4/NeverSample-12 3.000 ± 0% 3.000 ± 0% ~ (p=1.000 n=10) ¹
SpanWithAttributes_8/AlwaysSample-12 16.000 ± 0% 4.000 ± 0% -75.00% (p=0.000 n=10)
SpanWithAttributes_8/NeverSample-12 3.000 ± 0% 3.000 ± 0% ~ (p=1.000 n=10) ¹
SpanWithAttributes_all/AlwaysSample-12 16.000 ± 0% 4.000 ± 0% -75.00% (p=0.000 n=10)
SpanWithAttributes_all/NeverSample-12 3.000 ± 0% 3.000 ± 0% ~ (p=1.000 n=10) ¹
SpanWithAttributes_all_2x/AlwaysSample-12 16.000 ± 0% 4.000 ± 0% -75.00% (p=0.000 n=10)
SpanWithAttributes_all_2x/NeverSample-12 3.000 ± 0% 3.000 ± 0% ~ (p=1.000 n=10) ¹
SpanWithEvents_4/AlwaysSample-12 17.000 ± 0% 5.000 ± 0% -70.59% (p=0.000 n=10)
SpanWithEvents_4/NeverSample-12 2.000 ± 0% 2.000 ± 0% ~ (p=1.000 n=10) ¹
SpanWithEvents_8/AlwaysSample-12 18.000 ± 0% 6.000 ± 0% -66.67% (p=0.000 n=10)
SpanWithEvents_8/NeverSample-12 2.000 ± 0% 2.000 ± 0% ~ (p=1.000 n=10) ¹
SpanWithEvents_WithStackTrace/AlwaysSample-12 16.000 ± 0% 4.000 ± 0% -75.00% (p=0.000 n=10)
SpanWithEvents_WithStackTrace/NeverSample-12 3.000 ± 0% 3.000 ± 0% ~ (p=1.000 n=10) ¹
SpanWithEvents_WithTimestamp/AlwaysSample-12 17.000 ± 0% 5.000 ± 0% -70.59% (p=0.000 n=10)
SpanWithEvents_WithTimestamp/NeverSample-12 4.000 ± 0% 4.000 ± 0% ~ (p=1.000 n=10) ¹
TraceID_DotString-12 2.000 ± 0% 2.000 ± 0% ~ (p=1.000 n=10) ¹
SpanID_DotString-12 2.000 ± 0% 2.000 ± 0% ~ (p=1.000 n=10) ¹
geomean ² -47.73% ²
¹ all samples are equal
² summaries must be >0 to compute geomean
```
---------
Co-authored-by: Damien Mathieu <42@dmathieu.com>
Co-authored-by: Robert Pająk <pellared@hotmail.com>
2024-10-08 09:43:14 +02:00
renovate[bot]
4a911f965b
chore(deps): update googleapis to 5fefd90 ( #5876 )
...
This PR contains the following updates:
| Package | Type | Update | Change |
|---|---|---|---|
|
[google.golang.org/genproto/googleapis/api](https://redirect.github.com/googleapis/go-genproto )
| indirect | digest | `af27646` -> `5fefd90` |
|
[google.golang.org/genproto/googleapis/rpc](https://redirect.github.com/googleapis/go-genproto )
| indirect | digest | `af27646` -> `5fefd90` |
|
[google.golang.org/genproto/googleapis/rpc](https://redirect.github.com/googleapis/go-genproto )
| require | digest | `af27646` -> `5fefd90` |
---
### 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:eyJjcmVhdGVkSW5WZXIiOiIzOC45Ny4wIiwidXBkYXRlZEluVmVyIjoiMzguOTcuMCIsInRhcmdldEJyYW5jaCI6Im1haW4iLCJsYWJlbHMiOlsiU2tpcCBDaGFuZ2Vsb2ciLCJkZXBlbmRlbmNpZXMiXX0=-->
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-10-08 09:01:12 +02:00
renovate[bot]
98cbdcb9a6
fix(deps): update module google.golang.org/protobuf to v1.35.1 ( #5875 )
...
This PR contains the following updates:
| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
|
[google.golang.org/protobuf](https://redirect.github.com/protocolbuffers/protobuf-go )
| `v1.34.2` -> `v1.35.1` |
[![age](https://developer.mend.io/api/mc/badges/age/go/google.golang.org%2fprotobuf/v1.35.1?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/go/google.golang.org%2fprotobuf/v1.35.1?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/go/google.golang.org%2fprotobuf/v1.34.2/v1.35.1?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/go/google.golang.org%2fprotobuf/v1.34.2/v1.35.1?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
---
### Release Notes
<details>
<summary>protocolbuffers/protobuf-go
(google.golang.org/protobuf)</summary>
###
[`v1.35.1`](https://redirect.github.com/protocolbuffers/protobuf-go/compare/v1.35.0...v1.35.1 )
[Compare
Source](https://redirect.github.com/protocolbuffers/protobuf-go/compare/v1.35.0...v1.35.1 )
###
[`v1.35.0`](https://redirect.github.com/protocolbuffers/protobuf-go/compare/v1.34.2...v1.35.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 becomes conflicted, or you tick the
rebase/retry checkbox.
🔕 **Ignore**: Close this PR and you won't be reminded about these
updates again.
---
- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box
---
This PR was generated by [Mend Renovate](https://mend.io/renovate/ ).
View the [repository job
log](https://developer.mend.io/github/open-telemetry/opentelemetry-go ).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzOC45Ny4wIiwidXBkYXRlZEluVmVyIjoiMzguOTcuMCIsInRhcmdldEJyYW5jaCI6Im1haW4iLCJsYWJlbHMiOlsiU2tpcCBDaGFuZ2Vsb2ciLCJkZXBlbmRlbmNpZXMiXX0=-->
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-10-07 16:06:49 +02:00
Warnar Boekkooi
3cbd967152
Performance improvements for recordingSpan
SetAttributes
and addOverCapAttrs
( #5864 )
...
Good day,
While working on
https://github.com/open-telemetry/opentelemetry-go/pull/5858 I found
some other possible improvements.
This PR:
- Adds an early return to `SetAttributes` when no attributes are
provided.
- Only increases `s.attributes` to guarantee that there is enough space
for elements to be added.
- Fixes and issue where `truncateAttr` was not used when a attribute was
being updated in `addOverCapAttrs`.
Thanks for reviewing and please let me know if any changes are needed.
---------
Co-authored-by: Damien Mathieu <42@dmathieu.com>
2024-10-07 09:30:29 +02:00
renovate[bot]
9e791a62ba
fix(deps): update golang.org/x ( #5872 )
...
This PR contains the following updates:
| Package | Type | Update | Change | Age | Adoption | Passing |
Confidence |
|---|---|---|---|---|---|---|---|
| golang.org/x/exp | require | digest | `701f63a` -> `225e2ab` |
[![age](https://developer.mend.io/api/mc/badges/age/go/golang.org%2fx%2fexp/v0.0.0-20241004190924-225e2abe05e6?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/go/golang.org%2fx%2fexp/v0.0.0-20241004190924-225e2abe05e6?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/go/golang.org%2fx%2fexp/v0.0.0-20240909161429-701f63a606c0/v0.0.0-20241004190924-225e2abe05e6?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/go/golang.org%2fx%2fexp/v0.0.0-20240909161429-701f63a606c0/v0.0.0-20241004190924-225e2abe05e6?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
| golang.org/x/net | indirect | minor | `v0.29.0` -> `v0.30.0` |
[![age](https://developer.mend.io/api/mc/badges/age/go/golang.org%2fx%2fnet/v0.30.0?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/go/golang.org%2fx%2fnet/v0.30.0?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/go/golang.org%2fx%2fnet/v0.29.0/v0.30.0?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/go/golang.org%2fx%2fnet/v0.29.0/v0.30.0?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
| golang.org/x/sys | indirect | minor | `v0.25.0` -> `v0.26.0` |
[![age](https://developer.mend.io/api/mc/badges/age/go/golang.org%2fx%2fsys/v0.26.0?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/go/golang.org%2fx%2fsys/v0.26.0?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/go/golang.org%2fx%2fsys/v0.25.0/v0.26.0?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/go/golang.org%2fx%2fsys/v0.25.0/v0.26.0?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
| golang.org/x/sys | require | minor | `v0.25.0` -> `v0.26.0` |
[![age](https://developer.mend.io/api/mc/badges/age/go/golang.org%2fx%2fsys/v0.26.0?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/go/golang.org%2fx%2fsys/v0.26.0?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/go/golang.org%2fx%2fsys/v0.25.0/v0.26.0?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/go/golang.org%2fx%2fsys/v0.25.0/v0.26.0?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
| golang.org/x/text | indirect | minor | `v0.18.0` -> `v0.19.0` |
[![age](https://developer.mend.io/api/mc/badges/age/go/golang.org%2fx%2ftext/v0.19.0?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/go/golang.org%2fx%2ftext/v0.19.0?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/go/golang.org%2fx%2ftext/v0.18.0/v0.19.0?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/go/golang.org%2fx%2ftext/v0.18.0/v0.19.0?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
| golang.org/x/tools | require | minor | `v0.25.0` -> `v0.26.0` |
[![age](https://developer.mend.io/api/mc/badges/age/go/golang.org%2fx%2ftools/v0.26.0?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/go/golang.org%2fx%2ftools/v0.26.0?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/go/golang.org%2fx%2ftools/v0.25.0/v0.26.0?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/go/golang.org%2fx%2ftools/v0.25.0/v0.26.0?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
---
### 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.
👻 **Immortal**: This PR will be recreated if closed unmerged. Get
[config
help](https://redirect.github.com/renovatebot/renovate/discussions ) if
that's undesired.
---
- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box
---
This PR was generated by [Mend Renovate](https://mend.io/renovate/ ).
View the [repository job
log](https://developer.mend.io/github/open-telemetry/opentelemetry-go ).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzOC45Ny4wIiwidXBkYXRlZEluVmVyIjoiMzguOTcuMCIsInRhcmdldEJyYW5jaCI6Im1haW4iLCJsYWJlbHMiOlsiU2tpcCBDaGFuZ2Vsb2ciLCJkZXBlbmRlbmNpZXMiXX0=-->
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-10-07 09:13:11 +02:00
Jesse Bank
1333b2f73a
Fix delegation for global MeterProviders ( #5828 )
...
Fixes #5827
Fixes #5852
---------
Co-authored-by: Robert Pająk <pellared@hotmail.com>
Co-authored-by: David Ashpole <dashpole@google.com>
Co-authored-by: Damien Mathieu <42@dmathieu.com>
2024-10-04 10:19:41 +02:00
Danny Shemesh
19877b1654
Fix timer channel drain to avoid hanging in Go 1.23 ( #5869 )
...
- Fix timer channel drain to avoid hanging in go1.23 w/ asynctimerchan=0
(https://github.com/open-telemetry/opentelemetry-go/issues/5868 )
---------
Co-authored-by: Robert Pająk <pellared@hotmail.com>
Co-authored-by: Damien Mathieu <42@dmathieu.com>
2024-10-04 09:48:57 +02:00
Robert Pająk
e500945247
Move @hanyuancheung to Emeritus status ( #5863 )
...
@hanyuancheung is no longer able to fulfil the requirements of an
[approver](https://github.com/open-telemetry/community/blob/main/guides/contributor/membership.md#approver ).
This moves him out of a approver role and into an Emeritus status.
Thank you @hanyuancheung for all the contributions!
2024-10-04 07:11:40 +02:00
Robert Pająk
3da26f0e00
[doc] sdk/log: Do not create instances of Record ( #5871 )
...
Fixes https://github.com/open-telemetry/opentelemetry-go/issues/5823
2024-10-04 07:00:21 +02:00
Damien Mathieu
d37e1ef81c
Authenticate link checking requests ( #5865 )
...
This sets up a github token to authenticate requests made by lychee, so
GitHub doesn't rate limit us so easily.
Related:
https://github.com/open-telemetry/opentelemetry-go-contrib/pull/6161
2024-10-03 09:53:54 +02:00
David Ashpole
be328ac923
Rename SampledFilter to TraceBasedFilter ( #5862 )
...
The specification calls this filter "TraceBased":
https://github.com/open-telemetry/opentelemetry-specification/blob/main/specification/metrics/sdk.md#tracebased
I don't have a huge preference between the two, but lean towards
TraceBasedFilter to match the specification, and to match our
environment variable configuration (and probably the future file
configuration).
This PR must be merged or closed prior to the v1.31 release, since we
can't change it after the release.
---------
Co-authored-by: Tyler Yahn <MrAlias@users.noreply.github.com>
2024-10-02 12:54:01 -04:00
renovate[bot]
cabe9567c8
chore(deps): update codecov/codecov-action action to v4.6.0 ( #5859 )
...
This PR contains the following updates:
| Package | Type | Update | Change |
|---|---|---|---|
|
[codecov/codecov-action](https://redirect.github.com/codecov/codecov-action )
| action | minor | `v4.5.0` -> `v4.6.0` |
---
### Release Notes
<details>
<summary>codecov/codecov-action (codecov/codecov-action)</summary>
###
[`v4.6.0`](https://redirect.github.com/codecov/codecov-action/compare/v4.5.0...v4.6.0 )
[Compare
Source](https://redirect.github.com/codecov/codecov-action/compare/v4.5.0...v4.6.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 becomes conflicted, or you tick the
rebase/retry checkbox.
🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.
---
- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box
---
This PR was generated by [Mend Renovate](https://mend.io/renovate/ ).
View the [repository job
log](https://developer.mend.io/github/open-telemetry/opentelemetry-go ).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzOC45Ny4wIiwidXBkYXRlZEluVmVyIjoiMzguOTcuMCIsInRhcmdldEJyYW5jaCI6Im1haW4iLCJsYWJlbHMiOlsiU2tpcCBDaGFuZ2Vsb2ciLCJkZXBlbmRlbmNpZXMiXX0=-->
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-10-02 10:12:40 +02:00
renovate[bot]
727f7282f8
fix(deps): update module github.com/prometheus/common to v0.60.0 ( #5860 )
...
This PR contains the following updates:
| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
|
[github.com/prometheus/common](https://redirect.github.com/prometheus/common )
| `v0.59.1` -> `v0.60.0` |
[![age](https://developer.mend.io/api/mc/badges/age/go/github.com%2fprometheus%2fcommon/v0.60.0?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/go/github.com%2fprometheus%2fcommon/v0.60.0?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/go/github.com%2fprometheus%2fcommon/v0.59.1/v0.60.0?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/go/github.com%2fprometheus%2fcommon/v0.59.1/v0.60.0?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
---
### Release Notes
<details>
<summary>prometheus/common (github.com/prometheus/common)</summary>
###
[`v0.60.0`](https://redirect.github.com/prometheus/common/releases/tag/v0.60.0 )
[Compare
Source](https://redirect.github.com/prometheus/common/compare/v0.59.1...v0.60.0 )
#### What's Changed
- Synchronize common files from prometheus/prometheus by
[@​prombot](https://redirect.github.com/prombot ) in
[https://github.com/prometheus/common/pull/692 ](https://redirect.github.com/prometheus/common/pull/692 )
- slog: expose io.Writer by
[@​jkroepke](https://redirect.github.com/jkroepke ) in
[https://github.com/prometheus/common/pull/694 ](https://redirect.github.com/prometheus/common/pull/694 )
- Synchronize common files from prometheus/prometheus by
[@​prombot](https://redirect.github.com/prombot ) in
[https://github.com/prometheus/common/pull/695 ](https://redirect.github.com/prometheus/common/pull/695 )
- promslog: use UTC timestamps for go-kit log style by
[@​dswarbrick](https://redirect.github.com/dswarbrick ) in
[https://github.com/prometheus/common/pull/696 ](https://redirect.github.com/prometheus/common/pull/696 )
- feat: add `promslog.NewNopLogger()` convenience func by
[@​tjhop](https://redirect.github.com/tjhop ) in
[https://github.com/prometheus/common/pull/697 ](https://redirect.github.com/prometheus/common/pull/697 )
- Bump golang.org/x/net from 0.28.0 to 0.29.0 by
[@​dependabot](https://redirect.github.com/dependabot ) in
[https://github.com/prometheus/common/pull/699 ](https://redirect.github.com/prometheus/common/pull/699 )
- Bump golang.org/x/oauth2 from 0.22.0 to 0.23.0 by
[@​dependabot](https://redirect.github.com/dependabot ) in
[https://github.com/prometheus/common/pull/698 ](https://redirect.github.com/prometheus/common/pull/698 )
- Update supported Go versions by
[@​SuperQ](https://redirect.github.com/SuperQ ) in
[https://github.com/prometheus/common/pull/700 ](https://redirect.github.com/prometheus/common/pull/700 )
**Full Changelog**:
https://github.com/prometheus/common/compare/v0.59.1...v0.60.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:eyJjcmVhdGVkSW5WZXIiOiIzOC45Ny4wIiwidXBkYXRlZEluVmVyIjoiMzguOTcuMCIsInRhcmdldEJyYW5jaCI6Im1haW4iLCJsYWJlbHMiOlsiU2tpcCBDaGFuZ2Vsb2ciLCJkZXBlbmRlbmNpZXMiXX0=-->
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-10-02 10:05:28 +02:00
Tyler Yahn
4ac842cb6a
Move @MadVikingGod to Emeritus status ( #5856 )
...
Based on a change in role and priorities, @MadVikingGod is no longer
able to focus on OTel. This moves him out of a maintainer role and into
an Emeritus status.
Thank you @MadVikingGod for all the contributions!
2024-10-01 11:45:16 -07:00
Robert Pająk
d7e7da66a9
Deprecate examples and redirect to contrib ( #5854 )
...
Towards #5801
2024-10-01 12:59:11 +02:00
renovate[bot]
e07d40bcd0
fix(deps): update module google.golang.org/grpc to v1.67.1 ( #5857 )
...
This PR contains the following updates:
| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [google.golang.org/grpc](https://redirect.github.com/grpc/grpc-go ) |
`v1.67.0` -> `v1.67.1` |
[![age](https://developer.mend.io/api/mc/badges/age/go/google.golang.org%2fgrpc/v1.67.1?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/go/google.golang.org%2fgrpc/v1.67.1?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/go/google.golang.org%2fgrpc/v1.67.0/v1.67.1?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/go/google.golang.org%2fgrpc/v1.67.0/v1.67.1?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
---
### Release Notes
<details>
<summary>grpc/grpc-go (google.golang.org/grpc)</summary>
###
[`v1.67.1`](https://redirect.github.com/grpc/grpc-go/releases/tag/v1.67.1 ):
Release 1.67.1
[Compare
Source](https://redirect.github.com/grpc/grpc-go/compare/v1.67.0-dev...v1.67.1 )
### Bug Fixes
- transport: Fix a bug causing stream failures due to miscalculation of
the flow control window in both clients and servers.
([#​7667](https://redirect.github.com/grpc/grpc-go/issues/7667 ))
- xds/server: Fix xDS Server memory leak.
([#​7681](https://redirect.github.com/grpc/grpc-go/issues/7681 ))
</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 becomes conflicted, or you tick the
rebase/retry checkbox.
🔕 **Ignore**: Close this PR and you won't be reminded about these
updates again.
---
- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box
---
This PR was generated by [Mend Renovate](https://mend.io/renovate/ ).
View the [repository job
log](https://developer.mend.io/github/open-telemetry/opentelemetry-go ).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzOC45Ny4wIiwidXBkYXRlZEluVmVyIjoiMzguOTcuMCIsInRhcmdldEJyYW5jaCI6Im1haW4iLCJsYWJlbHMiOlsiU2tpcCBDaGFuZ2Vsb2ciLCJkZXBlbmRlbmNpZXMiXX0=-->
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-10-01 10:01:14 +02:00
renovate[bot]
f4e2052595
chore(deps): update googleapis to af27646 ( #5855 )
...
This PR contains the following updates:
| Package | Type | Update | Change |
|---|---|---|---|
|
[google.golang.org/genproto/googleapis/api](https://redirect.github.com/googleapis/go-genproto )
| indirect | digest | `9d4c2d2` -> `af27646` |
|
[google.golang.org/genproto/googleapis/rpc](https://redirect.github.com/googleapis/go-genproto )
| indirect | digest | `9d4c2d2` -> `af27646` |
|
[google.golang.org/genproto/googleapis/rpc](https://redirect.github.com/googleapis/go-genproto )
| require | digest | `9d4c2d2` -> `af27646` |
---
### 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 becomes conflicted, or you tick the
rebase/retry checkbox.
🔕 **Ignore**: Close this PR and you won't be reminded about these
updates again.
---
- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box
---
This PR was generated by [Mend Renovate](https://mend.io/renovate/ ).
View the [repository job
log](https://developer.mend.io/github/open-telemetry/opentelemetry-go ).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzOC45Ny4wIiwidXBkYXRlZEluVmVyIjoiMzguOTcuMCIsInRhcmdldEJyYW5jaCI6Im1haW4iLCJsYWJlbHMiOlsiU2tpcCBDaGFuZ2Vsb2ciLCJkZXBlbmRlbmNpZXMiXX0=-->
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-09-30 17:51:38 +02:00
Matthieu MOREL
469f3d7e87
[chore]: enable negative-positive rule from testifylint ( #5849 )
...
Testifylint is a linter that provides best practices with the use of
testify.
This PR enables
[negative-positive](https://github.com/Antonboom/testifylint?tab=readme-ov-file#negative-positive )
rule from [testifylint](https://github.com/Antonboom/testifylint )
Signed-off-by: Matthieu MOREL <matthieu.morel35@gmail.com>
2024-09-30 08:44:52 +02:00
David Ashpole
481f4983f7
Move exemplar types to non-internal package ( #5747 )
...
Part of https://github.com/open-telemetry/opentelemetry-go/issues/5249
This makes all existing types designed to implement the public Exemplar
API public by moving most of `internal/exemplar` to `exemplar`. The only
types that are not being made public are `exemplar.Drop`, and
`exemplar.FilteredReservoir`. Those types are moved to
`internal/aggregate`, and are renamed to `DropReservoir` and
`FilteredExemplarReservoir`.
The following types are made public:
* `exemplar.Exemplar`
* `exemplar.Filter`
* `exemplar.SampledFilter`
* `exemplar.AlwaysOnFilter`
* `exemplar.HistogramReservoir`
* `exemplar.FixedSizeReservoir`
* `exemplar.Reservoir`
* `exemplar.Value`
* `exemplar.ValueType`
2024-09-26 13:25:05 -07:00
Matthieu MOREL
6edc7a63df
[chore]: enable expected-actual rule from testifylint ( #5848 )
...
Testifylint is a linter that provides best practices with the use of
testify.
This PR enables
[expected-actual](https://github.com/Antonboom/testifylint?tab=readme-ov-file#expected-actual )
rule from [testifylint](https://github.com/Antonboom/testifylint )
Signed-off-by: Matthieu MOREL <matthieu.morel35@gmail.com>
2024-09-26 12:04:33 +02:00
Robert Pająk
f710cecfc5
log: Make Record not comparable ( #5847 )
...
Fixes https://github.com/open-telemetry/opentelemetry-go/issues/5696
2024-09-26 08:32:36 +02:00
David Ashpole
84677a6554
clarify that users should not directly use the log bridge API ( #5837 )
...
Fixes https://github.com/open-telemetry/opentelemetry-go/issues/5681
2024-09-25 11:58:35 +02:00
Matthieu MOREL
d284a86fa5
[chore]: enable error-nil rule from testifylint ( #5843 )
...
Testifylint is a linter that provides best practices with the use of
testify.
This PR enables
[error-nil](https://github.com/Antonboom/testifylint?tab=readme-ov-file#error-nil )
rule from [testifylint](https://github.com/Antonboom/testifylint )
Signed-off-by: Matthieu MOREL <matthieu.morel35@gmail.com>
Co-authored-by: Robert Pająk <pellared@hotmail.com>
2024-09-25 11:07:59 +02:00
renovate[bot]
316114c0b8
chore(deps): update module github.com/rogpeppe/go-internal to v1.13.1 ( #5835 )
...
This PR contains the following updates:
| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
|
[github.com/rogpeppe/go-internal](https://redirect.github.com/rogpeppe/go-internal )
| `v1.12.0` -> `v1.13.1` |
[![age](https://developer.mend.io/api/mc/badges/age/go/github.com%2frogpeppe%2fgo-internal/v1.13.1?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/go/github.com%2frogpeppe%2fgo-internal/v1.13.1?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/go/github.com%2frogpeppe%2fgo-internal/v1.12.0/v1.13.1?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/go/github.com%2frogpeppe%2fgo-internal/v1.12.0/v1.13.1?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
---
### Release Notes
<details>
<summary>rogpeppe/go-internal
(github.com/rogpeppe/go-internal)</summary>
###
[`v1.13.1`](https://redirect.github.com/rogpeppe/go-internal/releases/tag/v1.13.1 )
[Compare
Source](https://redirect.github.com/rogpeppe/go-internal/compare/v1.13.0...v1.13.1 )
#### What's Changed
- testscript: fix ptyName() returning /dev/pts/4294967296 on s390x by
[@​anthonyfok](https://redirect.github.com/anthonyfok ) in
[https://github.com/rogpeppe/go-internal/pull/246 ](https://redirect.github.com/rogpeppe/go-internal/pull/246 )
- all: Move away from ioutil by
[@​abhinav](https://redirect.github.com/abhinav ) in
[https://github.com/rogpeppe/go-internal/pull/248 ](https://redirect.github.com/rogpeppe/go-internal/pull/248 )
- testscript/doc: add `go` to the list of testscript commands by
[@​rudifa](https://redirect.github.com/rudifa ) in
[https://github.com/rogpeppe/go-internal/pull/249 ](https://redirect.github.com/rogpeppe/go-internal/pull/249 )
- testscript: Add Chdir method to change directory by
[@​abhinav](https://redirect.github.com/abhinav ) in
[https://github.com/rogpeppe/go-internal/pull/247 ](https://redirect.github.com/rogpeppe/go-internal/pull/247 )
- testscript: add kill command by
[@​kortschak](https://redirect.github.com/kortschak ) in
[https://github.com/rogpeppe/go-internal/pull/243 ](https://redirect.github.com/rogpeppe/go-internal/pull/243 )
- testscript: clarify HOME and TMPDIR env var names by
[@​mvdan](https://redirect.github.com/mvdan ) in
[https://github.com/rogpeppe/go-internal/pull/240 ](https://redirect.github.com/rogpeppe/go-internal/pull/240 )
- all: Add Go 1.22, drop Go 1.20 by
[@​abhinav](https://redirect.github.com/abhinav ) in
[https://github.com/rogpeppe/go-internal/pull/252 ](https://redirect.github.com/rogpeppe/go-internal/pull/252 )
- update dependencies and rely on Go 1.21 APIs by
[@​mvdan](https://redirect.github.com/mvdan ) in
[https://github.com/rogpeppe/go-internal/pull/256 ](https://redirect.github.com/rogpeppe/go-internal/pull/256 )
- cmd/testscript: remove redundant use of Failed by
[@​rogpeppe](https://redirect.github.com/rogpeppe ) in
[https://github.com/rogpeppe/go-internal/pull/257 ](https://redirect.github.com/rogpeppe/go-internal/pull/257 )
- testscript: add Config.Files by
[@​rogpeppe](https://redirect.github.com/rogpeppe ) in
[https://github.com/rogpeppe/go-internal/pull/258 ](https://redirect.github.com/rogpeppe/go-internal/pull/258 )
- cmd/testscript: do not create an extra temporary directory by
[@​rogpeppe](https://redirect.github.com/rogpeppe ) in
[https://github.com/rogpeppe/go-internal/pull/259 ](https://redirect.github.com/rogpeppe/go-internal/pull/259 )
- Fix typos discovered by codespell by
[@​cclauss](https://redirect.github.com/cclauss ) in
[https://github.com/rogpeppe/go-internal/pull/262 ](https://redirect.github.com/rogpeppe/go-internal/pull/262 )
- testscript: ignore result when interrupting background processes by
[@​mvdan](https://redirect.github.com/mvdan ) in
[https://github.com/rogpeppe/go-internal/pull/265 ](https://redirect.github.com/rogpeppe/go-internal/pull/265 )
- add goproxytest testing API, forward dirhash by
[@​mvdan](https://redirect.github.com/mvdan ) in
[https://github.com/rogpeppe/go-internal/pull/272 ](https://redirect.github.com/rogpeppe/go-internal/pull/272 )
- update Go, update the README by
[@​mvdan](https://redirect.github.com/mvdan ) in
[https://github.com/rogpeppe/go-internal/pull/273 ](https://redirect.github.com/rogpeppe/go-internal/pull/273 )
#### New Contributors
- [@​anthonyfok](https://redirect.github.com/anthonyfok ) made
their first contribution in
[https://github.com/rogpeppe/go-internal/pull/246 ](https://redirect.github.com/rogpeppe/go-internal/pull/246 )
- [@​abhinav](https://redirect.github.com/abhinav ) made their
first contribution in
[https://github.com/rogpeppe/go-internal/pull/248 ](https://redirect.github.com/rogpeppe/go-internal/pull/248 )
- [@​rudifa](https://redirect.github.com/rudifa ) made their first
contribution in
[https://github.com/rogpeppe/go-internal/pull/249 ](https://redirect.github.com/rogpeppe/go-internal/pull/249 )
- [@​kortschak](https://redirect.github.com/kortschak ) made their
first contribution in
[https://github.com/rogpeppe/go-internal/pull/243 ](https://redirect.github.com/rogpeppe/go-internal/pull/243 )
- [@​cclauss](https://redirect.github.com/cclauss ) made their
first contribution in
[https://github.com/rogpeppe/go-internal/pull/262 ](https://redirect.github.com/rogpeppe/go-internal/pull/262 )
**Full Changelog**:
https://github.com/rogpeppe/go-internal/compare/v1.12.0...v1.13.1
###
[`v1.13.0`](https://redirect.github.com/rogpeppe/go-internal/compare/v1.12.0...v1.13.0 )
[Compare
Source](https://redirect.github.com/rogpeppe/go-internal/compare/v1.12.0...v1.13.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 becomes conflicted, or you tick the
rebase/retry checkbox.
🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.
---
- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box
---
This PR was generated by [Mend Renovate](https://mend.io/renovate/ ).
View the [repository job
log](https://developer.mend.io/github/open-telemetry/opentelemetry-go ).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzOC44MC4wIiwidXBkYXRlZEluVmVyIjoiMzguODAuMCIsInRhcmdldEJyYW5jaCI6Im1haW4iLCJsYWJlbHMiOlsiU2tpcCBDaGFuZ2Vsb2ciLCJkZXBlbmRlbmNpZXMiXX0=-->
---------
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: dmathieu <damien.mathieu@elastic.co>
2024-09-25 09:46:26 +02:00
renovate[bot]
c998f3612f
chore(deps): update otel/opentelemetry-collector-contrib docker tag to v0.110.0 ( #5842 )
...
This PR contains the following updates:
| Package | Update | Change |
|---|---|---|
|
[otel/opentelemetry-collector-contrib](https://redirect.github.com/open-telemetry/opentelemetry-collector-releases )
| minor | `0.109.0` -> `0.110.0` |
---
### Release Notes
<details>
<summary>open-telemetry/opentelemetry-collector-releases
(otel/opentelemetry-collector-contrib)</summary>
###
[`v0.110.0`](https://redirect.github.com/open-telemetry/opentelemetry-collector-releases/releases/tag/v0.110.0 )
[Compare
Source](https://redirect.github.com/open-telemetry/opentelemetry-collector-releases/compare/v0.109.0...v0.110.0 )
Check the [v0.110.0 contrib
changelog](https://redirect.github.com/open-telemetry/opentelemetry-collector-contrib/releases/tag/v0.110.0 )
and the [v0.110.0 core
changelog](https://redirect.github.com/open-telemetry/opentelemetry-collector/releases/tag/v0.110.0 )
for changelogs on specific components.
#### Changelog
-
[`aaa6ec9`](aaa6ec92e5
)
Pin goreleaser to v2.2.0 in remaining CI workflows
([#​676](https://redirect.github.com/open-telemetry/opentelemetry-collector-releases/issues/676 ))
-
[`b65fad9`](b65fad91e2
)
\[chore] prepare v0.110.0 release
([#​674](https://redirect.github.com/open-telemetry/opentelemetry-collector-releases/issues/674 ))
-
[`705766b`](705766b0ab
)
remove deprecated instana exporter
([#​673](https://redirect.github.com/open-telemetry/opentelemetry-collector-releases/issues/673 ))
-
[`befe950`](befe9509c5
)
Pin CI goreleaser version to v2.2.0
([#​667](https://redirect.github.com/open-telemetry/opentelemetry-collector-releases/issues/667 ))
</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:eyJjcmVhdGVkSW5WZXIiOiIzOC44MC4wIiwidXBkYXRlZEluVmVyIjoiMzguODAuMCIsInRhcmdldEJyYW5jaCI6Im1haW4iLCJsYWJlbHMiOlsiU2tpcCBDaGFuZ2Vsb2ciLCJkZXBlbmRlbmNpZXMiXX0=-->
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-09-25 09:32:38 +02:00
renovate[bot]
1be149ac37
chore(deps): update googleapis to 9d4c2d2 ( #5841 )
...
This PR contains the following updates:
| Package | Type | Update | Change |
|---|---|---|---|
|
[google.golang.org/genproto/googleapis/api](https://redirect.github.com/googleapis/go-genproto )
| indirect | digest | `8af14fe` -> `9d4c2d2` |
|
[google.golang.org/genproto/googleapis/rpc](https://redirect.github.com/googleapis/go-genproto )
| indirect | digest | `8af14fe` -> `9d4c2d2` |
|
[google.golang.org/genproto/googleapis/rpc](https://redirect.github.com/googleapis/go-genproto )
| require | digest | `8af14fe` -> `9d4c2d2` |
---
### 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:eyJjcmVhdGVkSW5WZXIiOiIzOC44MC4wIiwidXBkYXRlZEluVmVyIjoiMzguODAuMCIsInRhcmdldEJyYW5jaCI6Im1haW4iLCJsYWJlbHMiOlsiU2tpcCBDaGFuZ2Vsb2ciLCJkZXBlbmRlbmNpZXMiXX0=-->
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-09-25 09:26:24 +02:00
Matthieu MOREL
62cc0c7441
[chore]: enable error-is-as rule from testifylint ( #5836 )
...
Testifylint is a linter that provides best practices with the use of
testify.
This PR enables
[error-is-as](https://github.com/Antonboom/testifylint?tab=readme-ov-file#error-is-as )
rule from [testifylint](https://github.com/Antonboom/testifylint )
Signed-off-by: Matthieu MOREL <matthieu.morel35@gmail.com>
2024-09-24 19:17:16 +02:00
renovate[bot]
6731dc7090
chore(deps): update module github.com/klauspost/compress to v1.17.10 ( #5834 )
...
This PR contains the following updates:
| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
|
[github.com/klauspost/compress](https://redirect.github.com/klauspost/compress )
| `v1.17.9` -> `v1.17.10` |
[![age](https://developer.mend.io/api/mc/badges/age/go/github.com%2fklauspost%2fcompress/v1.17.10?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/go/github.com%2fklauspost%2fcompress/v1.17.10?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/go/github.com%2fklauspost%2fcompress/v1.17.9/v1.17.10?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/go/github.com%2fklauspost%2fcompress/v1.17.9/v1.17.10?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
---
### Release Notes
<details>
<summary>klauspost/compress (github.com/klauspost/compress)</summary>
###
[`v1.17.10`](https://redirect.github.com/klauspost/compress/releases/tag/v1.17.10 )
[Compare
Source](https://redirect.github.com/klauspost/compress/compare/v1.17.9...v1.17.10 )
#### What's Changed
- gzhttp: Add TransportAlwaysDecompress option. by
[@​klauspost](https://redirect.github.com/klauspost ) in
[https://github.com/klauspost/compress/pull/978 ](https://redirect.github.com/klauspost/compress/pull/978 )
- s2: Add EncodeBuffer buffer recycling callback by
[@​klauspost](https://redirect.github.com/klauspost ) in
[https://github.com/klauspost/compress/pull/982 ](https://redirect.github.com/klauspost/compress/pull/982 )
- zstd: Improve memory usage on small streaming encodes by
[@​klauspost](https://redirect.github.com/klauspost ) in
[https://github.com/klauspost/compress/pull/1007 ](https://redirect.github.com/klauspost/compress/pull/1007 )
- gzhttp: Add supported decompress request body by
[@​mirecl](https://redirect.github.com/mirecl ) in
[https://github.com/klauspost/compress/pull/1002 ](https://redirect.github.com/klauspost/compress/pull/1002 )
- flate: read data written with partial flush by
[@​vajexal](https://redirect.github.com/vajexal ) in
[https://github.com/klauspost/compress/pull/996 ](https://redirect.github.com/klauspost/compress/pull/996 )
- ci: Upgrade Go & other by
[@​klauspost](https://redirect.github.com/klauspost ) in
[https://github.com/klauspost/compress/pull/1008 ](https://redirect.github.com/klauspost/compress/pull/1008 )
- docs: Small typofix in comment by
[@​Jille](https://redirect.github.com/Jille ) in
[https://github.com/klauspost/compress/pull/976 ](https://redirect.github.com/klauspost/compress/pull/976 )
- build(deps): bump the github-actions group with 2 updates by
[@​dependabot](https://redirect.github.com/dependabot ) in
[https://github.com/klauspost/compress/pull/979 ](https://redirect.github.com/klauspost/compress/pull/979 )
- docs: Fix URL typo when installing builddict by
[@​Wikidepia](https://redirect.github.com/Wikidepia ) in
[https://github.com/klauspost/compress/pull/980 ](https://redirect.github.com/klauspost/compress/pull/980 )
- build(deps): bump the github-actions group with 2 updates by
[@​dependabot](https://redirect.github.com/dependabot ) in
[https://github.com/klauspost/compress/pull/985 ](https://redirect.github.com/klauspost/compress/pull/985 )
- Fix typos by [@​deining](https://redirect.github.com/deining ) in
[https://github.com/klauspost/compress/pull/986 ](https://redirect.github.com/klauspost/compress/pull/986 )
- build(deps): bump github/codeql-action from 3.25.15 to 3.26.6 in the
github-actions group by
[@​dependabot](https://redirect.github.com/dependabot ) in
[https://github.com/klauspost/compress/pull/997 ](https://redirect.github.com/klauspost/compress/pull/997 )
#### New Contributors
- [@​Wikidepia](https://redirect.github.com/Wikidepia ) made their
first contribution in
[https://github.com/klauspost/compress/pull/980 ](https://redirect.github.com/klauspost/compress/pull/980 )
- [@​deining](https://redirect.github.com/deining ) made their
first contribution in
[https://github.com/klauspost/compress/pull/986 ](https://redirect.github.com/klauspost/compress/pull/986 )
- [@​vajexal](https://redirect.github.com/vajexal ) made their
first contribution in
[https://github.com/klauspost/compress/pull/996 ](https://redirect.github.com/klauspost/compress/pull/996 )
- [@​mirecl](https://redirect.github.com/mirecl ) made their first
contribution in
[https://github.com/klauspost/compress/pull/1002 ](https://redirect.github.com/klauspost/compress/pull/1002 )
**Full Changelog**:
https://github.com/klauspost/compress/compare/v1.17.9...v1.17.10
</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 becomes conflicted, or you tick the
rebase/retry checkbox.
🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.
---
- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box
---
This PR was generated by [Mend Renovate](https://mend.io/renovate/ ).
View the [repository job
log](https://developer.mend.io/github/open-telemetry/opentelemetry-go ).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzOC44MC4wIiwidXBkYXRlZEluVmVyIjoiMzguODAuMCIsInRhcmdldEJyYW5jaCI6Im1haW4iLCJsYWJlbHMiOlsiU2tpcCBDaGFuZ2Vsb2ciLCJkZXBlbmRlbmNpZXMiXX0=-->
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-09-23 15:26:42 +02:00
Matthieu MOREL
561bd49e6c
[chore]: enable suite-extra-assert-call rule from testifylint ( #5833 )
...
#### Description
Testifylint is a linter that provides best practices with the use of
testify.
This PR enables
[suite-extra-assert-call](https://github.com/Antonboom/testifylint?tab=readme-ov-file#suite-extra-assert-call )
rule from [testifylint](https://github.com/Antonboom/testifylint )
Signed-off-by: Matthieu MOREL <matthieu.morel35@gmail.com>
2024-09-23 08:56:45 +02:00
Matthieu MOREL
063239fa37
[chore]: enable len and empty rules from testifylint ( #5832 )
...
#### Description
Testifylint is a linter that provides best practices with the use of
testify.
This PR enables
[empty](https://github.com/Antonboom/testifylint?tab=readme-ov-file#empty )
and
[len](https://github.com/Antonboom/testifylint?tab=readme-ov-file#len )
rules from [testifylint](https://github.com/Antonboom/testifylint )
Signed-off-by: Matthieu MOREL <matthieu.morel35@gmail.com>
2024-09-21 08:04:28 -07:00
Matthieu MOREL
aef9e4fa2f
[chore]: enable bool-compare rule from testifylint ( #5829 )
...
#### Description
Testifylint is a linter that provides best practices with the use of
testify.
This PR enables
[bool-compare](https://github.com/Antonboom/testifylint?tab=readme-ov-file#bool-compare )
rule from [testifylint](https://github.com/Antonboom/testifylint )
It's linter provided by golangci-lint.
Here all available rules are activated except those who require to be
fixed. This PR only fixes bool-compare so the quantity of changes stays
reasonnable for reviewers.
Signed-off-by: Matthieu MOREL <matthieu.morel35@gmail.com>
Co-authored-by: Damien Mathieu <42@dmathieu.com>
2024-09-20 09:39:27 +02:00
renovate[bot]
a200e0a2c6
fix(deps): update module google.golang.org/grpc to v1.67.0 ( #5831 )
...
This PR contains the following updates:
| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [google.golang.org/grpc](https://redirect.github.com/grpc/grpc-go ) |
`v1.66.2` -> `v1.67.0` |
[![age](https://developer.mend.io/api/mc/badges/age/go/google.golang.org%2fgrpc/v1.67.0?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/go/google.golang.org%2fgrpc/v1.67.0?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/go/google.golang.org%2fgrpc/v1.66.2/v1.67.0?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/go/google.golang.org%2fgrpc/v1.66.2/v1.67.0?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
---
### Release Notes
<details>
<summary>grpc/grpc-go (google.golang.org/grpc)</summary>
###
[`v1.67.0`](https://redirect.github.com/grpc/grpc-go/compare/v1.66.2...v1.67.0 )
[Compare
Source](https://redirect.github.com/grpc/grpc-go/compare/v1.66.2...v1.67.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 becomes conflicted, or you tick the
rebase/retry checkbox.
🔕 **Ignore**: Close this PR and you won't be reminded about these
updates again.
---
- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box
---
This PR was generated by [Mend Renovate](https://mend.io/renovate/ ).
View the [repository job
log](https://developer.mend.io/github/open-telemetry/opentelemetry-go ).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzOC44MC4wIiwidXBkYXRlZEluVmVyIjoiMzguODAuMCIsInRhcmdldEJyYW5jaCI6Im1haW4iLCJsYWJlbHMiOlsiU2tpcCBDaGFuZ2Vsb2ciLCJkZXBlbmRlbmNpZXMiXX0=-->
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-09-20 09:30:23 +02:00
renovate[bot]
7bd1c85f99
fix(deps): update module github.com/prometheus/client_golang to v1.20.4 ( #5826 )
2024-09-18 08:17:13 +02:00
pree-dew
534ce5ab09
Fix duplicate logs across resources ( #5803 )
...
1. Create scope map with resource key to map the correct log record.
2. Add test case with different resource and scope combination
Fixes #5782
### Benchmarks
```
goos: darwin
goarch: arm64
pkg: go.opentelemetry.io/otel/exporters/otlp/otlplog/otlploggrpc/internal/transform
│ old.txt │ new.txt │
│ sec/op │ sec/op vs base │
ResourceLogs-8 3.266µ ± 3% 1.100µ ± 5% -66.33% (p=0.000 n=10)
│ old.txt │ new.txt │
│ B/op │ B/op vs base │
ResourceLogs-8 8.297Ki ± 0% 2.430Ki ± 0% -70.72% (p=0.000 n=10)
│ old.txt │ new.txt │
│ allocs/op │ allocs/op vs base │
ResourceLogs-8 178.00 ± 0% 52.00 ± 0% -70.79% (p=0.000 n=10)
```
---------
Co-authored-by: Sam Xie <sam@samxie.me>
2024-09-17 13:12:49 +02:00
Tyler Yahn
42fd8fe325
Move global random number generator to randRes
field ( #5819 )
...
Instead of using a global random number generator for all `randRes`,
have each value use its own. This removes the need for locking and
managing concurrent safe access to the global. Also, the field, given
the `Reservoir` type is not concurrent safe and the metric pipeline
guards this, does not need a `sync.Mutex` to guard it.
Supersedes https://github.com/open-telemetry/opentelemetry-go/pull/5815
Fix #5814
### Performance Analysis
This change has approximately equivalent performance as the existing
code based on existing benchmarks.
```terminal
goos: linux
goarch: amd64
pkg: go.opentelemetry.io/otel/sdk/metric
cpu: Intel(R) Core(TM) i7-8550U CPU @ 1.80GHz
│ old.txt │ new.txt │
│ sec/op │ sec/op vs base │
Exemplars/Int64Counter/8-8 14.00µ ± 3% 13.44µ ± 4% -3.98% (p=0.001 n=10)
│ old.txt │ new.txt │
│ B/op │ B/op vs base │
Exemplars/Int64Counter/8-8 3.791Ki ± 0% 3.791Ki ± 0% ~ (p=1.000 n=10) ¹
¹ all samples are equal
│ old.txt │ new.txt │
│ allocs/op │ allocs/op vs base │
Exemplars/Int64Counter/8-8 84.00 ± 0% 84.00 ± 0% ~ (p=1.000 n=10) ¹
¹ all samples are equal
```
2024-09-16 07:31:15 -07:00
Lijingfeng
a7e83aace9
simplify conversions from slice to array ( #5818 )
...
Go 1.17 introduced an expression for convertion from slice to array, so
codes can be simplified.
Ref:
https://tip.golang.org/ref/spec#Conversions_from_slice_to_array_or_array_pointer
> Converting a slice to an array yields an array containing the elements
of the underlying array of the slice.
2024-09-16 09:17:59 +02:00
Cattī Crūdēlēs
38b9734230
doc(metric): fix incorrect explanation of how metric.WithAttributes
works ( #5822 )
2024-09-16 09:09:28 +02:00
renovate[bot]
80e18a5841
fix(deps): update module github.com/golangci/golangci-lint to v1.61.0 ( #5796 )
...
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.60.3` -> `v1.61.0` |
[![age](https://developer.mend.io/api/mc/badges/age/go/github.com%2fgolangci%2fgolangci-lint/v1.61.0?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/go/github.com%2fgolangci%2fgolangci-lint/v1.61.0?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/go/github.com%2fgolangci%2fgolangci-lint/v1.60.3/v1.61.0?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/go/github.com%2fgolangci%2fgolangci-lint/v1.60.3/v1.61.0?slim=true )](https://docs.renovatebot.com/merge-confidence/ )
|
---
### Release Notes
<details>
<summary>golangci/golangci-lint
(github.com/golangci/golangci-lint)</summary>
###
[`v1.61.0`](https://redirect.github.com/golangci/golangci-lint/compare/v1.60.3...v1.61.0 )
[Compare
Source](https://redirect.github.com/golangci/golangci-lint/compare/v1.60.3...v1.61.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 becomes conflicted, or you tick the
rebase/retry checkbox.
🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.
---
- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box
---
This PR was generated by [Mend Renovate](https://mend.io/renovate/ ).
View the [repository job
log](https://developer.mend.io/github/open-telemetry/opentelemetry-go ).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzOC41OS4yIiwidXBkYXRlZEluVmVyIjoiMzguNzQuMSIsInRhcmdldEJyYW5jaCI6Im1haW4iLCJsYWJlbHMiOlsiU2tpcCBDaGFuZ2Vsb2ciLCJkZXBlbmRlbmNpZXMiXX0=-->
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-09-13 09:19:37 +02:00
Damien Mathieu
a3c512aa95
Fix gosec overflow alerts ( #5799 )
...
To allow the golangci-lint upgrade in #5796 .
---------
Co-authored-by: Tyler Yahn <MrAlias@users.noreply.github.com>
2024-09-13 09:11:50 +02:00