Skip to content

Surface hydromancer REST fallback and WS reconnects in traces - #141

Merged
hacheigriega merged 1 commit into
sedaprotocol:mainfrom
jaspersagent:feat/hydro-tracing
Aug 14, 2026
Merged

Surface hydromancer REST fallback and WS reconnects in traces#141
hacheigriega merged 1 commit into
sedaprotocol:mainfrom
jaspersagent:feat/hydro-tracing

Conversation

@jaspersagent

@jaspersagent jaspersagent commented Jun 9, 2026

Copy link
Copy Markdown
Collaborator

The hydromancer module had no trace visibility into two operational events: when a request falls back to REST and when the upstream websocket reconnects. This tags the existing REST-fallback spans (fetchAssetContextsFromRest, executeHydromancerRestRequest) with the reason it fired via annotateSpans, and wraps each websocket connection attempt in a connectHydromancerWs span, so fallback rate and reconnect frequency are queryable instead of invisible.

@jasperdg
jasperdg requested a review from Thomasvdam June 9, 2026 20:09
Rate of fallback to REST and WS reconnect frequency are now queryable.
@hacheigriega
hacheigriega merged commit 0b17cd9 into sedaprotocol:main Aug 14, 2026
2 checks passed
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.

4 participants