Skip to content

feat: add OTel tracing spans for HTTP, DB, RPC, webhook, and WS broad…#205

Merged
Jagadeeshftw merged 2 commits into
Fluxora-Org:mainfrom
Keengfk:feature/otel-tracing
Apr 25, 2026
Merged

feat: add OTel tracing spans for HTTP, DB, RPC, webhook, and WS broad…#205
Jagadeeshftw merged 2 commits into
Fluxora-Org:mainfrom
Keengfk:feature/otel-tracing

Conversation

@Keengfk
Copy link
Copy Markdown
Contributor

@Keengfk Keengfk commented Apr 24, 2026

i Add traceSpan() helper in hooks.ts for wrapping async ops

  • Propagate correlationId through async boundaries via AsyncLocalStorage
  • Wrap db.query, stellar.rpc, webhook.dispatch with child spans
  • Record ws.broadcast span event in StreamHub
  • Update docs/TRACING.md with span reference and propagation guide
  • Add tests/tracing/spans.test.ts (18 tests)

closes #121

Keengfk added 2 commits April 24, 2026 16:45
…cast

- Add traceSpan<T>() helper in hooks.ts for wrapping async ops
- Propagate correlationId through async boundaries via AsyncLocalStorage
- Wrap db.query, stellar.rpc, webhook.dispatch with child spans
- Record ws.broadcast span event in StreamHub
- Update docs/TRACING.md with span reference and propagation guide
- Add tests/tracing/spans.test.ts (18 tests)
@drips-wave
Copy link
Copy Markdown

drips-wave Bot commented Apr 24, 2026

@Keengfk 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

@Jagadeeshftw Jagadeeshftw merged commit 0788534 into Fluxora-Org:main Apr 25, 2026
1 check failed
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.

Add OpenTelemetry tracing spans across routes, DB calls, Stellar RPC, and webhooks

2 participants