# Functions
No description provided by the author
No description provided by the author
LogRequest is a middleware that logs the request and extracts the span Id and trace Id from the context it give us the ability to trace and correlate the request in the logs as well as the starting point of the root span, which is use to trace the request through the system the span id and trace id are logged as dd.span_id and dd.trace_id for datadog to pick them up.
No description provided by the author
RequestID generates a unique request ID.
Tracer is a middleware that traces the request and adds the span to the context for any other middleware to use it, or to extract the span later on.