Skip to main content

MAX_REQUEST_ID_LEN

Constant MAX_REQUEST_ID_LEN 

Source
pub const MAX_REQUEST_ID_LEN: usize = 128;
Expand description

The longest x-request-id taken from a client. Long enough for any identifier scheme in use – a UUID is 36, a ULID 26, a Heroku or Envoy id well under this – and short enough that the header cannot be used to make every log line carry a payload.