ot-requestid

0.0.9 • Public • Published

ot-requestid-nodejs

A RequestId is a token passed throughout the OpenTable environment to help identify the path that a request takes through various services. The RequestId is a UUID assigned at first entry into the system (generally through the frontdoor) and is passed onto every outgoing request.

This library provides a simple interface for manipulating that token.

You may retrieve the active RequestId via requestid.requestId(). You can explicitly set the RequestId with requestid.enter(newId, next). requestid.middleware is Express middleware that sets the id based on semi-standard HTTP headers.

Readme

Keywords

none

Package Sidebar

Install

npm i ot-requestid

Weekly Downloads

2

Version

0.0.9

License

MIT

Last publish

Collaborators

  • acolchado
  • arnoldzokas
  • matteofigus
  • ryantomlinson
  • andyroyle