Skip to content

feat(agno): adapt instrumentation for Agno 2#192

Closed
sipercai wants to merge 1 commit into
alibaba:mainfrom
sipercai:feat/agno-genai-util-adapt
Closed

feat(agno): adapt instrumentation for Agno 2#192
sipercai wants to merge 1 commit into
alibaba:mainfrom
sipercai:feat/agno-genai-util-adapt

Conversation

@sipercai
Copy link
Copy Markdown
Collaborator

Description

This PR updates the LoongSuite Agno instrumentation for Agno 2.x public APIs and migrates span creation to opentelemetry-util-genai ExtendedTelemetryHandler.

It adds standardized GenAI AGENT, LLM, and TOOL spans for non-streaming, streaming, async, and concurrent Agno calls, removes the old Agno 1.x extractor/span helper implementation, and adds a DashScope smoke example plus local test requirements.

Fixes # (N/A)

Type of change

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • This change requires a documentation update

How Has This Been Tested?

  • tox -e precommit
  • tox -c tox-loongsuite.ini -e py310-test-loongsuite-instrumentation-agno-agno
  • tox -c tox-loongsuite.ini -e lint-loongsuite-instrumentation-agno

Does This PR Require a Core Repo Change?

  • Yes. - Link to PR:
  • No.

Checklist:

See contributing.md for styleguide, changelog guidelines, and more.

  • Followed the style guidelines of this project
  • Changelogs have been updated
  • Unit tests have been added
  • Documentation has been updated

@sipercai sipercai force-pushed the feat/agno-genai-util-adapt branch from 34b3d6e to ac0bece Compare May 21, 2026 11:34
@sipercai
Copy link
Copy Markdown
Collaborator Author

Migrated to an upstream repository branch PR for Copilot review and organization-side review flow: #197

@sipercai sipercai closed this May 21, 2026
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