Updated AutoGen Provider for V4
📥 Pull Request
This pull request closes the https://github.com/AgentOps-AI/agentops/issues/682 issue.
📘 Description ->Added AutogenInstrumentor class that extends OpenTelemetry's BaseInstrumentor to capture Autogen-specific telemetry ->Implemented instrumentation for key Autogen functions including ConversableAgent.initiate_chat and ConversableAgent.run ->Added support for capturing agent interactions, message content, and metrics with configurable parameters ->Integrated the instrumentor into the available instrumentors list for automatic activation ->Added proper version checking and dependency management for Autogen (>= 0.3.2) ->Implemented clean uninstrumentation to properly remove hooks when needed.
Hi @fenilfaldu Kindly attach screenshots of the spans you were able to generate using your implementation, I was unable to create Autogen dedicated spans, instead it creates openai chat completion span which is a default behavior when I ran examples/autogen_examples/AgentChat.ipynb
Hi @Dwij1704 @areibman, we are expecting the autogen spans to be automatically generated in this format, correct? Or is there something I'm missing?
This pull request has been automatically marked as stale because it has not had any activity in the last 14 days.
If no updates are made within 7 days, this PR will be automatically closed.
This pull request has been automatically closed because it has been stale for 7 days with no activity.
Feel free to reopen this PR if you'd like to continue working on it.