{"id":24815,"date":"2026-02-09T14:20:19","date_gmt":"2026-02-09T07:20:19","guid":{"rendered":"https:\/\/gcloudvn.com\/?p=24815"},"modified":"2026-02-09T14:20:19","modified_gmt":"2026-02-09T07:20:19","slug":"monitoring-google-adk-agentic-applications-with-datadog-llm-observability","status":"publish","type":"post","link":"https:\/\/gcloudvn.com\/en\/monitoring-google-adk-agentic-applications-with-datadog-llm-observability\/","title":{"rendered":"Monitoring Google ADK agentic applications with Datadog LLM Observability"},"content":{"rendered":"<p>Google\u2019s Agent Development Kit (ADK) gives you the building blocks to create powerful agentic systems. These multi-step agents can plan, loop, collaborate, and call tools dynamically to solve problems on their own. However, this flexibility also makes them unpredictable, leading to potential issues like incomplete outputs, unexpected costs, and security risks. To help you manage this complexity, Datadog LLM Observability now provides automatic instrumentation for systems built with ADK. This integration gives you the visibility to monitor agent behavior, track costs and errors, and optimize agents for response quality and safety through offline experimentation and online evaluation without extensive manual setup.<\/p>\n<p><a href=\"https:\/\/gcloudvn.com\/en\/monitoring-google-adk-agentic-applications-with-datadog-llm-observability\/attachment\/1762240252529\/\" rel=\"attachment wp-att-24818\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-24818\" src=\"https:\/\/gcloudvn.com\/wp-content\/uploads\/2026\/02\/1762240252529.jpg\" alt=\"\" width=\"1280\" height=\"720\" srcset=\"https:\/\/gcloudvn.com\/wp-content\/uploads\/2026\/02\/1762240252529.jpg 1280w, https:\/\/gcloudvn.com\/wp-content\/uploads\/2026\/02\/1762240252529-768x432.jpg 768w, https:\/\/gcloudvn.com\/wp-content\/uploads\/2026\/02\/1762240252529-18x10.jpg 18w\" sizes=\"auto, (max-width: 1280px) 100vw, 1280px\" \/><\/a><\/p>\n<p><span style=\"font-weight: 400;\">This is significant as agentic systems are complex, and interagent interactions and the non-deterministic nature of LLMs makes it difficult to predict responses.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">Common risks when running these agents include:<\/span><\/p>\n<ul>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">Pace of change: New foundation models drop weekly and \u201cbest-practice\u201d prompting patterns change just as fast. Teams must constantly evaluate new combinations.<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">Multi-agent handoffs: If one agent produces low-quality output, it can cascade downstream and cause other agents to make poor decisions.<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">Loops and retries: Planners can get stuck calling the same tool repeatedly, such as retrying a search query indefinitely, which causes latency spikes.<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">Hidden costs: A single misrouted planner step can multiply token usage or API calls, pushing costs over budget.<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">Safety and accuracy: LLM responses may contain hallucinations, sensitive data, or prompt injection attempts, risking security incidents and reduced customer trust.<\/span><\/li>\n<\/ul>\n<p><span style=\"font-weight: 400;\">Finally, ADK is just one of many agentic frameworks available on the market. Having to manually instrument it  only adds another learning curve to an already tedious and error-prone process.<\/span><\/p>\n<p><a href=\"https:\/\/gcloudvn.com\/en\/monitoring-google-adk-agentic-applications-with-datadog-llm-observability\/attachment\/adk-social-card\/\" rel=\"attachment wp-att-24817\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-24817\" src=\"https:\/\/gcloudvn.com\/wp-content\/uploads\/2026\/02\/adk-social-card.png\" alt=\"\" width=\"1200\" height=\"630\" srcset=\"https:\/\/gcloudvn.com\/wp-content\/uploads\/2026\/02\/adk-social-card.png 1200w, https:\/\/gcloudvn.com\/wp-content\/uploads\/2026\/02\/adk-social-card-768x403.png 768w, https:\/\/gcloudvn.com\/wp-content\/uploads\/2026\/02\/adk-social-card-18x9.png 18w\" sizes=\"auto, (max-width: 1200px) 100vw, 1200px\" \/><\/a><\/p>\n<div id=\"ez-toc-container\" class=\"ez-toc-v2_0_80 counter-hierarchy ez-toc-counter ez-toc-grey ez-toc-container-direction\">\n<div class=\"ez-toc-title-container\">\n<p class=\"ez-toc-title\" style=\"cursor:inherit\">Table of contents<\/p>\n<span class=\"ez-toc-title-toggle\"><a href=\"#\" class=\"ez-toc-pull-right ez-toc-btn ez-toc-btn-xs ez-toc-btn-default ez-toc-toggle\" aria-label=\"Toggle Table of Content\"><span class=\"ez-toc-js-icon-con\"><span class=\"\"><span class=\"eztoc-hide\" style=\"display:none;\">Toggle<\/span><span class=\"ez-toc-icon-toggle-span\"><svg style=\"fill: #999;color:#999\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" class=\"list-377408\" width=\"20px\" height=\"20px\" viewbox=\"0 0 24 24\" fill=\"none\"><path d=\"M6 6H4v2h2V6zm14 0H8v2h12V6zM4 11h2v2H4v-2zm16 0H8v2h12v-2zM4 16h2v2H4v-2zm16 0H8v2h12v-2z\" fill=\"currentColor\"><\/path><\/svg><svg style=\"fill: #999;color:#999\" class=\"arrow-unsorted-368013\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"10px\" height=\"10px\" viewbox=\"0 0 24 24\" version=\"1.2\" baseprofile=\"tiny\"><path d=\"M18.2 9.3l-6.2-6.3-6.2 6.3c-.2.2-.3.4-.3.7s.1.5.3.7c.2.2.4.3.7.3h11c.3 0 .5-.1.7-.3.2-.2.3-.5.3-.7s-.1-.5-.3-.7zM5.8 14.7l6.2 6.3 6.2-6.3c.2-.2.3-.5.3-.7s-.1-.5-.3-.7c-.2-.2-.4-.3-.7-.3h-11c-.3 0-.5.1-.7.3-.2.2-.3.5-.3.7s.1.5.3.7z\"\/><\/svg><\/span><\/span><\/span><\/a><\/span><\/div>\n<nav><ul class='ez-toc-list ez-toc-list-level-1' ><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-1\" href=\"https:\/\/gcloudvn.com\/en\/monitoring-google-adk-agentic-applications-with-datadog-llm-observability\/#Quyet_dinh_cua_tac_nhan_theo_doi_va_cac_hanh_vi_bat_thuong\" >Trace agent decisions and unexpected behaviors<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-2\" href=\"https:\/\/gcloudvn.com\/en\/monitoring-google-adk-agentic-applications-with-datadog-llm-observability\/#Theo_doi_muc_su_dung_token_va_do_tre\" >Monitor token usage and latency<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-3\" href=\"https:\/\/gcloudvn.com\/en\/monitoring-google-adk-agentic-applications-with-datadog-llm-observability\/#Danh_gia_chat_luong_phan_hoi_va_tinh_bao_mat_cua_tac_nhan\" >Evaluate agent response quality and security<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-4\" href=\"https:\/\/gcloudvn.com\/en\/monitoring-google-adk-agentic-applications-with-datadog-llm-observability\/#Lap_lai_nhanh_chong_va_tu_tin_voi_cac_thi_nghiem\" >Iterate quickly and confidently with experiments<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-5\" href=\"https:\/\/gcloudvn.com\/en\/monitoring-google-adk-agentic-applications-with-datadog-llm-observability\/#Bat_dau_su_dung_Datadog_LLM_Observability\" >Get started with Datadog LLM Observability<\/a><\/li><\/ul><\/nav><\/div>\n<h3><span class=\"ez-toc-section\" id=\"Quyet_dinh_cua_tac_nhan_theo_doi_va_cac_hanh_vi_bat_thuong\"><\/span><b>Trace agent decisions and unexpected behaviors<\/b><span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p><span style=\"font-weight: 400;\">Datadog LLM Observability addresses these pains by automatically instrumenting and tracing your ADK agents, so you can start evaluating your agents offline and monitoring them in production in minutes \u2014 without code changes. This allows you to visualize every step and planner choice \u2014 from agent orchestration to tool calls \u2014 on a single trace timeline.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">For example, if an agent selects an incorrect tool to respond to a user query, it can yield unexpected errors or inaccurate responses. You can use Datadog\u2019s visualizations to pinpoint the exact step where the incorrect tool was selected, making troubleshooting easier and helping you reproduce the issue.<\/span><\/p>\n<h3><span class=\"ez-toc-section\" id=\"Theo_doi_muc_su_dung_token_va_do_tre\"><\/span><b>Monitor token usage and latency<\/b><span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p><span style=\"font-weight: 400;\">Sudden increases in latency or cost are often a sign of trouble in agentic applications. Datadog lets you view token usage and latency per tool, branch, and workflow to identify where errors happened and how they affected downstream steps.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">For example, if a planner agent retries a summarization tool five times, it can significantly increase latency. Datadog highlights these loops, showing you exactly how long they took and the associated cost impact.<\/span><\/p>\n<h3><span class=\"ez-toc-section\" id=\"Danh_gia_chat_luong_phan_hoi_va_tinh_bao_mat_cua_tac_nhan\"><\/span><b>Evaluate agent response quality and security<\/b><span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p><span style=\"font-weight: 400;\">Operational performance metrics like latency are critical monitoring signals, but for a holistic view of how agentic applications are performing, teams also need to evaluate the semantic quality of the LLM and agentic responses. Datadog provides built-in evaluations to detect hallucinations, PII leaks, prompt injections, and unsafe responses.<\/span><\/p>\n<p>You can also add custom evaluators, including LLM-as-a-judge evaluators, for domain-specific checks. For instance, if a retrieval agent fetches irrelevant documents that lead to off-topic answers, a custom evaluator can flag that trace as having low retrieval relevance.<\/p>\n<h3><span class=\"ez-toc-section\" id=\"Lap_lai_nhanh_chong_va_tu_tin_voi_cac_thi_nghiem\"><\/span><b>Iterate quickly and confidently with experiments<\/b><span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p><span style=\"font-weight: 400;\">When you roll out a new system prompt, you might notice spikes in latency or drifts in output consistency. Datadog allows you to replay production LLM calls in its Playground to test different models, prompts, or parameters to find the configurations that move you closer to your ideal behavior.<\/span>From there, you can run structured experiments to compare versions side-by-side using datasets built from real traffic to optimize operational and functional performance. Because every agent step is logged through ADK instrumentation, you have the full context you need to reproduce regressions and validate fixes before you deploy.<\/p>\n<h3><span class=\"ez-toc-section\" id=\"Bat_dau_su_dung_Datadog_LLM_Observability\"><\/span><b>Get started with Datadog LLM Observability<\/b><span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p><span style=\"font-weight: 400;\">Datadog LLM Observability simplifies monitoring and debugging for Google ADK systems, helping users debug agent operations, evaluate responses, iterate quickly, and validate changes before deploying them to production.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">You can get started today with the latest version of the LLM Observability SDK, or start a free trial if you are new to Datadog.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">For more information on how to debug agent operations and evaluate responses, view Datadog\u2019s LLM Observability documentation.<\/span><\/p>","protected":false},"excerpt":{"rendered":"<p>Google\u2019s Agent Development Kit (ADK) cung c\u1ea5p cho b\u1ea1n c\u00e1c kh\u1ed1i x\u00e2y d\u1ef1ng \u0111\u1ec3 t\u1ea1o ra c\u00e1c h\u1ec7 th\u1ed1ng t\u00e1c nh\u00e2n m\u1ea1nh m\u1ebd. C\u00e1c t\u00e1c nh\u00e2n \u0111a b\u01b0\u1edbc n\u00e0y c\u00f3 th\u1ec3 l\u1eadp k\u1ebf ho\u1ea1ch, l\u1eb7p l\u1ea1i, c\u1ed9ng t\u00e1c v\u00e0 g\u1ecdi&hellip;<\/p>","protected":false},"author":2,"featured_media":24816,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"inline_featured_image":false,"footnotes":""},"categories":[1,135],"tags":[],"class_list":["post-24815","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-kienthuc","category-google-cloud-platform","entry","has-media"],"_links":{"self":[{"href":"https:\/\/gcloudvn.com\/en\/wp-json\/wp\/v2\/posts\/24815","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/gcloudvn.com\/en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/gcloudvn.com\/en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/gcloudvn.com\/en\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/gcloudvn.com\/en\/wp-json\/wp\/v2\/comments?post=24815"}],"version-history":[{"count":2,"href":"https:\/\/gcloudvn.com\/en\/wp-json\/wp\/v2\/posts\/24815\/revisions"}],"predecessor-version":[{"id":24821,"href":"https:\/\/gcloudvn.com\/en\/wp-json\/wp\/v2\/posts\/24815\/revisions\/24821"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/gcloudvn.com\/en\/wp-json\/wp\/v2\/media\/24816"}],"wp:attachment":[{"href":"https:\/\/gcloudvn.com\/en\/wp-json\/wp\/v2\/media?parent=24815"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/gcloudvn.com\/en\/wp-json\/wp\/v2\/categories?post=24815"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/gcloudvn.com\/en\/wp-json\/wp\/v2\/tags?post=24815"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}