Google Vertex AI Integration

Updated on Aug 14, 2026

Use this integration when your app is implemented in Python or TypeScript.

Setup

  1. Install SDK
bash
pip install progress-observability

Vertex AI tracing activates only when google-cloud-aiplatform >= 1.38.1 is installed — it instruments vertexai.generative_models and vertexai.language_models.

  1. Instrument your app
python
Observability.instrument(
    app_name=os.getenv("OBSERVABILITY_APP_NAME"),
    api_key=os.getenv("OBSERVABILITY_API_KEY")
)

To get a richer trace tree when building agents on top of this provider, use the @agent, @tool, @workflow, or @task decorators. See the Python SDK for details.

  1. Install SDK
bash
npm install @progress/observability
  1. Instrument your app
TS
import '@progress/observability/register/hooks';
import { Observability } from '@progress/observability';
await Observability.instrument({
 appName: process.env.OBSERVABILITY_APP_NAME,
 apiKey: process.env.OBSERVABILITY_API_KEY
});

To get a richer trace tree when building agents on top of this provider, use the @agent, @tool, @workflow, or @task decorators. See the TypeScript SDK for details.

In this article
Setup
Not finding the help you need?
Contact Support