-
Notifications
You must be signed in to change notification settings - Fork 412
feat: @google/genai
Gemini AI LLM instrumentation
#3119
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
Merged
amychisholm03
merged 34 commits into
newrelic:main
from
amychisholm03:NR-2890/gemini-llm-support
Jun 4, 2025
Merged
Changes from 1 commit
Commits
Show all changes
34 commits
Select commit
Hold shift + click to select a range
e2eaf2d
google-genai Gemini skeleton
amychisholm03 c463a9c
generateContent segment
amychisholm03 bd23fcc
generateContentStream and embedContent
amychisholm03 733982f
wip: generateContentStreamInternal
amychisholm03 7b5bc64
wip: tests
amychisholm03 a908467
wip: tests
amychisholm03 644a06e
summary test passing
amychisholm03 1fd8c60
message test passing
amychisholm03 02484b2
tokenCB working
amychisholm03 dfe4687
embedding tests passing
amychisholm03 9d8ec07
wip: generateContentStreamInternal
amychisholm03 c774805
instrumentStream working
amychisholm03 721d706
cleanup
amychisholm03 5323cdb
concat stream response together
amychisholm03 c2217be
no response.headers available
amychisholm03 4e1844c
genai.test.js tweak
amychisholm03 36914db
comment style
amychisholm03 78908ab
wip: test/versioned/google-genai
amychisholm03 a8942c2
wip: test/versioned/google-genai
amychisholm03 89512c8
unit test fix
amychisholm03 d711cb1
cleanup unit tests
amychisholm03 f3021c6
fix test client
amychisholm03 fb7ed81
wip: test/versioned/google-genai
amychisholm03 01ec03a
wip: test/versioned/google-genai
amychisholm03 5259671
all versioned tests ok except for streaming
amychisholm03 fb21e93
all versioned tests pass
amychisholm03 ca16887
get rid of redundant streaming.enabled check
amychisholm03 f94ec71
typo
amychisholm03 e32b9ab
added test for unique google-genai errors
amychisholm03 b355dfe
tweaks
amychisholm03 cc97eca
add segment name check
amychisholm03 2710035
Merge https://github.com/amychisholm03/node-newrelic into NR-2890/gem…
amychisholm03 e1c33fc
bad json error test
amychisholm03 eaa4c4c
test names
amychisholm03 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
all versioned tests pass
- Loading branch information
commit fb21e93e3bc7b4664ccc069f7091544a41ad2ab2
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.