traceloop / traceloop/openllmetry
feat: add support for TRACELOOP_TRACE_CONTENT=false in mcp instrumentor
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 7.4k
- Forks
- 1.1k
- Avg merge
- 8d 14h
- Merged PRs (30d)
- 2
Description
Feature description:
https://github.com/traceloop/openllmetry/blob/v0.60.0/packages/opentelemetry-instrumentation-mcp/opentelemetry/instrumentation/mcp/instrumentation.py does not respect TRACELOOP_TRACE_CONTENT=false (only the fast_mcp version does)
Why is this feature needed?:
to make flows that can't store prompts/answers be able to use the sdk
Note:
doing blank issue as can't see mcp instrumentor in list of components when creating issue
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with packages/opentelemetry-instrumentation-mcp/opentelemetry/instrumentation/mcp/instrumentation.py at v0.60.0 and compare it with the fast_mcp implementation that already handles TRACELOOP_TRACE_CONTENT=false. Confirm the MCP instrumentor respects the setting so prompt and answer content is not stored when it is disabled.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- observability
- Issue type
- Feature
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 68/100