Skip to content

Autogen Agent Instrumentation #1412

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

Open
wants to merge 4 commits into
base: feature-autogen-instrumentation
Choose a base branch
from

Conversation

umaannamalai
Copy link
Contributor

This PR adds instrumentation for autogen assistant agents and teams.

@umaannamalai umaannamalai requested a review from a team as a code owner June 24, 2025 01:56
Copy link

github-actions bot commented Jun 24, 2025

🦙 MegaLinter status: ⚠️ WARNING

Descriptor Linter Files Fixed Errors Warnings Elapsed time
✅ ACTION actionlint 6 0 0 0.71s
⚠️ MARKDOWN markdownlint 7 0 1 0 1.11s
✅ MARKDOWN markdown-link-check 7 0 0 26.66s
✅ PYTHON ruff 921 0 0 0 0.86s
✅ PYTHON ruff-format 921 0 0 0 0.2s
✅ YAML prettier 13 0 0 0 1.15s
✅ YAML v8r 13 0 0 9.19s
✅ YAML yamllint 13 0 0 0.62s

See detailed report in MegaLinter reports

MegaLinter is graciously provided by OX Security

@codecov-commenter
Copy link

codecov-commenter commented Jun 24, 2025

Codecov Report

Attention: Patch coverage is 89.65517% with 9 lines in your changes missing coverage. Please review.

Please upload report for BASE (feature-autogen-instrumentation@ccdd2a4). Learn more about missing BASE report.

Files with missing lines Patch % Lines
newrelic/hooks/mlmodel_autogen.py 89.53% 6 Missing and 3 partials ⚠️
Additional details and impacted files
@@                        Coverage Diff                         @@
##             feature-autogen-instrumentation    #1412   +/-   ##
==================================================================
  Coverage                                   ?   81.46%           
==================================================================
  Files                                      ?      208           
  Lines                                      ?    23573           
  Branches                                   ?     3722           
==================================================================
  Hits                                       ?    19204           
  Misses                                     ?     3105           
  Partials                                   ?     1264           

☔ View full report in Codecov by Sentry.
📢 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.

Copy link
Contributor

@hmstepanek hmstepanek left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

For test coverage purposes it might be good to have a test for when there is not transaction present to test the early exit conditions-otherwise looks good. Beyond that I had a couple minor changes/suggestions.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants