Registry /
observability / openinference-instrumentation-vertexai
Install & Compatibility
Where this runs
tested against v0.1.16 · pip install
no network on importno background threads
Install × environment matrix
Each cell = how many times install + import succeeded across repeated harness runs. Partial = flaky.
glibc = Debian/Ubuntu slim · musl = Alpine Linux
muslpy 3.10–3.95 runs
installs and imports cleanly · install 0.0s · import 0.000s · 24.5MB
glibcpy 3.10–3.95 runs
installs and imports cleanly · install 2.8s · import 0.000s · 25MB
23MB installed
● package 23MB
Code
Verified usage
Verified import paths — ran on the pinned version, not inferred.
VertexAIInstrumentor
✓ from openinference.instrumentation.vertexai import VertexAIInstrumentor
✗ from openinference_instrumentation_vertexai import VertexAIInstrumentor
Initialize OpenTelemetry tracing, instrument Vertex AI with VertexAIInstrumentor, then use Vertex AI normally.
from openinference_instrumentation_vertexai import VertexAIInstrumentor
from opentelemetry import trace
from opentelemetry.exporter.otlp.proto.http.trace_exporter import OTLPSpanExporter
from opentelemetry.sdk.trace import TracerProvider
from opentelemetry.sdk.trace.export import SimpleSpanProcessor
import vertexai
import os
# Set up OpenTelemetry tracing
provider = TracerProvider()
exporter = OTLPSpanExporter(endpoint=os.environ.get('OTEL_EXPORTER_OTLP_ENDPOINT', ''))
provider.add_span_processor(SimpleSpanProcessor(exporter))
trace.set_tracer_provider(provider)
# Instrument Vertex AI
VertexAIInstrumentor().instrument()
# Now use Vertex AI normally
vertexai.init(project=os.environ.get('GOOGLE_CLOUD_PROJECT', ''), location='us-central1')
Upgrade
Version history
0.1.16latest on PyPI · released May 18, 2026
Audit
Dependencies
No dependency data recorded yet.