Skip to content

Consider removing cmd/otecontribcol and cmd/otetestbedcol modules #27826

Open
@dmitryax

Description

@dmitryax

Go code in the cmd/otecontribcol and cmd/otetestbedcol modules is auto-generated using the collector builder. cmd/otecontribcol also has additional lifecycle tests for all the components that do not necessarily belong to that module.

The go modules depend on all the other modules in the contrib repo. This makes the linter take up to 20 minutes just to build AST. The linter job often times out.

Do we really need to keep the generated code? Instead, we can generate the code whenever we need to build the otecontribcol or otetestbedcol artifacts. The lifecycle tests can be moved to each component by autogenerating them with the mdatagen tool.

Action items (assuming the suggestion is accepted):

Metadata

Metadata

Labels

cmd/otelcontribcolotelcontribcol commandcmd/oteltestbedcolhelp wantedExtra attention is needednever staleIssues marked with this label will be never staled and automatically removed

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions