Skip to main content
Vertex AI

Installation

Install both the Netra SDK and Google Cloud Vertex AI SDK:

Usage

Initialize the Netra SDK with Vertex AI instrumentation enabled. The SDK automatically traces all Vertex AI API calls once initialized.

Streaming Responses

The SDK automatically handles streaming responses and captures the complete output:

Chat Sessions

Chat operations are also automatically instrumented:

Selective Instrumentation

Control which integrations are enabled using the instruments or blockInstruments configuration:

Next Steps

Last modified on March 17, 2026