open-telemetry / open-telemetry/opentelemetry-python-genai

Intercepting the addition of FastMCP

Open
#306 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement
Dominant language
Python
Stars
39
Forks
63
Avg merge
1d 15h
Merged PRs (30d)
175

Description

What problem do you want to solve?

Because my work requires tracking the time consumption and failures of MCP calls, and our department uniformly uses FastMCP, I hope to add a FastMCP instrumentation package.

Describe the solution you'd like

I developed a fastmcp instrumentation that reports mcp.client.operation.duration and mcp.client.session.duration metrics. So I was wondering if I could contribute it to the community.

Describe alternatives you've considered

No response

Additional Context

No response

Would you like to implement it?

No response

Tip

No response

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

No files, tests, or entry points are named. Begin by locating the repository's existing instrumentation packages and reviewing the proposed FastMCP instrumentation, then determine how mcp.client.operation.duration and mcp.client.session.duration should be reported and tested.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
observability-sre
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Quiet
Clarity
Needs clarification
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.