OpenLLMetry lets you trace models running on VertexAI. With 5 minutes of work you can get complete view of your system directly into Datadog. See how below.
Step 1
Install the Traceloop SDK and initialize it. It will automatically log all calls to Gemini or any other VertexAI models, with prompts and completions as separate spans.