Skip to content

Span.recordError should take optional SpanAttributes #45

Closed
@slashmo

Description

@slashmo

The OTel specification states that Span’s recordException (in our case recordError) should take an additional argument to optionally specify SpanAttributes. These additional attributes (in case of OTel) are then merged into the resulting event’s attributes.

If RecordException is provided, the method MUST accept an optional parameter to provide any additional event attributes (this SHOULD be done in the same way as for the AddEvent method). If attributes with the same name would be generated by the method already, the additional attributes take precedence.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions