Skip to content

mdatagen: generates code that's missing a dependency #10969

Closed
@codeboten

Description

@codeboten

The groupsbyattr and filter processors are missing the "go.opentelemetry.io/otel/metric" import in the code that mdatagen generates for them. This causes an issue as go fmt will then try to pull in the dependency and it pulls in "go.opentelemetry.io/otel/sdk/metric" dependency instead of "go.opentelemetry.io/otel/metric"

Metadata

Metadata

Assignees

Labels

bugSomething isn't workingcmd/mdatagenrelease:blockerThe issue must be resolved before cutting the next release

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions