Commit Graph

5 Commits

Author SHA1 Message Date
Bogdan Drutu 30f27074b1
Remove deprecated MustNewID[WithName] from pipeline (#13139)
Signed-off-by: Bogdan Drutu <bogdandrutu@gmail.com>
Co-authored-by: Alex Boten <223565+codeboten@users.noreply.github.com>
2025-06-04 15:56:47 +00:00
Bogdan Drutu 249e5d55ad
[pipeline] Dreprecate MustNewID and MustNewIDWithName (#12835)
Updates
https://github.com/open-telemetry/opentelemetry-collector/issues/12831

Signed-off-by: Bogdan Drutu <bogdandrutu@gmail.com>
2025-05-26 14:11:50 +00:00
Philip Dubé 30b8d53d19
Prefer strings.Cut to strings.SplitN(..., 2) (#11758)
Co-authored-by: Pablo Baeyens <pbaeyens31+github@gmail.com>
Co-authored-by: Pablo Baeyens <pablo.baeyens@datadoghq.com>
2025-01-27 11:59:02 +00:00
Bogdan Drutu e1a03ebec2
[chore] Remove internal/globalsignal, embed into pipeline (#11422)
Depends on
https://github.com/open-telemetry/opentelemetry-collector/pull/11421

Signed-off-by: Bogdan Drutu <bogdandrutu@gmail.com>
2024-10-14 06:18:25 -04:00
Tyler Helmuth 0c7d3475dd
[chore] Add pipeline module (#11209)
#### Description
To facilitate the work in
https://github.com/open-telemetry/opentelemetry-collector/pull/11204 as
some breaking changes and some deprecations, this PR adds the new
pipeline module separately so that future PRs can handle the breaking
changes and deprecations.

In order to make `Signal` uninstantiable outside of this repo, while
still being extendable in places like `componentprofiles`, a new
internal module is added to handle the `Signal` logic. To reduce the
dependency sprawl that would happen if `signal` was an internal package
in `go.opentelemetry.io/collector`, I made it a module, similar to
`globalgates`.

<!-- Issue number if applicable -->
#### Link to tracking issue
Related to
https://github.com/open-telemetry/opentelemetry-collector/pull/10947

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

<!--Describe the documentation added.-->
#### Documentation
Added godoc comments
2024-09-20 11:21:54 +02:00