Skip to content

Add linter to not allow calling Span.RecordError #8393

@pellared

Description

@pellared

It would be nice to have a linter which not allows calling RecordError on Span.

Note that we may deprecate this function in future and then this linter would no longer be needed (the existing linter that finds usages of deprecated API would work). Reference: open-telemetry/opentelemetry-specification#4825

Originally posted by @pellared in #8386 (comment)

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions