-
Notifications
You must be signed in to change notification settings - Fork 929
Open
Description
Is your feature request related to a problem? Please describe.
The recordException
API only accepts the exception
and time
arguments.
Describe the solution you'd like
The specification appears to require that this API also allows a user to pass additional attributes. The relevant excerpt:
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.
The potential API update would be:
recordException(exception: Exception, attributes: Attributes, time?: TimeInput): void;
recordException(exception: Exception, time?: TimeInput): void;
smoke, JakeGinnivan, lbarratt and alexbuntoweovum