Skip to content
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

Otel exporter #529

Open
wants to merge 114 commits into
base: main
Choose a base branch
from
Open

Otel exporter #529

wants to merge 114 commits into from

Conversation

teocns
Copy link
Contributor

@teocns teocns commented Nov 22, 2024

Significant performance boost for AgentOps SDK by leveraging on OpenTelemetry as an event publisher

  1. OpenTelemetry Integration
  • Added OpenTelemetry dependencies for API, SDK, and HTTP exporter
  • Implemented SessionExporter class to handle span exports
  • Configured TracerProvider with standard OTEL attributes
  1. Event Handling Improvements
  • Replaced manual queue-based event system with OTEL spans
  • Added better event type handling for actions and tools
  1. Deps
opentelemetry-api>=1.22.0,<2.0.0
opentelemetry-sdk>=1.22.0,<2.0.0
opentelemetry-exporter-otlp-proto-http>=1.22.0,<2.0.0

Additioanlly fixes vcrpy installing old version and erroring due to requires-python >= 3.7

teocns

This comment was marked as outdated.

Signed-off-by: Teo <[email protected]>
Signed-off-by: Teo <[email protected]>
Signed-off-by: Teo <[email protected]>
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.

3 participants