Skip to content

Google ADK Instrumentation - #1784

Merged
TimPansino merged 19 commits into
mainfrom
develop-google-adk
Jul 6, 2026
Merged

Google ADK Instrumentation#1784
TimPansino merged 19 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.49s
✅ PYTHON ruff 1065 0 0 0 1.13s
✅ PYTHON ruff-format 1065 0 0 0 0.4s
✅ YAML prettier 23 0 0 0 1.67s
✅ YAML v8r 23 0 0 6.46s
✅ YAML yamllint 23 0 0 0.81s

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

codecov-commenter commented Jul 2, 2026

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.05%. Comparing base (b34d52d) to head (868c846).

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.07%   82.05%   -0.03%     
==========================================
  Files         215      216       +1     
  Lines       26589    26786     +197     
  Branches     4213     4238      +25     
==========================================
+ Hits        21824    21978     +154     
- Misses       3316     3342      +26     
- Partials     1449     1466      +17     

☔ 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.

Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
@mergify mergify Bot added the tests-failing Tests failing in CI. label Jul 6, 2026
@mergify mergify Bot removed the tests-failing Tests failing in CI. label Jul 6, 2026
@TimPansino
TimPansino marked this pull request as ready for review July 6, 2026 20:15
@TimPansino
TimPansino requested a review from a team as a code owner July 6, 2026 20:15
@TimPansino
TimPansino enabled auto-merge (squash) July 6, 2026 20:47
@TimPansino
TimPansino merged commit 4ee128a into main Jul 6, 2026
69 checks passed
@TimPansino
TimPansino deleted the develop-google-adk branch July 6, 2026 21:02
@lrafeei lrafeei added this to the v13.2.0 milestone Jul 6, 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.

3 participants