Skip to content

Log the name of the component that failed to start #10426

Open
@yurishkuro

Description

@yurishkuro

Describe the bug
I have a component (processor) that fails to start due to misconfiguration of the pipeline.

Steps to reproduce
A processor whose Start method returns an error.

What did you expect to see?
An error logged indicating which component failed.

What did you see instead?

Error: cannot start pipelines: <<my error message here>>
2024/06/17 22:11:03 cannot start pipelines: <<my error message here>>

What version did you use?
v0.102.1

Additional context
I am forced to enrich the error myself with the name of the component. I think instead that should be coming directly from the framework that initializes the pipeline.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workinghelp wantedGood issue for contributors to OpenTelemetry Service to pick up

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions