Start interacting with Google ADK as you normally would. Our Instrumentor will automatically trace and send the telemetry data to our platform. Here is a sample code using the Google ADK SDK.
Copy
from google import genaifrom google.genai import typesclient = genai.Client(vertexai=True, project="your_project_name", location="global")content = types.Content( role="user", parts=[ types.Part.from_text(text="Hello how are you?"), ],)response = client.models.generate_content( model="gemini-2.0-flash-001", contents=content)print(response)