Skip to content

Propagate correlation IDs and include them in logs #142

@robertocarlous

Description

@robertocarlous

Body:

Tracing requests across async jobs and external calls is currently difficult. Add middleware that accepts or generates a X-Request-Id header, stores it in request context, and includes it in all logs and downstream requests to Twilio/Stellar.

Acceptance Criteria:

  • Middleware adds or propagates X-Request-Id on all incoming HTTP requests.
  • The value appears in all logs produced while handling the request.
  • Downstream HTTP client wrappers forward the header to external services.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type
    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