Skip to content

feat(node): add restricted Tempo API RPC - #7295

Draft
decofe wants to merge 1 commit into
mainfrom
centaur/add-tempo-api-rpc-1787606516
Draft

feat(node): add restricted Tempo API RPC#7295
decofe wants to merge 1 commit into
mainfrom
centaur/add-tempo-api-rpc-1787606516

Conversation

@decofe

@decofe decofe commented Aug 24, 2026

Copy link
Copy Markdown
Member

Summary

  • add an opt-in HTTP RPC listener for Tempo API traffic
  • enforce the current Orchestra allowlist inside the node process
  • add configurable address and port flags, defaulting to 127.0.0.1:8547

Open question

The method allowlist intentionally mirrors the current Orchestra configuration. Please confirm whether it should change before this leaves draft.

Testing

  • cargo check -p tempo-node -p tempo
  • cargo test -p tempo-node tempo_api_rpc_method_allowlist
  • cargo test -p tempo parses_tempo_api_rpc_args
  • cargo +nightly clippy -p tempo-node -p tempo --all-targets -- -D warnings

Prompted by: @0xKitsune

Co-authored-by: Derek Cofausper <256792747+decofe@users.noreply.github.com>
Comment thread crates/node/src/node.rs
"net_",
]
.iter()
.any(|prefix| name.starts_with(prefix))

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

think we should not allow random suffix and be strict

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.

3 participants