Dmitrii Anoshin
324f5a22d6
Deprecate processorprofiles module in favor of xprocessor ( #11883 )
...
to allow adding more experimental data types
Updates
https://github.com/open-telemetry/opentelemetry-collector/issues/11778
2024-12-13 21:36:25 +00:00
Yang Song
686132fc27
[chore] fix xconsumer mod versions ( #11884 )
...
#### Description
`make update-otel` failed in contrib due to the new packages added in
https://github.com/open-telemetry/opentelemetry-collector/pull/11779 .
Pin a commit version for them in go mod to see if it unblocks contrib
2024-12-13 20:53:32 +00:00
Dmitrii Anoshin
63d83d5e79
Deprecate consumerprofiles module in favor of xconsumer ( #11779 )
...
To allow adding more experimental data types. First step towards
https://github.com/open-telemetry/opentelemetry-collector/issues/11778
2024-12-12 22:09:02 +00:00
Matthieu MOREL
824c9f7a43
[chore]: enable gofumpt linter in internal, otelcol, pdata, pipeline and processor ( #11855 )
...
#### Description
[gofumpt](https://golangci-lint.run/usage/linters/#gofumpt ) is a
stricter format than gofmt, while being backwards compatible.
---------
Signed-off-by: Matthieu MOREL <matthieu.morel35@gmail.com>
Co-authored-by: Alex Boten <223565+codeboten@users.noreply.github.com>
2024-12-12 19:21:54 +00:00
renovate[bot]
d5ddbf7ebf
fix(deps): update module google.golang.org/grpc to v1.68.1 ( #11835 )
...
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.1` -> `v1.68.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.68.1`](https://redirect.github.com/grpc/grpc-go/releases/tag/v1.68.1 ):
Release 1.68.1
[Compare
Source](https://redirect.github.com/grpc/grpc-go/compare/v1.68.0...v1.68.1 )
### Bug Fixes
- credentials/alts: avoid SRV and TXT lookups for handshaker service to
work around hangs caused by buggy versions of systemd-resolved.
([#​7861](https://redirect.github.com/grpc/grpc-go/issues/7861 ))
### Dependencies
- Relax minimum Go version requirement from `go1.22.7` to `go1.22`.
([#​7831](https://redirect.github.com/grpc/grpc-go/issues/7831 ))
###
[`v1.68.0`](https://redirect.github.com/grpc/grpc-go/releases/tag/v1.68.0 ):
Release 1.68.0
[Compare
Source](https://redirect.github.com/grpc/grpc-go/compare/v1.67.2...v1.68.0 )
### Behavior Changes
- stats/opentelemetry/csm: Get mesh_id local label from "CSM_MESH_ID"
environment variable, rather than parsing from bootstrap file
([#​7740](https://redirect.github.com/grpc/grpc-go/issues/7740 ))
- orca (experimental): if using an ORCA listener, it must now be
registered only on a READY SubConn, and the listener will automatically
be stopped when the connection is lost.
([#​7663](https://redirect.github.com/grpc/grpc-go/issues/7663 ))
- client: `ClientConn.Close()` now closes transports simultaneously and
waits for transports to be closed before returning.
([#​7666](https://redirect.github.com/grpc/grpc-go/issues/7666 ))
- credentials: TLS credentials created via `NewTLS` that use
`tls.Config.GetConfigForClient` will now have CipherSuites, supported
TLS versions and ALPN configured automatically. These were previously
only set for configs not using the `GetConfigForClient` option.
([#​7709](https://redirect.github.com/grpc/grpc-go/issues/7709 ))
### Bug Fixes
- transport: prevent deadlock in client transport shutdown when writing
the GOAWAY frame hangs.
([#​7662](https://redirect.github.com/grpc/grpc-go/issues/7662 ))
- mem: reuse buffers more accurately by using slice capacity instead of
length
([#​7702](https://redirect.github.com/grpc/grpc-go/issues/7702 ))
- Special Thanks:
[@​PapaCharlie](https://redirect.github.com/PapaCharlie )
- status: Fix regression caused by
[#​6919](https://redirect.github.com/grpc/grpc-go/issues/6919 ) in
status.Details() causing it to return a wrapped type when getting proto
messages generated with protoc-gen-go < v1.
([#​7724](https://redirect.github.com/grpc/grpc-go/issues/7724 ))
### Dependencies
- Bump minimum supported Go version to `go1.22.7`.
([#​7624](https://redirect.github.com/grpc/grpc-go/issues/7624 ))
###
[`v1.67.2`](https://redirect.github.com/grpc/grpc-go/releases/tag/v1.67.2 ):
Release 1.67.2
[Compare
Source](https://redirect.github.com/grpc/grpc-go/compare/v1.67.1...v1.67.2 )
### Bug Fixes
- credentials/alts: avoid SRV and TXT lookups for handshaker service to
work around hangs caused by buggy versions of systemd-resolved.
([#​7861](https://redirect.github.com/grpc/grpc-go/issues/7861 ))
</details>
---
### Configuration
📅 **Schedule**: Branch creation - "on tuesday" (UTC), Automerge - At any
time (no schedule defined).
🚦 **Automerge**: Disabled by config. Please merge this manually once you
are satisfied.
♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.
🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.
---
- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box
---
This PR was generated by [Mend Renovate](https://mend.io/renovate/ ).
View the [repository job
log](https://developer.mend.io/github/open-telemetry/opentelemetry-collector ).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzOS40Mi40IiwidXBkYXRlZEluVmVyIjoiMzkuNDIuNCIsInRhcmdldEJyYW5jaCI6Im1haW4iLCJsYWJlbHMiOlsiZGVwZW5kZW5jaWVzIiwicmVub3ZhdGVib3QiXX0=-->
---------
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: opentelemetrybot <107717825+opentelemetrybot@users.noreply.github.com>
2024-12-10 05:00:52 +00:00
OpenTelemetry Bot
a65008e7ef
[chore] Prepare release v1.21.0/v0.115.0 ( #11788 )
...
The following commands were run to prepare this release:
- make chlog-update VERSION=v1.21.0/v0.115.0
- make prepare-release PREVIOUS_VERSION=1[.]20[.]0
RELEASE_CANDIDATE=1.21.0 MODSET=stable
- make prepare-release PREVIOUS_VERSION=0[.]114[.]0
RELEASE_CANDIDATE=0.115.0 MODSET=beta
2024-12-03 13:22:05 -08:00
renovate[bot]
e91dafacd9
fix(deps): update module github.com/stretchr/testify to v1.10.0 ( #11751 )
...
This PR contains the following updates:
| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
|
[github.com/stretchr/testify](https://redirect.github.com/stretchr/testify )
| `v1.9.0` -> `v1.10.0` |
[](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>stretchr/testify (github.com/stretchr/testify)</summary>
###
[`v1.10.0`](https://redirect.github.com/stretchr/testify/releases/tag/v1.10.0 )
[Compare
Source](https://redirect.github.com/stretchr/testify/compare/v1.9.0...v1.10.0 )
#### What's Changed
##### Functional Changes
- Add PanicAssertionFunc by
[@​fahimbagar](https://redirect.github.com/fahimbagar ) in
[https://github.com/stretchr/testify/pull/1337 ](https://redirect.github.com/stretchr/testify/pull/1337 )
- assert: deprecate CompareType by
[@​dolmen](https://redirect.github.com/dolmen ) in
[https://github.com/stretchr/testify/pull/1566 ](https://redirect.github.com/stretchr/testify/pull/1566 )
- assert: make YAML dependency pluggable via build tags by
[@​dolmen](https://redirect.github.com/dolmen ) in
[https://github.com/stretchr/testify/pull/1579 ](https://redirect.github.com/stretchr/testify/pull/1579 )
- assert: new assertion NotElementsMatch by
[@​hendrywiranto](https://redirect.github.com/hendrywiranto ) in
[https://github.com/stretchr/testify/pull/1600 ](https://redirect.github.com/stretchr/testify/pull/1600 )
- mock: in order mock calls by
[@​ReyOrtiz](https://redirect.github.com/ReyOrtiz ) in
[https://github.com/stretchr/testify/pull/1637 ](https://redirect.github.com/stretchr/testify/pull/1637 )
- Add assertion for NotErrorAs by
[@​palsivertsen](https://redirect.github.com/palsivertsen ) in
[https://github.com/stretchr/testify/pull/1129 ](https://redirect.github.com/stretchr/testify/pull/1129 )
- Record Return Arguments of a Call by
[@​jayd3e](https://redirect.github.com/jayd3e ) in
[https://github.com/stretchr/testify/pull/1636 ](https://redirect.github.com/stretchr/testify/pull/1636 )
- assert.EqualExportedValues: accepts everything by
[@​redachl](https://redirect.github.com/redachl ) in
[https://github.com/stretchr/testify/pull/1586 ](https://redirect.github.com/stretchr/testify/pull/1586 )
##### Fixes
- assert: make tHelper a type alias by
[@​dolmen](https://redirect.github.com/dolmen ) in
[https://github.com/stretchr/testify/pull/1562 ](https://redirect.github.com/stretchr/testify/pull/1562 )
- Do not get argument again unnecessarily in Arguments.Error() by
[@​TomWright](https://redirect.github.com/TomWright ) in
[https://github.com/stretchr/testify/pull/820 ](https://redirect.github.com/stretchr/testify/pull/820 )
- Fix time.Time compare by
[@​myxo](https://redirect.github.com/myxo ) in
[https://github.com/stretchr/testify/pull/1582 ](https://redirect.github.com/stretchr/testify/pull/1582 )
- assert.Regexp: handle \[]byte array properly by
[@​kevinburkesegment](https://redirect.github.com/kevinburkesegment )
in
[https://github.com/stretchr/testify/pull/1587 ](https://redirect.github.com/stretchr/testify/pull/1587 )
- assert: collect.FailNow() should not panic by
[@​marshall-lee](https://redirect.github.com/marshall-lee ) in
[https://github.com/stretchr/testify/pull/1481 ](https://redirect.github.com/stretchr/testify/pull/1481 )
- mock: simplify implementation of FunctionalOptions by
[@​dolmen](https://redirect.github.com/dolmen ) in
[https://github.com/stretchr/testify/pull/1571 ](https://redirect.github.com/stretchr/testify/pull/1571 )
- mock: caller information for unexpected method call by
[@​spirin](https://redirect.github.com/spirin ) in
[https://github.com/stretchr/testify/pull/1644 ](https://redirect.github.com/stretchr/testify/pull/1644 )
- suite: fix test failures by
[@​stevenh](https://redirect.github.com/stevenh ) in
[https://github.com/stretchr/testify/pull/1421 ](https://redirect.github.com/stretchr/testify/pull/1421 )
- Fix issue
[#​1662](https://redirect.github.com/stretchr/testify/issues/1662 )
(comparing infs should fail) by
[@​ybrustin](https://redirect.github.com/ybrustin ) in
[https://github.com/stretchr/testify/pull/1663 ](https://redirect.github.com/stretchr/testify/pull/1663 )
- NotSame should fail if args are not pointers
[#​1661](https://redirect.github.com/stretchr/testify/issues/1661 )
by [@​sikehish](https://redirect.github.com/sikehish ) in
[https://github.com/stretchr/testify/pull/1664 ](https://redirect.github.com/stretchr/testify/pull/1664 )
- Increase timeouts in Test_Mock_Called_blocks to reduce flakiness in CI
by [@​sikehish](https://redirect.github.com/sikehish ) in
[https://github.com/stretchr/testify/pull/1667 ](https://redirect.github.com/stretchr/testify/pull/1667 )
- fix: compare functional option names for indirect calls by
[@​arjun-1](https://redirect.github.com/arjun-1 ) in
[https://github.com/stretchr/testify/pull/1626 ](https://redirect.github.com/stretchr/testify/pull/1626 )
##### Documantation, Build & CI
- .gitignore: ignore "go test -c" binaries by
[@​dolmen](https://redirect.github.com/dolmen ) in
[https://github.com/stretchr/testify/pull/1565 ](https://redirect.github.com/stretchr/testify/pull/1565 )
- mock: improve doc by
[@​dolmen](https://redirect.github.com/dolmen ) in
[https://github.com/stretchr/testify/pull/1570 ](https://redirect.github.com/stretchr/testify/pull/1570 )
- mock: fix FunctionalOptions docs by
[@​snirye](https://redirect.github.com/snirye ) in
[https://github.com/stretchr/testify/pull/1433 ](https://redirect.github.com/stretchr/testify/pull/1433 )
- README: link out to the excellent testifylint by
[@​brackendawson](https://redirect.github.com/brackendawson ) in
[https://github.com/stretchr/testify/pull/1568 ](https://redirect.github.com/stretchr/testify/pull/1568 )
- assert: fix typo in comment by
[@​JohnEndson](https://redirect.github.com/JohnEndson ) in
[https://github.com/stretchr/testify/pull/1580 ](https://redirect.github.com/stretchr/testify/pull/1580 )
- Correct the EventuallyWithT and EventuallyWithTf example by
[@​JonCrowther](https://redirect.github.com/JonCrowther ) in
[https://github.com/stretchr/testify/pull/1588 ](https://redirect.github.com/stretchr/testify/pull/1588 )
- CI: bump softprops/action-gh-release from 1 to 2 by
[@​dependabot](https://redirect.github.com/dependabot ) in
[https://github.com/stretchr/testify/pull/1575 ](https://redirect.github.com/stretchr/testify/pull/1575 )
- mock: document more alternatives to deprecated AnythingOfTypeArgument
by [@​dolmen](https://redirect.github.com/dolmen ) in
[https://github.com/stretchr/testify/pull/1569 ](https://redirect.github.com/stretchr/testify/pull/1569 )
- assert: Correctly document EqualValues behavior by
[@​brackendawson](https://redirect.github.com/brackendawson ) in
[https://github.com/stretchr/testify/pull/1593 ](https://redirect.github.com/stretchr/testify/pull/1593 )
- fix: grammar in godoc by
[@​miparnisari](https://redirect.github.com/miparnisari ) in
[https://github.com/stretchr/testify/pull/1607 ](https://redirect.github.com/stretchr/testify/pull/1607 )
- .github/workflows: Run tests for Go 1.22 by
[@​HaraldNordgren](https://redirect.github.com/HaraldNordgren ) in
[https://github.com/stretchr/testify/pull/1629 ](https://redirect.github.com/stretchr/testify/pull/1629 )
- Document suite's lack of support for t.Parallel by
[@​brackendawson](https://redirect.github.com/brackendawson ) in
[https://github.com/stretchr/testify/pull/1645 ](https://redirect.github.com/stretchr/testify/pull/1645 )
- assert: fix typos in comments by
[@​alexandear](https://redirect.github.com/alexandear ) in
[https://github.com/stretchr/testify/pull/1650 ](https://redirect.github.com/stretchr/testify/pull/1650 )
- mock: fix doc comment for NotBefore by
[@​alexandear](https://redirect.github.com/alexandear ) in
[https://github.com/stretchr/testify/pull/1651 ](https://redirect.github.com/stretchr/testify/pull/1651 )
- Generate better comments for require package by
[@​Neokil](https://redirect.github.com/Neokil ) in
[https://github.com/stretchr/testify/pull/1610 ](https://redirect.github.com/stretchr/testify/pull/1610 )
- README: replace Testify V2 notice with
[@​dolmen](https://redirect.github.com/dolmen )'s V2 manifesto by
[@​hendrywiranto](https://redirect.github.com/hendrywiranto ) in
[https://github.com/stretchr/testify/pull/1518 ](https://redirect.github.com/stretchr/testify/pull/1518 )
#### New Contributors
- [@​fahimbagar](https://redirect.github.com/fahimbagar ) made
their first contribution in
[https://github.com/stretchr/testify/pull/1337 ](https://redirect.github.com/stretchr/testify/pull/1337 )
- [@​TomWright](https://redirect.github.com/TomWright ) made their
first contribution in
[https://github.com/stretchr/testify/pull/820 ](https://redirect.github.com/stretchr/testify/pull/820 )
- [@​snirye](https://redirect.github.com/snirye ) made their first
contribution in
[https://github.com/stretchr/testify/pull/1433 ](https://redirect.github.com/stretchr/testify/pull/1433 )
- [@​myxo](https://redirect.github.com/myxo ) made their first
contribution in
[https://github.com/stretchr/testify/pull/1582 ](https://redirect.github.com/stretchr/testify/pull/1582 )
- [@​JohnEndson](https://redirect.github.com/JohnEndson ) made
their first contribution in
[https://github.com/stretchr/testify/pull/1580 ](https://redirect.github.com/stretchr/testify/pull/1580 )
- [@​JonCrowther](https://redirect.github.com/JonCrowther ) made
their first contribution in
[https://github.com/stretchr/testify/pull/1588 ](https://redirect.github.com/stretchr/testify/pull/1588 )
- [@​miparnisari](https://redirect.github.com/miparnisari ) made
their first contribution in
[https://github.com/stretchr/testify/pull/1607 ](https://redirect.github.com/stretchr/testify/pull/1607 )
- [@​marshall-lee](https://redirect.github.com/marshall-lee ) made
their first contribution in
[https://github.com/stretchr/testify/pull/1481 ](https://redirect.github.com/stretchr/testify/pull/1481 )
- [@​spirin](https://redirect.github.com/spirin ) made their first
contribution in
[https://github.com/stretchr/testify/pull/1644 ](https://redirect.github.com/stretchr/testify/pull/1644 )
- [@​ReyOrtiz](https://redirect.github.com/ReyOrtiz ) made their
first contribution in
[https://github.com/stretchr/testify/pull/1637 ](https://redirect.github.com/stretchr/testify/pull/1637 )
- [@​stevenh](https://redirect.github.com/stevenh ) made their
first contribution in
[https://github.com/stretchr/testify/pull/1421 ](https://redirect.github.com/stretchr/testify/pull/1421 )
- [@​jayd3e](https://redirect.github.com/jayd3e ) made their first
contribution in
[https://github.com/stretchr/testify/pull/1636 ](https://redirect.github.com/stretchr/testify/pull/1636 )
- [@​Neokil](https://redirect.github.com/Neokil ) made their first
contribution in
[https://github.com/stretchr/testify/pull/1610 ](https://redirect.github.com/stretchr/testify/pull/1610 )
- [@​redachl](https://redirect.github.com/redachl ) made their
first contribution in
[https://github.com/stretchr/testify/pull/1586 ](https://redirect.github.com/stretchr/testify/pull/1586 )
- [@​ybrustin](https://redirect.github.com/ybrustin ) made their
first contribution in
[https://github.com/stretchr/testify/pull/1663 ](https://redirect.github.com/stretchr/testify/pull/1663 )
- [@​sikehish](https://redirect.github.com/sikehish ) made their
first contribution in
[https://github.com/stretchr/testify/pull/1664 ](https://redirect.github.com/stretchr/testify/pull/1664 )
- [@​arjun-1](https://redirect.github.com/arjun-1 ) made their
first contribution in
[https://github.com/stretchr/testify/pull/1626 ](https://redirect.github.com/stretchr/testify/pull/1626 )
**Full Changelog**:
https://github.com/stretchr/testify/compare/v1.9.0...v1.10.0
</details>
---
### Configuration
📅 **Schedule**: Branch creation - "on tuesday" (UTC), Automerge - At any
time (no schedule defined).
🚦 **Automerge**: Disabled by config. Please merge this manually once you
are satisfied.
♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.
🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.
---
- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box
---
This PR was generated by [Mend Renovate](https://mend.io/renovate/ ).
View the [repository job
log](https://developer.mend.io/github/open-telemetry/opentelemetry-collector ).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzOS4xOS4wIiwidXBkYXRlZEluVmVyIjoiMzkuMTkuMCIsInRhcmdldEJyYW5jaCI6Im1haW4iLCJsYWJlbHMiOlsiZGVwZW5kZW5jaWVzIiwicmVub3ZhdGVib3QiXX0=-->
---------
Signed-off-by: Alex Boten <223565+codeboten@users.noreply.github.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: opentelemetrybot <107717825+opentelemetrybot@users.noreply.github.com>
Co-authored-by: Alex Boten <223565+codeboten@users.noreply.github.com>
2024-11-26 11:09:39 -08:00
Bogdan Drutu
9ea2f531f5
Remove deprecated LeveledMeter from the generated code ( #11696 )
...
Signed-off-by: Bogdan Drutu <bogdandrutu@gmail.com>
2024-11-19 10:50:15 -08:00
renovate[bot]
5fb35ce6e9
fix(deps): update module google.golang.org/protobuf to v1.35.2 ( #11700 )
...
This PR contains the following updates:
| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
|
[google.golang.org/protobuf](https://redirect.github.com/protocolbuffers/protobuf-go )
| `v1.35.1` -> `v1.35.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>protocolbuffers/protobuf-go
(google.golang.org/protobuf)</summary>
###
[`v1.35.2`](https://redirect.github.com/protocolbuffers/protobuf-go/releases/tag/v1.35.2 )
[Compare
Source](https://redirect.github.com/protocolbuffers/protobuf-go/compare/v1.35.1...v1.35.2 )
**Full Changelog**:
https://github.com/protocolbuffers/protobuf-go/compare/v1.35.1...v1.35.2
Maintenance:
[CL/623115](https://go-review.googlesource.com/c/protobuf/+/623115 ):
proto: refactor equal_test from explicit table to use makeMessages()
[CL/623116](https://go-review.googlesource.com/c/protobuf/+/623116 ):
encoding/prototext: use testmessages_test.go approach, too
[CL/623117](https://go-review.googlesource.com/c/protobuf/+/623117 ):
internal/testprotos/test: add nested message field with \[lazy=true]
[CL/624415](https://go-review.googlesource.com/c/protobuf/+/624415 ):
proto: switch messageset_test to use makeMessages() injection point
[CL/624416](https://go-review.googlesource.com/c/protobuf/+/624416 ):
internal/impl: fix TestMarshalMessageSetLazyRace (was a no-op!)
User-visible changes:
[CL/618395](https://go-review.googlesource.com/c/protobuf/+/618395 ):
encoding/protojson: allow missing value for Any of type Empty
[CL/618979](https://go-review.googlesource.com/c/protobuf/+/618979 ):
all: implement strip_enum_prefix editions feature
[CL/622575](https://go-review.googlesource.com/c/protobuf/+/622575 ):
testing/protocmp: document behavior when combining Ignore and Sort
</details>
---
### Configuration
📅 **Schedule**: Branch creation - "on tuesday" (UTC), Automerge - At any
time (no schedule defined).
🚦 **Automerge**: Disabled by config. Please merge this manually once you
are satisfied.
♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.
🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.
---
- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box
---
This PR was generated by [Mend Renovate](https://mend.io/renovate/ ).
View the [repository job
log](https://developer.mend.io/github/open-telemetry/opentelemetry-collector ).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzOS4xOS4wIiwidXBkYXRlZEluVmVyIjoiMzkuMTkuMCIsInRhcmdldEJyYW5jaCI6Im1haW4iLCJsYWJlbHMiOlsiZGVwZW5kZW5jaWVzIiwicmVub3ZhdGVib3QiXX0=-->
---------
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: opentelemetrybot <107717825+opentelemetrybot@users.noreply.github.com>
2024-11-19 08:03:06 -08:00
OpenTelemetry Bot
43fbb04cea
[chore] Prepare release v1.20.0/v0.114.0 ( #11692 )
...
The following commands were run to prepare this release:
- make chlog-update VERSION=v1.20.0/v0.114.0
- make prepare-release PREVIOUS_VERSION=1[.]19[.]0
RELEASE_CANDIDATE=1.20.0 MODSET=stable
- make prepare-release PREVIOUS_VERSION=0[.]113[.]0
RELEASE_CANDIDATE=0.114.0 MODSET=beta
---------
Signed-off-by: Alex Boten <223565+codeboten@users.noreply.github.com>
Co-authored-by: Alex Boten <223565+codeboten@users.noreply.github.com>
2024-11-18 11:42:17 -08:00
Bogdan Drutu
8e522ad950
Revert public API changes in #10931 , preserve logic ( #11415 )
...
This PR removes APIs that expose `configtelemetry.Level`. Internal
functionality still uses the Level, but will be soon changed to use the
new Instrument.Enabled.
Signed-off-by: Bogdan Drutu <bogdandrutu@gmail.com>
2024-11-15 16:49:51 -08:00
Jade Guiton
115568a442
[chore] Use pseudo-versions to require `componenttest` ( #11668 )
...
#### Description
My previous PR (#11615 ) which made `component/componenttest` into its
own module tagged it as `v0.113.0` in the requirements of other modules.
This works locally because of the `replace` statements, but since the
module was never _actually_ released as v0.113.0, this causes issues in
contrib (cf. #11509 and #11511 ).
This PR updates those requirements to use a pseudo-version pointing at a
recent commit on main, which should be properly externally resolvable.
#### Link to tracking issue
None.
#### Testing
I removed the `replace` statements for `componenttest`, ran `make
gotidy`, which allowed `make otelcorecol` to run successfully. Not sure
if this is a thorough enough test however. Once this PR is merged, I
will try `make update-otel [...]` on contrib with the appropriate commit
ID to check that the issue is resolved.
2024-11-13 12:18:12 -08:00
renovate[bot]
45f1fba191
fix(deps): update opentelemetry-go monorepo ( #11646 )
...
This PR contains the following updates:
| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
|
[go.opentelemetry.io/otel](https://redirect.github.com/open-telemetry/opentelemetry-go )
| `v1.31.0` -> `v1.32.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/ )
|
|
[go.opentelemetry.io/otel/exporters/otlp/otlpmetric/otlpmetricgrpc](https://redirect.github.com/open-telemetry/opentelemetry-go )
| `v1.31.0` -> `v1.32.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/ )
|
|
[go.opentelemetry.io/otel/exporters/otlp/otlpmetric/otlpmetrichttp](https://redirect.github.com/open-telemetry/opentelemetry-go )
| `v1.31.0` -> `v1.32.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/ )
|
|
[go.opentelemetry.io/otel/exporters/prometheus](https://redirect.github.com/open-telemetry/opentelemetry-go )
| `v0.53.0` -> `v0.54.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/ )
|
|
[go.opentelemetry.io/otel/exporters/stdout/stdoutmetric](https://redirect.github.com/open-telemetry/opentelemetry-go )
| `v1.31.0` -> `v1.32.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/ )
|
|
[go.opentelemetry.io/otel/log](https://redirect.github.com/open-telemetry/opentelemetry-go )
| `v0.7.0` -> `v0.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/ )
|
|
[go.opentelemetry.io/otel/metric](https://redirect.github.com/open-telemetry/opentelemetry-go )
| `v1.31.0` -> `v1.32.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/ )
|
|
[go.opentelemetry.io/otel/sdk](https://redirect.github.com/open-telemetry/opentelemetry-go )
| `v1.31.0` -> `v1.32.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/ )
|
|
[go.opentelemetry.io/otel/sdk/metric](https://redirect.github.com/open-telemetry/opentelemetry-go )
| `v1.31.0` -> `v1.32.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/ )
|
|
[go.opentelemetry.io/otel/trace](https://redirect.github.com/open-telemetry/opentelemetry-go )
| `v1.31.0` -> `v1.32.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-go
(go.opentelemetry.io/otel)</summary>
###
[`v1.32.0`](https://redirect.github.com/open-telemetry/opentelemetry-go/releases/tag/v1.32.0 ):
/v0.54.0/v0.8.0/v0.0.11
[Compare
Source](https://redirect.github.com/open-telemetry/opentelemetry-go/compare/v1.31.0...v1.32.0 )
##### Overview
##### Added
- Add `go.opentelemetry.io/otel/sdk/metric/exemplar.AlwaysOffFilter`,
which can be used to disable exemplar recording.
([#​5850](https://redirect.github.com/open-telemetry/opentelemetry-go/issues/5850 ))
- Add `go.opentelemetry.io/otel/sdk/metric.WithExemplarFilter`, which
can be used to configure the exemplar filter used by the metrics SDK.
([#​5850](https://redirect.github.com/open-telemetry/opentelemetry-go/issues/5850 ))
- Add `ExemplarReservoirProviderSelector` and
`DefaultExemplarReservoirProviderSelector` to
`go.opentelemetry.io/otel/sdk/metric`, which defines the exemplar
reservoir to use based on the aggregation of the metric.
([#​5861](https://redirect.github.com/open-telemetry/opentelemetry-go/issues/5861 ))
- Add `ExemplarReservoirProviderSelector` to
`go.opentelemetry.io/otel/sdk/metric.Stream` to allow using views to
configure the exemplar reservoir to use for a metric.
([#​5861](https://redirect.github.com/open-telemetry/opentelemetry-go/issues/5861 ))
- Add `ReservoirProvider`, `HistogramReservoirProvider` and
`FixedSizeReservoirProvider` to
`go.opentelemetry.io/otel/sdk/metric/exemplar` to make it convenient to
use providers of Reservoirs.
([#​5861](https://redirect.github.com/open-telemetry/opentelemetry-go/issues/5861 ))
- The `go.opentelemetry.io/otel/semconv/v1.27.0` package.
The package contains semantic conventions from the `v1.27.0` version of
the OpenTelemetry Semantic Conventions.
([#​5894](https://redirect.github.com/open-telemetry/opentelemetry-go/issues/5894 ))
- Add `Attributes attribute.Set` field to `Scope` in
`go.opentelemetry.io/otel/sdk/instrumentation`.
([#​5903](https://redirect.github.com/open-telemetry/opentelemetry-go/issues/5903 ))
- Add `Attributes attribute.Set` field to `ScopeRecords` in
`go.opentelemetry.io/otel/log/logtest`.
([#​5927](https://redirect.github.com/open-telemetry/opentelemetry-go/issues/5927 ))
- `go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc` adds
instrumentation scope attributes.
([#​5934](https://redirect.github.com/open-telemetry/opentelemetry-go/issues/5934 ))
- `go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracehttp` adds
instrumentation scope attributes.
([#​5934](https://redirect.github.com/open-telemetry/opentelemetry-go/issues/5934 ))
- `go.opentelemetry.io/otel/exporters/otlp/otlpmetric/otlpmetricgrpc`
adds instrumentation scope attributes.
([#​5935](https://redirect.github.com/open-telemetry/opentelemetry-go/issues/5935 ))
- `go.opentelemetry.io/otel/exporters/otlp/otlpmetric/otlpmetrichttp`
adds instrumentation scope attributes.
([#​5935](https://redirect.github.com/open-telemetry/opentelemetry-go/issues/5935 ))
- `go.opentelemetry.io/otel/exporters/otlp/otlplog/otlploggrpc` adds
instrumentation scope attributes.
([#​5933](https://redirect.github.com/open-telemetry/opentelemetry-go/issues/5933 ))
- `go.opentelemetry.io/otel/exporters/otlp/otlplog/otlploghttp` adds
instrumentation scope attributes.
([#​5933](https://redirect.github.com/open-telemetry/opentelemetry-go/issues/5933 ))
- `go.opentelemetry.io/otel/exporters/prometheus` adds instrumentation
scope attributes in `otel_scope_info` metric as labels.
([#​5932](https://redirect.github.com/open-telemetry/opentelemetry-go/issues/5932 ))
##### Changed
- Support scope attributes and make them as identifying for `Tracer` in
`go.opentelemetry.io/otel` and `go.opentelemetry.io/otel/sdk/trace`.
([#​5924](https://redirect.github.com/open-telemetry/opentelemetry-go/issues/5924 ))
- Support scope attributes and make them as identifying for `Meter` in
`go.opentelemetry.io/otel` and `go.opentelemetry.io/otel/sdk/metric`.
([#​5926](https://redirect.github.com/open-telemetry/opentelemetry-go/issues/5926 ))
- Support scope attributes and make them as identifying for `Logger` in
`go.opentelemetry.io/otel` and `go.opentelemetry.io/otel/sdk/log`.
([#​5925](https://redirect.github.com/open-telemetry/opentelemetry-go/issues/5925 ))
- Make schema URL and scope attributes as identifying for `Tracer` in
`go.opentelemetry.io/otel/bridge/opentracing`.
([#​5931](https://redirect.github.com/open-telemetry/opentelemetry-go/issues/5931 ))
- Clear unneeded slice elements to allow GC to collect the objects in
`go.opentelemetry.io/otel/sdk/metric` and
`go.opentelemetry.io/otel/sdk/trace`.
([#​5804](https://redirect.github.com/open-telemetry/opentelemetry-go/issues/5804 ))
##### Fixed
- Global MeterProvider registration unwraps global instrument Observers,
the undocumented Unwrap() methods are now private.
([#​5881](https://redirect.github.com/open-telemetry/opentelemetry-go/issues/5881 ))
- `go.opentelemetry.io/otel/exporters/otlp/otlpmetric/otlpmetricgrpc`
now keeps the metadata already present in the context when `WithHeaders`
is used.
([#​5892](https://redirect.github.com/open-telemetry/opentelemetry-go/issues/5892 ))
- `go.opentelemetry.io/otel/exporters/otlp/otlplog/otlploggrpc` now
keeps the metadata already present in the context when `WithHeaders` is
used.
([#​5911](https://redirect.github.com/open-telemetry/opentelemetry-go/issues/5911 ))
- `go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc` now
keeps the metadata already present in the context when `WithHeaders` is
used.
([#​5915](https://redirect.github.com/open-telemetry/opentelemetry-go/issues/5915 ))
- Fix `go.opentelemetry.io/otel/exporters/prometheus` trying to add
exemplars to Gauge metrics, which is unsupported.
([#​5912](https://redirect.github.com/open-telemetry/opentelemetry-go/issues/5912 ))
- Fix `WithEndpointURL` to always use a secure connection when an https
URL is passed in
`go.opentelemetry.io/otel/exporters/otlp/otlpmetric/otlpmetricgrpc`.
([#​5944](https://redirect.github.com/open-telemetry/opentelemetry-go/issues/5944 ))
- Fix `WithEndpointURL` to always use a secure connection when an https
URL is passed in
`go.opentelemetry.io/otel/exporters/otlp/otlpmetric/otlpmetrichttp`.
([#​5944](https://redirect.github.com/open-telemetry/opentelemetry-go/issues/5944 ))
- Fix `WithEndpointURL` to always use a secure connection when an https
URL is passed in
`go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc`.
([#​5944](https://redirect.github.com/open-telemetry/opentelemetry-go/issues/5944 ))
- Fix `WithEndpointURL` to always use a secure connection when an https
URL is passed in
`go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracehttp`.
([#​5944](https://redirect.github.com/open-telemetry/opentelemetry-go/issues/5944 ))
- Fix incorrect metrics generated from callbacks when multiple readers
are used in `go.opentelemetry.io/otel/sdk/metric`.
([#​5900](https://redirect.github.com/open-telemetry/opentelemetry-go/issues/5900 ))
##### Removed
- Remove all examples under `go.opentelemetry.io/otel/example` as they
are moved to [Contrib
repository](https://redirect.github.com/open-telemetry/opentelemetry-go-contrib/tree/main/examples ).
([#​5930](https://redirect.github.com/open-telemetry/opentelemetry-go/issues/5930 ))
##### What's Changed
- Allow configuring the exemplar filter on the metrics SDK by
[@​dashpole](https://redirect.github.com/dashpole ) in
[https://github.com/open-telemetry/opentelemetry-go/pull/5850 ](https://redirect.github.com/open-telemetry/opentelemetry-go/pull/5850 )
- chore(deps): update lycheeverse/lychee-action action to v2.0.1 by
[@​renovate](https://redirect.github.com/renovate ) in
[https://github.com/open-telemetry/opentelemetry-go/pull/5884 ](https://redirect.github.com/open-telemetry/opentelemetry-go/pull/5884 )
- Run the test compatibility check even if tests failed by
[@​dmathieu](https://redirect.github.com/dmathieu ) in
[https://github.com/open-telemetry/opentelemetry-go/pull/5879 ](https://redirect.github.com/open-telemetry/opentelemetry-go/pull/5879 )
- chore(deps): update lycheeverse/lychee-action action to v2.0.2 by
[@​renovate](https://redirect.github.com/renovate ) in
[https://github.com/open-telemetry/opentelemetry-go/pull/5885 ](https://redirect.github.com/open-telemetry/opentelemetry-go/pull/5885 )
- fix(deps): update module github.com/prometheus/client_golang to
v1.20.5 by [@​renovate](https://redirect.github.com/renovate ) in
[https://github.com/open-telemetry/opentelemetry-go/pull/5886 ](https://redirect.github.com/open-telemetry/opentelemetry-go/pull/5886 )
- chore(deps): update googleapis to
[`796eee8`](https://redirect.github.com/open-telemetry/opentelemetry-go/commit/796eee8 )
by [@​renovate](https://redirect.github.com/renovate ) in
[https://github.com/open-telemetry/opentelemetry-go/pull/5888 ](https://redirect.github.com/open-telemetry/opentelemetry-go/pull/5888 )
- Remove company from emeritus by
[@​dmathieu](https://redirect.github.com/dmathieu ) in
[https://github.com/open-telemetry/opentelemetry-go/pull/5887 ](https://redirect.github.com/open-telemetry/opentelemetry-go/pull/5887 )
- Add selector of exemplar reservoir providers to metric.Stream
configuration by
[@​dashpole](https://redirect.github.com/dashpole ) in
[https://github.com/open-telemetry/opentelemetry-go/pull/5861 ](https://redirect.github.com/open-telemetry/opentelemetry-go/pull/5861 )
- otel: conceal unwrapping for global async instrument registration by
[@​jmacd](https://redirect.github.com/jmacd ) in
[https://github.com/open-telemetry/opentelemetry-go/pull/5881 ](https://redirect.github.com/open-telemetry/opentelemetry-go/pull/5881 )
- Generate `semconv/v1.27.0` by
[@​MrAlias](https://redirect.github.com/MrAlias ) in
[https://github.com/open-telemetry/opentelemetry-go/pull/5894 ](https://redirect.github.com/open-telemetry/opentelemetry-go/pull/5894 )
- otlpmetricgrpc: Keep metadata for gRPC in context by
[@​mrasu](https://redirect.github.com/mrasu ) in
[https://github.com/open-telemetry/opentelemetry-go/pull/5892 ](https://redirect.github.com/open-telemetry/opentelemetry-go/pull/5892 )
- Cleanup interaction of exemplar and aggregation by
[@​dashpole](https://redirect.github.com/dashpole ) in
[https://github.com/open-telemetry/opentelemetry-go/pull/5899 ](https://redirect.github.com/open-telemetry/opentelemetry-go/pull/5899 )
- chore(deps): update googleapis to
[`324edc3`](https://redirect.github.com/open-telemetry/opentelemetry-go/commit/324edc3 )
by [@​renovate](https://redirect.github.com/renovate ) in
[https://github.com/open-telemetry/opentelemetry-go/pull/5908 ](https://redirect.github.com/open-telemetry/opentelemetry-go/pull/5908 )
- \[chore] Use errors.Join to unify errors by
[@​MrAlias](https://redirect.github.com/MrAlias ) in
[https://github.com/open-telemetry/opentelemetry-go/pull/5907 ](https://redirect.github.com/open-telemetry/opentelemetry-go/pull/5907 )
- \[chore] Remove unnecessary type declaration in templated transforms
by [@​MrAlias](https://redirect.github.com/MrAlias ) in
[https://github.com/open-telemetry/opentelemetry-go/pull/5906 ](https://redirect.github.com/open-telemetry/opentelemetry-go/pull/5906 )
- Keep metadata for gRPC in context for log signal by
[@​RocooHash](https://redirect.github.com/RocooHash ) in
[https://github.com/open-telemetry/opentelemetry-go/pull/5911 ](https://redirect.github.com/open-telemetry/opentelemetry-go/pull/5911 )
- chore(deps): update benchmark-action/github-action-benchmark action to
v1.20.4 by [@​renovate](https://redirect.github.com/renovate ) in
[https://github.com/open-telemetry/opentelemetry-go/pull/5916 ](https://redirect.github.com/open-telemetry/opentelemetry-go/pull/5916 )
- Revert Cleanup interaction of exemplar and aggregation by
[@​XSAM](https://redirect.github.com/XSAM ) in
[https://github.com/open-telemetry/opentelemetry-go/pull/5913 ](https://redirect.github.com/open-telemetry/opentelemetry-go/pull/5913 )
- Allow additional context to be added when WithHeaders is used in OTLP
gRPC traces exporter by
[@​pree-dew](https://redirect.github.com/pree-dew ) in
[https://github.com/open-telemetry/opentelemetry-go/pull/5915 ](https://redirect.github.com/open-telemetry/opentelemetry-go/pull/5915 )
- Fix exemplars being added to gauge metrics in the prometheus exporter
by [@​trthomps](https://redirect.github.com/trthomps ) in
[https://github.com/open-telemetry/opentelemetry-go/pull/5912 ](https://redirect.github.com/open-telemetry/opentelemetry-go/pull/5912 )
- Switch arm builds out of actuated and into the CNCF runners by
[@​dmathieu](https://redirect.github.com/dmathieu ) in
[https://github.com/open-telemetry/opentelemetry-go/pull/5923 ](https://redirect.github.com/open-telemetry/opentelemetry-go/pull/5923 )
- fix(deps): update module github.com/prometheus/common to v0.60.1 by
[@​renovate](https://redirect.github.com/renovate ) in
[https://github.com/open-telemetry/opentelemetry-go/pull/5919 ](https://redirect.github.com/open-telemetry/opentelemetry-go/pull/5919 )
- Add Cheng-Zhen as a triager by
[@​dmathieu](https://redirect.github.com/dmathieu ) in
[https://github.com/open-telemetry/opentelemetry-go/pull/5922 ](https://redirect.github.com/open-telemetry/opentelemetry-go/pull/5922 )
- sdk/instrumentation: Add Attributes to Scope by
[@​pellared](https://redirect.github.com/pellared ) in
[https://github.com/open-telemetry/opentelemetry-go/pull/5903 ](https://redirect.github.com/open-telemetry/opentelemetry-go/pull/5903 )
- Make scope attributes as identifying for Tracer by
[@​pellared](https://redirect.github.com/pellared ) in
[https://github.com/open-telemetry/opentelemetry-go/pull/5924 ](https://redirect.github.com/open-telemetry/opentelemetry-go/pull/5924 )
- Make scope attributes as identifying for Meter by
[@​pellared](https://redirect.github.com/pellared ) in
[https://github.com/open-telemetry/opentelemetry-go/pull/5926 ](https://redirect.github.com/open-telemetry/opentelemetry-go/pull/5926 )
- Make scope attributes as identifying for Logger by
[@​pellared](https://redirect.github.com/pellared ) in
[https://github.com/open-telemetry/opentelemetry-go/pull/5925 ](https://redirect.github.com/open-telemetry/opentelemetry-go/pull/5925 )
- log/logtest: Add Attributes to ScopeRecords by
[@​pellared](https://redirect.github.com/pellared ) in
[https://github.com/open-telemetry/opentelemetry-go/pull/5927 ](https://redirect.github.com/open-telemetry/opentelemetry-go/pull/5927 )
- opentracing: Make schemaURL and scope attributes as identifying for
Tracer by [@​pellared](https://redirect.github.com/pellared ) in
[https://github.com/open-telemetry/opentelemetry-go/pull/5931 ](https://redirect.github.com/open-telemetry/opentelemetry-go/pull/5931 )
- otlptrace: Add instrumentation scope attributes by
[@​pellared](https://redirect.github.com/pellared ) in
[https://github.com/open-telemetry/opentelemetry-go/pull/5934 ](https://redirect.github.com/open-telemetry/opentelemetry-go/pull/5934 )
- otlpmetric: Add instrumentation scope attributes by
[@​pellared](https://redirect.github.com/pellared ) in
[https://github.com/open-telemetry/opentelemetry-go/pull/5935 ](https://redirect.github.com/open-telemetry/opentelemetry-go/pull/5935 )
- otlplog: Add instrumentation scope attributes by
[@​pellared](https://redirect.github.com/pellared ) in
[https://github.com/open-telemetry/opentelemetry-go/pull/5933 ](https://redirect.github.com/open-telemetry/opentelemetry-go/pull/5933 )
- Remove examples by
[@​pellared](https://redirect.github.com/pellared ) in
[https://github.com/open-telemetry/opentelemetry-go/pull/5930 ](https://redirect.github.com/open-telemetry/opentelemetry-go/pull/5930 )
- docs: updating outdated comments by
[@​codeboten](https://redirect.github.com/codeboten ) in
[https://github.com/open-telemetry/opentelemetry-go/pull/5940 ](https://redirect.github.com/open-telemetry/opentelemetry-go/pull/5940 )
- chore(deps): update module github.com/grpc-ecosystem/grpc-gateway/v2
to v2.23.0 by [@​renovate](https://redirect.github.com/renovate )
in
[https://github.com/open-telemetry/opentelemetry-go/pull/5939 ](https://redirect.github.com/open-telemetry/opentelemetry-go/pull/5939 )
- prometheus: Refactor getAttrs by
[@​pellared](https://redirect.github.com/pellared ) in
[https://github.com/open-telemetry/opentelemetry-go/pull/5937 ](https://redirect.github.com/open-telemetry/opentelemetry-go/pull/5937 )
- chore(deps): update googleapis to
[`dd2ea8e`](https://redirect.github.com/open-telemetry/opentelemetry-go/commit/dd2ea8e )
by [@​renovate](https://redirect.github.com/renovate ) in
[https://github.com/open-telemetry/opentelemetry-go/pull/5943 ](https://redirect.github.com/open-telemetry/opentelemetry-go/pull/5943 )
- log: Update package documentation by
[@​pellared](https://redirect.github.com/pellared ) in
[https://github.com/open-telemetry/opentelemetry-go/pull/5942 ](https://redirect.github.com/open-telemetry/opentelemetry-go/pull/5942 )
- prometheus: Add instrumentation scope attributes to otel_scope_info by
[@​pellared](https://redirect.github.com/pellared ) in
[https://github.com/open-telemetry/opentelemetry-go/pull/5932 ](https://redirect.github.com/open-telemetry/opentelemetry-go/pull/5932 )
- fix(deps): update github.com/opentracing-contrib/go-grpc digest to
[`d08aa2b`](https://redirect.github.com/open-telemetry/opentelemetry-go/commit/d08aa2b )
by [@​renovate](https://redirect.github.com/renovate ) in
[https://github.com/open-telemetry/opentelemetry-go/pull/5945 ](https://redirect.github.com/open-telemetry/opentelemetry-go/pull/5945 )
- Override insecure when endpoint URL is set by
[@​sevaorlov](https://redirect.github.com/sevaorlov ) in
[https://github.com/open-telemetry/opentelemetry-go/pull/5944 ](https://redirect.github.com/open-telemetry/opentelemetry-go/pull/5944 )
- fix(deps): update module go.opentelemetry.io/build-tools/gotmpl to
v0.15.0 by [@​renovate](https://redirect.github.com/renovate ) in
[https://github.com/open-telemetry/opentelemetry-go/pull/5949 ](https://redirect.github.com/open-telemetry/opentelemetry-go/pull/5949 )
- fix(deps): update module go.opentelemetry.io/build-tools/crosslink to
v0.15.0 by [@​renovate](https://redirect.github.com/renovate ) in
[https://github.com/open-telemetry/opentelemetry-go/pull/5948 ](https://redirect.github.com/open-telemetry/opentelemetry-go/pull/5948 )
- fix(deps): update module go.opentelemetry.io/build-tools/semconvgen to
v0.15.0 by [@​renovate](https://redirect.github.com/renovate ) in
[https://github.com/open-telemetry/opentelemetry-go/pull/5953 ](https://redirect.github.com/open-telemetry/opentelemetry-go/pull/5953 )
- fix(deps): update github.com/opentracing-contrib/go-grpc digest to
[`e3cbcab`](https://redirect.github.com/open-telemetry/opentelemetry-go/commit/e3cbcab )
by [@​renovate](https://redirect.github.com/renovate ) in
[https://github.com/open-telemetry/opentelemetry-go/pull/5952 ](https://redirect.github.com/open-telemetry/opentelemetry-go/pull/5952 )
- chore(deps): update lycheeverse/lychee-action action to v2.1.0 by
[@​renovate](https://redirect.github.com/renovate ) in
[https://github.com/open-telemetry/opentelemetry-go/pull/5950 ](https://redirect.github.com/open-telemetry/opentelemetry-go/pull/5950 )
- fix(deps): update module go.opentelemetry.io/build-tools/multimod to
v0.15.0 by [@​renovate](https://redirect.github.com/renovate ) in
[https://github.com/open-telemetry/opentelemetry-go/pull/5951 ](https://redirect.github.com/open-telemetry/opentelemetry-go/pull/5951 )
- Fix incorrect metrics getting generated from multiple readers by
[@​pree-dew](https://redirect.github.com/pree-dew ) in
[https://github.com/open-telemetry/opentelemetry-go/pull/5900 ](https://redirect.github.com/open-telemetry/opentelemetry-go/pull/5900 )
- Allow GC to collect unneeded slice elements by
[@​ash2k](https://redirect.github.com/ash2k ) in
[https://github.com/open-telemetry/opentelemetry-go/pull/5804 ](https://redirect.github.com/open-telemetry/opentelemetry-go/pull/5804 )
- chore(deps): update golang.org/x by
[@​renovate](https://redirect.github.com/renovate ) in
[https://github.com/open-telemetry/opentelemetry-go/pull/5957 ](https://redirect.github.com/open-telemetry/opentelemetry-go/pull/5957 )
- fix(deps): update module github.com/opentracing-contrib/go-grpc to
v0.1.0 by [@​renovate](https://redirect.github.com/renovate ) in
[https://github.com/open-telemetry/opentelemetry-go/pull/5958 ](https://redirect.github.com/open-telemetry/opentelemetry-go/pull/5958 )
- fix(deps): update github.com/opentracing-contrib/go-grpc/test digest
to
[`51a56c3`](https://redirect.github.com/open-telemetry/opentelemetry-go/commit/51a56c3 )
by [@​renovate](https://redirect.github.com/renovate ) in
[https://github.com/open-telemetry/opentelemetry-go/pull/5959 ](https://redirect.github.com/open-telemetry/opentelemetry-go/pull/5959 )
- Release v1.32.0/v0.54.0/v0.8.0/v0.0.11 by
[@​pellared](https://redirect.github.com/pellared ) in
[https://github.com/open-telemetry/opentelemetry-go/pull/5960 ](https://redirect.github.com/open-telemetry/opentelemetry-go/pull/5960 )
##### New Contributors
- [@​mrasu](https://redirect.github.com/mrasu ) made their first
contribution in
[https://github.com/open-telemetry/opentelemetry-go/pull/5892 ](https://redirect.github.com/open-telemetry/opentelemetry-go/pull/5892 )
- [@​RocooHash](https://redirect.github.com/RocooHash ) made their
first contribution in
[https://github.com/open-telemetry/opentelemetry-go/pull/5911 ](https://redirect.github.com/open-telemetry/opentelemetry-go/pull/5911 )
- [@​trthomps](https://redirect.github.com/trthomps ) made their
first contribution in
[https://github.com/open-telemetry/opentelemetry-go/pull/5912 ](https://redirect.github.com/open-telemetry/opentelemetry-go/pull/5912 )
- [@​sevaorlov](https://redirect.github.com/sevaorlov ) made their
first contribution in
[https://github.com/open-telemetry/opentelemetry-go/pull/5944 ](https://redirect.github.com/open-telemetry/opentelemetry-go/pull/5944 )
**Full Changelog**:
https://github.com/open-telemetry/opentelemetry-go/compare/v1.31.0...v1.32.0
</details>
---
### Configuration
📅 **Schedule**: Branch creation - "on tuesday" (UTC), Automerge - At any
time (no schedule defined).
🚦 **Automerge**: Disabled by config. Please merge this manually once you
are satisfied.
♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.
👻 **Immortal**: This PR will be recreated if closed unmerged. Get
[config
help](https://redirect.github.com/renovatebot/renovate/discussions ) if
that's undesired.
---
- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box
---
This PR was generated by [Mend Renovate](https://mend.io/renovate/ ).
View the [repository job
log](https://developer.mend.io/github/open-telemetry/opentelemetry-collector ).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzOS45LjUiLCJ1cGRhdGVkSW5WZXIiOiIzOS45LjUiLCJ0YXJnZXRCcmFuY2giOiJtYWluIiwibGFiZWxzIjpbImRlcGVuZGVuY2llcyIsInJlbm92YXRlYm90Il19-->
---------
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: opentelemetrybot <107717825+opentelemetrybot@users.noreply.github.com>
2024-11-12 09:28:47 -08:00
Jade Guiton
f0fb20df0e
Make `componenttest` into its own module ( #11615 )
...
#### Description
Turn the `go.opentelemetry.io/collector/component/componenttest` package
into its own module
#### Link to tracking issue
Resolves #11464
2024-11-07 17:31:30 +01:00
OpenTelemetry Bot
3da496be53
[chore] Prepare release v1.19.0/v0.113.0 ( #11609 )
...
The following commands were run to prepare this release:
- make chlog-update VERSION=v1.19.0/v0.113.0
- make prepare-release PREVIOUS_VERSION=1[.]18[.]0
RELEASE_CANDIDATE=1.19.0 MODSET=stable
- make prepare-release PREVIOUS_VERSION=0[.]112[.]0
RELEASE_CANDIDATE=0.113.0 MODSET=beta
2024-11-05 11:52:29 -08:00
xu0o0
002a748604
[processorhelper] add processorhelperprofiles package ( #11556 )
...
#### Description
Add `processorhelperprofiles` to support profiles signal.
cc @mx-psi @dmathieu
---------
Co-authored-by: Florian Bacher <florian.bacher@dynatrace.com>
Co-authored-by: Damien Mathieu <42@dmathieu.com>
2024-10-29 12:29:35 +01:00
Bogdan Drutu
2748e5358d
[chore] Use NopTelemetrySettings instead of mock providers ( #11539 )
...
Signed-off-by: Bogdan Drutu <bogdandrutu@gmail.com>
2024-10-25 14:57:43 -07:00
Bogdan Drutu
2076448c28
Add newTelemetrySettings to be generated all the time even for pkg class ( #11535 )
...
Signed-off-by: Bogdan Drutu <bogdandrutu@gmail.com>
Co-authored-by: Alex Boten <223565+codeboten@users.noreply.github.com>
2024-10-25 11:33:28 -07:00
Bogdan Drutu
6169e51ba8
Remove deprecated funcs from processorhelper ( #11404 )
...
Signed-off-by: Bogdan Drutu <bogdandrutu@gmail.com>
Co-authored-by: Alex Boten <223565+codeboten@users.noreply.github.com>
2024-10-09 09:40:02 -07:00
Bogdan Drutu
cceb6c14e0
Remove extra allocation when record metrics ( #11365 )
...
Signed-off-by: Bogdan Drutu <bogdandrutu@gmail.com>
2024-10-08 19:37:35 -07:00
Bogdan Drutu
8e000eae83
Remove deprecated funcs from processor package ( #11368 )
...
Signed-off-by: Bogdan Drutu <bogdandrutu@gmail.com>
2024-10-07 09:36:18 -07:00
Bogdan Drutu
ef0c5be2b0
[chore] Remove distribution definition from non-component modules ( #11374 )
...
Signed-off-by: Bogdan Drutu <bogdandrutu@gmail.com>
2024-10-06 20:04:06 -07:00
Daniel Jaglowski
c3f09f4e9a
[processorhelper] Fix bug where record in/out metrics were skipped ( #11360 )
...
Resolves #11351
2024-10-04 14:35:22 -07:00
Bogdan Drutu
6a8c88d68f
[chore] Improve otel metrics performance, pre-calculate attribute Set ( #11288 )
...
Depends on
https://github.com/open-telemetry/opentelemetry-collector/pull/11293
Signed-off-by: Bogdan Drutu <bogdandrutu@gmail.com>
2024-10-04 11:04:25 -07:00
Bogdan Drutu
d6cd5935ee
Fix data race condition, concurrent writes to the err variable, causes Undefined Behavior ( #11349 )
...
The main issue is that after
https://github.com/open-telemetry/opentelemetry-collector/pull/10910 the
err variable is shared between requests because it uses the same address
as the err defined outside the func.
This is an UB because we are overwriting memory and will cause crashes
like
https://github.com/open-telemetry/opentelemetry-collector/pull/11335 ,
where the check for not nil happens then gets overwrite with nil and
crashes.
Fixes
https://github.com/open-telemetry/opentelemetry-collector/issues/11350
---------
Signed-off-by: Bogdan Drutu <bogdandrutu@gmail.com>
2024-10-03 23:32:57 -07:00
VihasMakwana
d8106f55dd
[chore]: deprecate and remove BuildProcessorMetricName ( #11328 )
...
This helper is no longer needed since introduction of `mdatagen`.
Relates
https://github.com/open-telemetry/opentelemetry-collector/issues/11302
---------
Co-authored-by: Bogdan Drutu <bogdandrutu@gmail.com>
2024-10-01 13:24:59 -07:00
Bogdan Drutu
98230db9d3
Deprecate funcs that repeate processor in name ( #11310 )
...
Similar with
https://github.com/open-telemetry/opentelemetry-collector/pull/11287
Signed-off-by: Bogdan Drutu <bogdandrutu@gmail.com>
2024-09-30 15:31:44 -07:00
Bogdan Drutu
fabc575252
Deprecate unused and empty struct processorhelper.ObsReport ( #11293 )
...
Signed-off-by: Bogdan Drutu <bogdandrutu@gmail.com>
2024-09-28 08:06:31 -07:00
Bogdan Drutu
d1286186b7
Remove deprecated funcs form processorhelper.ObsReport ( #11289 )
...
Signed-off-by: Bogdan Drutu <bogdandrutu@gmail.com>
2024-09-27 16:13:45 -07:00
Tyler Helmuth
77bb849aa0
[component] Refactor to use pipeline.ID and pipeline.Signal ( #11204 )
...
#### Description
Depends on
https://github.com/open-telemetry/opentelemetry-collector/pull/11209
This PR is a non-breaking implementation of
https://github.com/open-telemetry/opentelemetry-collector/pull/10947 . It
adds a new module, `pipeline`, which houses a `pipeline.ID` and
`pipeline.Signal`. `pipeline.ID` is used to identify a pipeline within
the service. `pipeline.Signal` is uses to identify the signal associated
to a pipeline.
I do this work begrudgingly. As the PR shows, this is a huge refactor
when done in a non-breaking way, will require 3 full releases, and
doesn't benefit our [End Users or, in my opinion, our Component
Developers or Collector Library
Users](https://github.com/open-telemetry/opentelemetry-collector/blob/main/CONTRIBUTING.md#target-audiences ).
I view this refactor as a Nice-To-Have, not a requirement for Component
1.0.
<!-- Issue number if applicable -->
#### Link to tracking issue
Works towards
https://github.com/open-telemetry/opentelemetry-collector/issues/9429
2024-09-23 07:38:59 -07:00
Matthieu MOREL
37f783308e
[chore]: enable require-error rule from testifylint ( #11199 )
...
#### Description
Testifylint is a linter that provides best practices with the use of
testify.
This PR enables
[require-error](https://github.com/Antonboom/testifylint?tab=readme-ov-file#require-error )
rule from [testifylint](https://github.com/Antonboom/testifylint )
Signed-off-by: Matthieu MOREL <matthieu.morel35@gmail.com>
2024-09-18 15:02:22 -07:00
Alex Boten
a3c0565031
[processorhelper] deprecated accepted/refused/dropped metrics ( #11201 )
...
These were only used by the memory limiter processor and were never
automatically calculated by the processorhelper. It's better to move
them to processor specific metrics that can be managed within the
component itself.
---------
Signed-off-by: Alex Boten <223565+codeboten@users.noreply.github.com>
2024-09-18 12:33:45 -07:00
Bogdan Drutu
8027d80aef
Avoid public APIs with internal params in custom Options ( #11054 )
...
Signed-off-by: Bogdan Drutu <bogdandrutu@gmail.com>
2024-09-17 13:08:41 -07:00
Alex Boten
d5215c559a
[mdatagen] add stability detail for metrics ( #11160 )
...
This allows component authors to specify the stability level of
telemetry emitted by components. This provides visibility to end users
as to what they can expect from the telemetry.
---------
Signed-off-by: Alex Boten <223565+codeboten@users.noreply.github.com>
2024-09-17 11:44:43 -07:00
Alex Boten
3b50b38d39
[processorhelper] report signal as attribute on incoming/outgoing items ( #11144 )
...
This updating the existing metric points that were recently added to use
signal as an attribute instead of separating the metric name. It follows
the suggestions in [otep
259](https://github.com/open-telemetry/oteps/pull/259 ) for the metric
and attribute names.
Putting this in draft to get some feedback from @djaglowski before
moving forward with this change
---------
Signed-off-by: Alex Boten <223565+codeboten@users.noreply.github.com>
2024-09-13 13:07:15 -07:00
Bogdan Drutu
8a070097ec
[mdatagen] Avoid public APIs with internal params ( #11040 )
...
Signed-off-by: Bogdan Drutu <bogdandrutu@gmail.com>
2024-09-13 09:37:43 -07:00
Alex Boten
3bcb341c7d
[processorhelper] remove deprecated funcs ( #11151 )
...
Signed-off-by: Alex Boten <223565+codeboten@users.noreply.github.com>
2024-09-12 11:34:42 -07:00
Bogdan Drutu
1245955ccf
Remove obsreportconfig package, reduce dependencies ( #11148 )
...
Small issue that the `SpanNameSep` is duplicated, but is a very small
duplicate.
Signed-off-by: Bogdan Drutu <bogdandrutu@gmail.com>
2024-09-11 14:07:13 -07:00
Matthieu MOREL
2720f59f97
[chore]: enable error-nil and nil-compare rules from testifylint ( #11120 )
...
#### Description
Testifylint is a linter that provides best practices with the use of
testify.
This PR enables
[error-nil](https://github.com/Antonboom/testifylint?tab=readme-ov-file#error-nil )
and
[nil-compare](https://github.com/Antonboom/testifylint?tab=readme-ov-file#nil-compare )
rules from [testifylint](https://github.com/Antonboom/testifylint )
Signed-off-by: Matthieu MOREL <matthieu.morel35@gmail.com>
2024-09-10 14:34:29 -07:00
Alex Boten
340e7752e4
[chore] cleaning up test to use mdatagen test harness ( #11098 )
...
Follow up for
https://github.com/open-telemetry/opentelemetry-collector/pull/10910#discussion_r1750462464 ,
ping @djaglowski as the author of the PR
Signed-off-by: Alex Boten <223565+codeboten@users.noreply.github.com>
2024-09-10 09:49:35 -07:00
Alex Boten
3f9bc53f9f
[processorhelper] deprecating unused methods ( #11083 )
...
`[Logs|Traces|Metrics]Inserted` was not used in the core/contrib repos,
marking them as deprecated.
---------
Signed-off-by: Alex Boten <223565+codeboten@users.noreply.github.com>
2024-09-09 10:09:25 -07:00
Daniel Jaglowski
fa3471825e
Add ingoing and outgoing counts to processorhelper ( #10910 )
...
#### Description
Implements ingoing and outgoing counts as described in
https://github.com/open-telemetry/opentelemetry-collector/issues/10708 .
2024-09-09 08:19:22 -07:00
Alex Boten
7da6b618a7
[service] deprecate TelemetrySettings.MeterProvider ( #10912 )
...
This is replaced by a LeveledMeterProvider method on the struct instead.
This
reduces the complexity from the view of component authors, in that
there's no need
to check the level before invoking the meter to record a metric.
Closes
https://github.com/open-telemetry/opentelemetry-collector/issues/9510
---------
Signed-off-by: Alex Boten <223565+codeboten@users.noreply.github.com>
Co-authored-by: Tyler Helmuth <12352919+TylerHelmuth@users.noreply.github.com>
2024-08-29 12:05:54 -07:00
Alex Boten
2d6cb025d0
[mdatagen] mark Meter as deprecated ( #10939 )
...
This is split from
https://github.com/open-telemetry/opentelemetry-collector/pull/10912
---------
Signed-off-by: Alex Boten <223565+codeboten@users.noreply.github.com>
2024-08-21 09:59:16 -07:00
Alex Boten
070e85522e
[mdatagen] add LeveledMeter method ( #10933 )
...
This will use the LeveledMeterProvider in TelemetrySettings.
Split from
https://github.com/open-telemetry/opentelemetry-collector/pull/10912 ,
follows #10931
---------
Signed-off-by: Alex Boten <223565+codeboten@users.noreply.github.com>
2024-08-21 08:05:13 -07:00
Alex Boten
3c1cf33f8c
[component] add LeveledMeterProvider ( #10931 )
...
This func will MeterProvider and MetricsLevel in the near future. Split
from
https://github.com/open-telemetry/opentelemetry-collector/pull/10912
---------
Signed-off-by: Alex Boten <223565+codeboten@users.noreply.github.com>
2024-08-20 13:57:12 -07:00
Dmitrii Anoshin
06271a6c50
Fix processor metrics not being reported initially with 0 values ( #10857 )
...
This change reverts
https://github.com/open-telemetry/opentelemetry-collector/pull/10693 ,
which had an unintentional behavior change that made the processor
helper report metrics only if they got values other than `0`.
Fixes
https://github.com/open-telemetry/opentelemetry-collector/issues/10855
2024-08-12 13:45:03 -07:00
Alex Boten
ef07ea0735
[mdatagen] move ScopeName to generated_status ( #10848 )
...
This will make it available to most components, as the
generated_telemetry is only generated for components that have internal
telemetry configured. Arguably the scope name should be moved to its own
file, but i'd rather not add yet another file if possible.
Signed-off-by: Alex Boten <223565+codeboten@users.noreply.github.com>
2024-08-09 12:10:11 -07:00
Alex Boten
7638bb2981
[mdatagen] export ScopeName in internal/metadata package ( #10845 )
...
This can be used by components that need to set their scope name
manually. Will save component owners from having to store a variable,
which may diverge from the scope name used by the component for emitting
its own telemetry. There are about a dozen components in contrib that
could use this today.
Alternatively, I could just update the scope name strings in the
components manually.
---------
Signed-off-by: Alex Boten <223565+codeboten@users.noreply.github.com>
2024-08-09 08:12:05 -07:00
Daniel Jaglowski
49339e80cc
[chore] Reduce complexity in processorhelper obsreport ( #10693 )
...
This PR removes the `recordData` method, which I believe is an unhelpful
abstraction for reporting internal processor metrics.
The drawbacks of the function are minor, but briefly:
1. Recording any metric requires passing in zeros for _all other
metrics_. This is cumbersome to extend because any new metric requires
updating the call to `recordData` for all metrics. It's also fragile
because if we have more than a few metrics it is easy to position the
intended metric incorrectly.
2. Every metric describes one data type, which is passed into
`recordData` but then just used as a switch to get back to code that is
specific to that data type.
3. Every call to `recordData` instantiates N variables, where N is the
number of metrics for each data type.
All of this seems unnecessary as we can just report each metric in one
unambiguous line of code.
2024-07-22 12:54:30 -07:00