Skip to content

Add observable request correlation across HTTP, queue, DB, and WebSocket layers #563

Description

@grantfox-oss

Establish a single trace/correlation model so operators can follow one request or background action across the NestJS app, queue, and realtime services.

  • Affected files: app/backend/src/app.module.ts, app/backend/src/main.ts, app/backend/src/common/middleware/correlation-id.middleware.ts, app/backend/src/metrics/metrics.middleware.ts, app/backend/src/metrics/metrics.interceptor.ts, app/backend/src/metrics/metrics.service.ts, app/backend/src/chat/chat.module.ts, app/backend/src/job-queue/job-queue.module.ts, app/backend/README.md
  • Acceptance criteria:
    • HTTP and background jobs emit a consistent correlation identifier and structured timing metadata.
    • Metrics and logs can be correlated across multiple services without ad hoc parsing.
    • Operational docs explain how to trace a single request from inbound HTTP to downstream processing.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

GrantFox OSSIssue tracked in GrantFox OSSMaybe RewardedIssue may be eligible for a GrantFox rewardThird CampaignCampaign: Third CampaigndocumentationImprovements or additions to documentationenhancementNew feature or request

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions