Skip to content

Conversation

@Dwij1704
Copy link
Member

@Dwij1704 Dwij1704 commented Jun 17, 2025

📥 Pull Request

📘 Description
Briefly describe the changes you've made.

🧪 Testing
Tested with example scripts

@Dwij1704 Dwij1704 marked this pull request as ready for review June 18, 2025 10:07
@dot-agi dot-agi requested review from bboynton97, dot-agi and tcdent June 18, 2025 11:18
Copy link
Member

@dot-agi dot-agi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Some minor changes are requested for now.

I need to test for the final approval.

@dot-agi dot-agi requested a review from Copilot June 18, 2025 13:57
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR refactors the instrumentation modules for improved structure and consistency. The changes include reorganizing modules under agentic and providers, updating streaming wrappers to consistently pass a streaming context manager, and revising documentation to reflect the new common utilities and configuration patterns.

Reviewed Changes

Copilot reviewed 124 out of 124 changed files in this pull request and generated no comments.

Show a summary per file
File Description
agentops/instrumentation/agentic/google_adk/instrumentor.py New instrumentor implementation for Google ADK with patching and metric creation.
agentops/instrumentation/agentic/google_adk/init.py Sets up module-level library information and exports for Google ADK instrumentation.
agentops/instrumentation/agentic/crewai/init.py New lightweight module for CrewAI instrumentor export.
agentops/instrumentation/agentic/agno/instrumentor.py Major refactoring to use streaming_context_manager throughout various wrappers and updating wrapped methods.
agentops/instrumentation/agentic/agno/init.py Updated library information using LibraryInfo for the Agno instrumentor.
agentops/instrumentation/agentic/ag2/init.py New AG2 instrumentation module following updated structure.
agentops/instrumentation/ag2/init.py Removed duplicate or legacy content in favor of the new structure.
agentops/instrumentation/init.py Updated module definitions for provider instrumentors and utilities, adjusting module paths and version utilities.
agentops/instrumentation/README.md Expanded documentation with updated examples and best practices reflecting the refactor.
Comments suppressed due to low confidence (2)

agentops/instrumentation/init.py:50

  • The provider module names have been updated to reflect the new package structure. Please verify that these new module paths align with the intended refactor and that all consumers are updated accordingly.
        "module_name": "agentops.instrumentation.providers.openai",

@dot-agi dot-agi self-requested a review June 18, 2025 22:41
Copy link
Member

@dot-agi dot-agi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good one @Dwij1704 - this cleans up the instrumentations and modularizes the code.

@Dwij1704 Dwij1704 merged commit 7461126 into main Jun 18, 2025
10 checks passed
@Dwij1704 Dwij1704 deleted the enhance-instrumentation branch June 18, 2025 22:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants