Commit Graph

2 Commits

Author SHA1 Message Date
DylanRussell 6edb3f8dc7
Update vertexai instrumentation to be in-line with the latest semantic conventions (#3709)
* Commit changes

* Fix all tests

* Add changelog

* Fix typecheck

* Fix tests

* get rid of typing.Any subclass

* Update PR to use latest gen ai utils..

* empty commit

* Try to fix typechecker

* Commit latest changes

* Address comments

* Address comments

* Fix lint and spell check

* Fix last typecheck issues..

* add to workspace

---------

Co-authored-by: Aaron Abbott <aaronabbott@google.com>
2025-09-19 20:54:19 +00:00
Aaron Abbott ec3c51dcd1
Added Vertex AI spans for request parameters (#3192)
* Added Vertex AI spans for request parameters

* small fixes, get CI passing

* Use standard OTel tracing error handling

* move nested util

* Actually use GAPIC client since thats what we use under the hood

Also this is what LangChain uses

* Comment out seed for now

* Remove unnecessary dict.get() calls

* Typing improvements to check that we support both v1 and v1beta1

* Add more teest cases for error conditions and fix span name bug

* fix typing

* Add todos for error.type
2025-01-22 13:32:34 -05:00