agentops icon indicating copy to clipboard operation
agentops copied to clipboard

Integrate map-agent telemetry support

Open areibman opened this issue 4 months ago • 1 comments

📥 Pull Request

📘 Description Adds integration support for mcp-agent (lastmile-ai/mcp-agent). This integration leverages mcp-agent's existing OpenTelemetry spans, routing them through AgentOps' exporter. A new instrumentor is added to auto-detect mcp-agent as an agentic library, preventing duplicate instrumentation from other provider-level instrumentors.

🧪 Testing Verified mcp-agent's telemetry.py emits OTEL spans. Confirmed the new instrumentor correctly registers mcp-agent as an agentic library, allowing its telemetry to flow through AgentOps without double-instrumentation. The external/mcp-agent submodule was added for local verification.


Open in Cursor Open in Web

areibman avatar Aug 16 '25 19:08 areibman

Cursor Agent can help with this pull request. Just @cursor in comments and I'll start working on changes in this branch. Learn more about Cursor Agents

cursor[bot] avatar Aug 16 '25 19:08 cursor[bot]