Skip to content

fix: Mcp tutorial instrumentation and server file path #7635

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

Closed
wants to merge 2 commits into from

Conversation

CakeCrusher
Copy link
Contributor

The current tutorial was not reproducible for due to incorrect server path and more notably the instrumentation flow. The instrumentation flow depends on the instrumentation hooks to be registered before the corresponding modules are imported.

(Also made the instrumentation more explicit, instead of auto_instrument, which is more reproducible)

Because of the unconventional import flow this depends on #7634 to pass CI checks

To ensure context propagation works as intended I have also PRed this fix to the existing MCP instrumentation Arize-ai/openinference#1644

@CakeCrusher CakeCrusher requested review from a team as code owners May 20, 2025 21:36
@github-project-automation github-project-automation bot moved this to 📘 Todo in phoenix May 20, 2025
@dosubot dosubot bot added the size:M This PR changes 30-99 lines, ignoring generated files. label May 20, 2025
@github-project-automation github-project-automation bot moved this from 📘 Todo to ✅ Done in phoenix May 20, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
size:M This PR changes 30-99 lines, ignoring generated files.
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

1 participant