Skip to content

Add instrumentation support for @google/genai (successor to deprecated @google/generative-ai) #107

Description

@manukris-mk8

Is your feature request related to a problem? Please describe.
Netra's TypeScript SDK currently only instruments @google/generative-ai for AI observability. This package has been officially deprecated by Google in favor of the new unified @google/genai SDK. As a result, any application that has migrated (or is migrating) to @google/genai loses all observability coverage with Netra — no traces, spans, or usage metrics are captured for calls made through the new package.

Describe the solution you'd like
Add instrumentation support for @google/genai, mirroring the existing integration for @google/generative-ai (tracing calls, capturing token usage, spans, etc.).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions