Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: publish to timeline and telemetry when calling via p2p routing #3687

Merged
merged 6 commits into from
Dec 10, 2024

Conversation

matt2e
Copy link
Collaborator

@matt2e matt2e commented Dec 9, 2024

  • Runner -> runner routing
  • VerbCallRouter for everything else
  • Provide timeline endpoint and attach timeline client to ctx in each service that does p2p routing

Runners now need to know the deployment they are routing to to record events properly.
Previously, routing in the deployment context only mapped module to endpoint. I've changed this to pass along deployment instead.

Also fixes as issue where runners would keep old verb clients around pointing to the original endpoint for a module even if it had since changed.

closes #3669

@ftl-robot ftl-robot mentioned this pull request Dec 9, 2024
@matt2e matt2e force-pushed the matt2e/p2p-routing-to-timeline branch 2 times, most recently from 6582b46 to 5c3195e Compare December 10, 2024 00:39
@matt2e matt2e marked this pull request as ready for review December 10, 2024 00:58
@matt2e matt2e requested review from a team and alecthomas as code owners December 10, 2024 00:58
@matt2e matt2e force-pushed the matt2e/p2p-routing-to-timeline branch from 5c3195e to 2376574 Compare December 10, 2024 01:17
@matt2e matt2e force-pushed the matt2e/p2p-routing-to-timeline branch from 2376574 to cb0661e Compare December 10, 2024 02:15
@matt2e matt2e enabled auto-merge (squash) December 10, 2024 02:15
@matt2e matt2e merged commit 17409f6 into main Dec 10, 2024
96 checks passed
@matt2e matt2e deleted the matt2e/p2p-routing-to-timeline branch December 10, 2024 02:26
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 calls to timeline for p2p routing
2 participants