Commit Graph

56 Commits

Author SHA1 Message Date
Daniel Jaglowski e1d0f26559
Fix connector validation based on usage in pipelines (#8004)
Alternate to
https://github.com/open-telemetry/opentelemetry-collector/pull/8003

Fixes
#https://github.com/open-telemetry/opentelemetry-collector/issues/7892

Validation of connectors was too aggressive such that a connector that
was used in any combination of unsupported roles would fail. Instead,
validation should pass as long as each use of the connector has a
supported corresponding use.

For example, the forward connector may forward traces and metrics at the
same time. Previously, validation would fail because it detected that
traces->metrics and metrics->traces were possible connections. Now it
will pass as long as there is a supported connection type for each
pipeline in which the connector is used.
2023-07-10 10:31:08 -07:00
Alex Boten 5abb16723f
[chore] clean up comments (#7956)
found some double commented out statements

Signed-off-by: Alex Boten <aboten@lightstep.com>
2023-06-23 08:45:23 -07:00
Bogdan Drutu 9c7193555b
Add pipelines.Config to remove duplicate of the pipelines configuration (#7854)
Signed-off-by: Bogdan Drutu <bogdandrutu@gmail.com>
2023-06-09 12:29:22 -07:00
Daniel Jaglowski 6ababc9c71
Incorporate next consumer's capabilities into connector capabilities (#7779)
Resolves #7776

The collector copies data whenever handing it to components that may mutate it. The point at which a copy must be made is within a fanout consumer. There are two points at which a fanout consumer may be placed:
1. Immediately after a receiver shared by multiple pipelines
2. Immediately before multiple exporters of a single pipeline

When data is fanned out _to_ a connector (acting as an exporter), we must ensure that the fanout consumer before exporters (point 2 above) is able to take into account whether or not the connector will be handing the data off to a pipeline that will mutate the data.
2023-06-05 08:03:01 -07:00
Alex Boten 80d704deb4
[chore] use license shortform (#7694)
* [chore] use license shortform

To remain consistent w/ contrib repo, see https://github.com/open-telemetry/opentelemetry-collector-contrib/pull/22052

Signed-off-by: Alex Boten <aboten@lightstep.com>

* make goporto

Signed-off-by: Alex Boten <aboten@lightstep.com>

---------

Signed-off-by: Alex Boten <aboten@lightstep.com>
2023-05-18 13:11:17 -07:00
Daniel Jaglowski 3b238936e6
Move service graph and nodes into internal package (#7365) 2023-03-21 07:48:11 -07:00