Skip to content

Sending the Request ID to Caller #368

Description

@husainaloos

Chi provides a middle-ware for creating the request id and inserting it into the request context. This is helpful for tracing the life of the request inside the application. But it would also be helpful to return that request id to the caller so that they can trace the life cycle of the request from their side.

Does chi provides any method like that? Is it a good idea to begin with since the request ID seems to be generated based on the hostname.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions