feat(telemetry): add opt-in OpenTelemetry tracing for the Node BFF - #329
Merged
Conversation
Wallet is now the parent of jussi/conveyor RPC calls; without a server span those traces cannot be attributed to a wallet API. Keep the SDK off unless an OTLP endpoint is set so empty collectors cannot flood logs.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
traceparenton steem-jsfetch.WALLET_TELEMETRY_OTLP_ENDPOINTis set; fail open, suppress repeated export errors, and skip/api/healthplus/.well-known/healthcheck.json.WALLET_TELEMETRY_*, OpenObserve path/headers). Companion orchestration change enables the same collector on the dev wallet EB env.Test plan
pnpm type-check && pnpm lint && pnpm test(already green locally: 565 tests)WALLET_TELEMETRY_OTLP_ENDPOINTdoes not initialize the SDK and does not spam logs[telemetry] OpenTelemetry tracing initialized/api/query/accountsor a broadcast; in OpenObserve the trace should showwallet→jussi(and conveyor on recovery)/api/healthand/.well-known/healthcheck.jsondo not create spans