opentelemetry-js icon indicating copy to clipboard operation
opentelemetry-js copied to clipboard

[plugin-http] should we handle timeout event ?

Open OlivierAlbertini opened this issue 5 years ago • 0 comments

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

OlivierAlbertini avatar Sep 28 '19 19:09 OlivierAlbertini