Matthieu MOREL
e053173aed
[chore]: enable perfsprint linter ( #11599 )
...
#### Description
[perfsprint](https://golangci-lint.run/usage/linters/#perfsprint ) checks
that fmt.Sprintf can be replaced with a faster alternative.
Signed-off-by: Matthieu MOREL <matthieu.morel35@gmail.com>
2024-11-05 14:37:07 -08: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
Damien Mathieu
d0fde2f6b9
Introduce connectorprofiles.NewProfilesRouter ( #11023 )
...
<!--Ex. Fixing a bug - Describe the bug and how this fixes the issue.
Ex. Adding a feature - Explain what this achieves.-->
#### Description
I missed the connector router when setting up connectorprofiles.
cc @mx-psi
2024-09-03 11:08:47 +02:00
Bogdan Drutu
8efff4878d
[chore] remove duplicate code from the connector ( #10082 )
...
Signed-off-by: Bogdan Drutu <bogdandrutu@gmail.com>
Co-authored-by: Alex Boten <223565+codeboten@users.noreply.github.com>
2024-05-06 08:56:34 -07:00
Antoine Toulme
4f6b7dfbc0
[connector] Remove deprecated interfaces LogsRouter, MetricsRouter and TracesRouter ( #9780 )
...
**Description:**
Remove deprecated interfaces LogsRouter, MetricsRouter and TracesRouter.
**Link to tracking Issue:**
Follow up to #9095
2024-03-19 18:52:12 -07:00
Bogdan Drutu
edf7aca852
Remove circular dependency between default otel and connector ( #9095 )
...
Signed-off-by: Bogdan Drutu <bogdandrutu@gmail.com>
2023-12-13 23:50:35 -08:00