opentelemetry-js
opentelemetry-js copied to clipboard
[plugin-http] should we handle timeout event ?
Is your feature request related to a problem? Please describe. For now, we don't handle timeout event. From NodeJS doc:
Setting the timeout option or using the setTimeout() function will not abort the request or do anything besides add a 'timeout' event.
If we listen to timeout
event we could add span.addEvent
in order to notifying people that event has occurred.
Describe alternatives you've considered
- Don't handle timeout event