You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When defining a pipeline, a component ID on the receivers or exporters section can be ambiguous if there is both a receiver/exporter and a connector with said ID.
For example, if we were to add a datadog connector, with the following configuration:
We should improve the error message given in this case to something closer to the following:
Error: invalid configuration: ambiguous ID 'datadog': Found both 'datadog' exporter and 'datadog' connector.
Add a suffix to one of the components' IDs to eliminate ambiguity (e.g. rename 'datadog' connector to 'datadog/connector')
When defining a pipeline, a component ID on the
receivers
orexporters
section can be ambiguous if there is both a receiver/exporter and a connector with said ID.For example, if we were to add a
datadog
connector, with the following configuration:Sample ambiguous configuration (click to expand)
will error out with
A valid way to work around this is to use different IDs for the receiver/exporter and the connector:
Sample unambiguous configuration (click to expand)
We should improve the error message given in this case to something closer to the following:
The necessary information is available here.
Originally discussed in open-telemetry/opentelemetry-collector-contrib#19740 (comment)
The text was updated successfully, but these errors were encountered: