Skip to content

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

Open
sipercai wants to merge 3 commits into
mainfrom
feat/agno-genai-util-adapt
Open

feat(agno): adapt instrumentation for Agno 2#197
sipercai wants to merge 3 commits into
mainfrom
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 32f87b4 to a360262 Compare May 26, 2026 08:44
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