-
Notifications
You must be signed in to change notification settings - Fork 509
Enhance documentation and functionality for trace management #1012
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
- Updated `mint.json` to include new usage paths for trace decorators and manual trace control. - Revised `introduction.mdx` to reflect changes in session tracking terminology, replacing "sessions" with "traces" for clarity. - Expanded `quickstart.mdx` to introduce the `@trace` decorator and manual trace management examples. - Added new documentation files for `manual-trace-control.mdx` and `trace-decorator.mdx`, detailing advanced trace management techniques and usage patterns. - Updated `sdk-reference.mdx` to include new parameters for trace management and improved examples for initializing the AgentOps SDK. - Enhanced `tracking-agents.mdx` to demonstrate multi-agent workflows and coordination using the `@trace` decorator. These changes improve the clarity and usability of the AgentOps SDK, particularly around trace management and agent tracking.
|
You the man Dwij! Gonna review this later |
areibman
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Dwij, as always, you produce great docs. Left some comments in here for suggested improvements
- Updated `introduction.mdx` to clarify the use of the `@trace` decorator for custom trace creation. - Revised `quickstart.mdx` to include examples of initializing AgentOps with manual trace control. - Improved `examples.mdx` by updating image links to use raw GitHub URLs for better accessibility. - Enhanced `manual-trace-control.mdx` to provide detailed examples of managing traces manually. - Updated `recording-operations.mdx` to emphasize the use of the `@trace` decorator for grouping operations. - Refined `sdk-reference.mdx` to clarify parameters for ending traces and the use of decorators. - Improved `tracking-agents.mdx` to demonstrate structured tracking with the `@agent` decorator in multi-agent systems. These changes improve the clarity and usability of the AgentOps SDK, particularly around trace management and agent tracking.
- Introduced a new module for Google Generative AI (Gemini) API instrumentation, including `GoogleGenAIInstrumentor` for capturing telemetry data. - Added attribute extraction functions for model and chat interactions, enhancing observability of API calls. - Implemented wrappers for synchronous and asynchronous streaming methods to track performance metrics. - Updated documentation to include usage examples and details on supported features for the new instrumentation. - Refactored existing code to accommodate the new module structure and improve clarity. These changes enhance the AgentOps SDK by providing comprehensive support for monitoring Google Generative AI interactions.
Codecov ReportAttention: Patch coverage is 📢 Thoughts on this report? Let us know! |
…the correct position in the integrations list. This change improves the organization and accessibility of integration documentation.
|
Renamed google-generativeai to google-genai in this PR @bboynton97 |
mint.jsonto include new usage paths for trace decorators and manual trace control.introduction.mdxto reflect changes in session tracking terminology, replacing "sessions" with "traces" for clarity.quickstart.mdxto introduce the@tracedecorator and manual trace management examples.manual-trace-control.mdxandtrace-decorator.mdx, detailing advanced trace management techniques and usage patterns.sdk-reference.mdxto include new parameters for trace management and improved examples for initializing the AgentOps SDK.tracking-agents.mdxto demonstrate multi-agent workflows and coordination using the@tracedecorator.These changes improve the clarity and usability of the AgentOps SDK, particularly around trace management and agent tracking.
📥 Pull Request
📘 Description
Briefly describe the changes you've made.
🧪 Testing
Describe the tests you performed to validate your changes.