Skip to content

Google ADK Instrumentation#1784

Draft
TimPansino wants to merge 14 commits into
mainfrom
develop-google-adk
Draft

Google ADK Instrumentation#1784
TimPansino wants to merge 14 commits into
mainfrom
develop-google-adk

Conversation

@TimPansino

Copy link
Copy Markdown
Contributor

Overview

  • Added instrumentation for Google ADK (Agentic AI) through the following APIs
    • LlmAgent linked to either standard Gemini or VertexAI backends though google.genai.
    • Tools including user defined FunctionTool instances.
    • Sub-Agent workflows including child agents and AgentTool instances.
    • Multi-Agent workflows including the Workflow class, as well as the deprecated LoopAgent, ParallelAgent, and SequentialAgent classes.
  • Additional instructions for Claude to find external packages locally.
  • Tweaks to ML testing utils to make events_sans_content more universal.

TimPansino and others added 14 commits June 12, 2026 16:27
* Add google adk test infra

* [MegaLinter] Apply linters fixes
* Google ADK Agents Instrumentation

* Expand Megalinter ignored files

* Change function trace name to shortform
* Google ADK Tool Instrumentation

* Expand Megalinter ignored files

* Apply suggestions from code review

* Gate subcomponent attrs to local tools

* Renaming according to code review
* Add vertex testing

* Import VCR changes from main

* Rerecord ADK responses
* New recorded ADK responses

* Additional CLAUDE instructions

* Tweaking conftest constants

* Better ML testing util functionality

* Update instrumentation for future

* Clean style of agent tests

* Clean style of tool tests
* LoopAgent Instrumentation

* LoopAgent Testing

---------

Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
* SequentialAgent Instrumentation

* SequentialAgent Tests
* ParallelAgent Instrumentation

* ParallelAgent Tests

Correct validations for errors
@github-actions

github-actions Bot commented Jul 2, 2026

Copy link
Copy Markdown

MegaLinter analysis: Success

Descriptor Linter Files Fixed Errors Warnings Elapsed time
✅ ACTION actionlint 9 0 0 1.09s
✅ MARKDOWN markdownlint 7 0 0 0 1.34s
✅ PYTHON ruff 1062 0 0 0 1.19s
✅ PYTHON ruff-format 1062 0 0 0 0.38s
✅ YAML prettier 23 0 0 0 1.61s
✅ YAML v8r 23 0 0 5.8s
✅ YAML yamllint 23 0 0 0.8s

Notices

📣 MegaLinter 9.5.0 is out! Discover the new features and security recommendations in the release announcement. (Skip this info by defining SECURITY_SUGGESTIONS: false)

See detailed reports in MegaLinter artifacts

MegaLinter is graciously provided by OX Security
Show us your support by starring ⭐ the repository

@codecov-commenter

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 76.64975% with 46 lines in your changes missing coverage. Please review.
✅ Project coverage is 82.06%. Comparing base (853d8cd) to head (82ba36a).
⚠️ Report is 2 commits behind head on main.

Files with missing lines Patch % Lines
newrelic/hooks/mlmodel_googleadk.py 76.04% 28 Missing and 18 partials ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #1784      +/-   ##
==========================================
- Coverage   82.10%   82.06%   -0.05%     
==========================================
  Files         215      216       +1     
  Lines       26589    26786     +197     
  Branches     4213     4238      +25     
==========================================
+ Hits        21832    21982     +150     
- Misses       3308     3340      +32     
- Partials     1449     1464      +15     

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

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.

2 participants