Skip to content

feat: add request tracing instrumentation#151

Open
Chucks1093 wants to merge 1 commit intoTalenttrust:mainfrom
Chucks1093:feature/backend-25-request-tracing-instrumentation
Open

feat: add request tracing instrumentation#151
Chucks1093 wants to merge 1 commit intoTalenttrust:mainfrom
Chucks1093:feature/backend-25-request-tracing-instrumentation

Conversation

@Chucks1093
Copy link
Copy Markdown

Closes #75

Summary

  • add a lightweight tracing subsystem built on AsyncLocalStorage
  • add request middleware that creates API spans and returns x-trace-id / x-request-id headers
  • add instrumented contract repository and Stellar RPC modules so DB and RPC work emit spans too
  • refactor app bootstrap into testable modules and keep the existing endpoints working
  • document the tracing flow in README and docs/backend/request-tracing.md

Verification

  • npm ci
  • npm run build
  • npm test -- --runInBand

Notes

  • the repo's lint script currently points to eslint, but eslint is not installed in package.json, so CI-relevant validation remains build plus test

@drips-wave
Copy link
Copy Markdown

drips-wave bot commented Mar 30, 2026

@Chucks1093 Great news! 🎉 Based on an automated assessment of this PR, the linked Wave issue(s) no longer count against your application limits.

You can now already apply to more issues while waiting for a review of this PR. Keep up the great work! 🚀

Learn more about application limits

@mikewheeleer
Copy link
Copy Markdown
Contributor

Please resolve the conflicts

@Chucks1093
Copy link
Copy Markdown
Author

Okay on it

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Mike] 25. Request tracing instrumentation

2 participants