agentops
agentops copied to clipboard
Integrate map-agent telemetry support
📥 Pull Request
📘 Description Adds comprehensive integration support for MCP Agent, enabling seamless telemetry collection and observability for MCP-based agent workflows. This integration hooks into MCP Agent's existing OpenTelemetry infrastructure and extends it with AgentOps-specific tracking and metrics for tool calls, workflows, and agent executions.
🧪 Testing
New integration tests (tests/integration/test_mcp_agent_integration.py) were added to validate:
- Correct initialization and instrumentation of the
MCPAgentInstrumentor. - Proper wrapping of
TelemetryManager.tracedandTracingConfig.configure. - Functionality of wrappers for tool calls, workflows, and agent executions, including span creation and attribute setting.
- Configuration options for data capture, filtering, and truncation.
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