Skip to content

Implement 'Advanced Logging' with Trace IDs #423

@gabito1451

Description

@gabito1451

Context

Troubleshooting complex bugs across microservices.

Problem

Standard logs are difficult to correlate between a GraphQL request and the subsequent indexer update.

Suggested Execution

  • Implement 'cls-hooked' or 'AsyncLocalStorage' to track RequestID across all service calls.
  • Include ID in every 'Winston' log entry.

Acceptance Criteria

  • Clear traceability of errors.
  • Reduced time-to-fix for platform issues.

References

  • backend/src/utils/logger.ts

Metadata

Metadata

Assignees

No one assigned

    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