traceloop / traceloop/openllmetry

feat: add support for TRACELOOP_TRACE_CONTENT=false in mcp instrumentor

Open Beginner friendly
#4,188 1 comment 0 reactions 0 assignees View on GitHub

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

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

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.