{"id":11177,"date":"2025-11-20T08:00:56","date_gmt":"2025-11-20T16:00:56","guid":{"rendered":"https:\/\/devblogs.microsoft.com\/cosmosdb\/?p=11177"},"modified":"2025-11-14T09:56:02","modified_gmt":"2025-11-14T17:56:02","slug":"use-azure-sre-agent-with-azure-cosmos-db-smarter-diagnostics-for-your-applications","status":"publish","type":"post","link":"https:\/\/devblogs.microsoft.com\/cosmosdb\/use-azure-sre-agent-with-azure-cosmos-db-smarter-diagnostics-for-your-applications\/","title":{"rendered":"Use Azure SRE Agent with Azure Cosmos DB: Smarter Diagnostics for Your Applications"},"content":{"rendered":"<p><span class=\"TextRun SCXW8723902 BCX8\" lang=\"EN-US\" xml:lang=\"EN-US\" data-contrast=\"auto\"><span class=\"NormalTextRun SCXW8723902 BCX8\">We\u2019re<\/span><span class=\"NormalTextRun SCXW8723902 BCX8\"> excited to announce the <\/span><\/span><span class=\"TextRun SCXW8723902 BCX8\" lang=\"EN-US\" xml:lang=\"EN-US\" data-contrast=\"auto\"><span class=\"NormalTextRun SCXW8723902 BCX8\">Azure<\/span><\/span> <span class=\"TextRun SCXW8723902 BCX8\" lang=\"EN-US\" xml:lang=\"EN-US\" data-contrast=\"auto\"><span class=\"NormalTextRun SCXW8723902 BCX8\">Cosmos DB SRE Agent<\/span> <\/span><span class=\"TextRun SCXW8723902 BCX8\" lang=\"EN-US\" xml:lang=\"EN-US\" data-contrast=\"auto\"><span class=\"NormalTextRun SCXW8723902 BCX8\">built on Azure SRE Agent<\/span><span class=\"NormalTextRun SCXW8723902 BCX8\">;<\/span><span class=\"NormalTextRun SCXW8723902 BCX8\"> a new capability designed to simplify troubleshooting <\/span><span class=\"NormalTextRun CommentStart SCXW8723902 BCX8\">and improve reliability <\/span><span class=\"NormalTextRun SCXW8723902 BCX8\">for your applications running on Azure Cosmos DB.<\/span><\/span><\/p>\n<p aria-level=\"2\"><span data-contrast=\"auto\">Some key<\/span> <span data-contrast=\"auto\">features of<\/span> <span data-contrast=\"auto\">Azure Cosmos DB SRE Agent are:<\/span><span data-ccp-props=\"{&quot;134245418&quot;:true,&quot;134245529&quot;:true,&quot;335559738&quot;:160,&quot;335559739&quot;:80}\">\u00a0<\/span><\/p>\n<ul>\n<li><b><span data-contrast=\"auto\">Sub-Agent Architecture<\/span><\/b><span data-contrast=\"auto\">: Specialized, delegated agents that help Azure Cosmos DB SDK analysis using app insight logs and server-side logs for deep diagnostics for database-specific scenarios.<\/span><span data-ccp-props=\"{}\">\u00a0<\/span><\/li>\n<li><b><span data-contrast=\"auto\">Integration with Application Insights<\/span><\/b><span data-contrast=\"auto\">: The Azure Cosmos DB SRE Agent integrates seamlessly with Application Insights, allowing you to query logs and telemetry for richer, contextual insights.<\/span><span data-ccp-props=\"{}\">\u00a0<\/span><\/li>\n<li><b><span data-contrast=\"auto\">Recommend Best Practices<\/span><\/b><span data-contrast=\"auto\">: Beyond detection, the agent provides tailored guidance for performance, security, and cost optimization.\u00a0<\/span><\/li>\n<\/ul>\n<h3 aria-level=\"2\"><span data-contrast=\"none\">Benefits of using Azure Cosmos DB SRE Agent<\/span><\/h3>\n<p><span data-contrast=\"auto\">Managing distributed applications can be complex. The Azure Cosmos DB SRE Agent bridges the gap by:<\/span><span data-ccp-props=\"{}\">\u00a0<\/span><\/p>\n<ul>\n<li aria-setsize=\"-1\" data-leveltext=\"\uf0b7\" data-font=\"Symbol\" data-listid=\"4\" data-list-defn-props=\"{&quot;335552541&quot;:1,&quot;335559685&quot;:720,&quot;335559991&quot;:360,&quot;469769226&quot;:&quot;Symbol&quot;,&quot;469769242&quot;:[8226],&quot;469777803&quot;:&quot;left&quot;,&quot;469777804&quot;:&quot;\uf0b7&quot;,&quot;469777815&quot;:&quot;multilevel&quot;}\" data-aria-posinset=\"1\" data-aria-level=\"1\"><span data-contrast=\"auto\">Identifying root causes of throttling, connectivity, and configuration issues.<\/span><span data-ccp-props=\"{}\">\u00a0<\/span><\/li>\n<li aria-setsize=\"-1\" data-leveltext=\"\uf0b7\" data-font=\"Symbol\" data-listid=\"4\" data-list-defn-props=\"{&quot;335552541&quot;:1,&quot;335559685&quot;:720,&quot;335559991&quot;:360,&quot;469769226&quot;:&quot;Symbol&quot;,&quot;469769242&quot;:[8226],&quot;469777803&quot;:&quot;left&quot;,&quot;469777804&quot;:&quot;\uf0b7&quot;,&quot;469777815&quot;:&quot;multilevel&quot;}\" data-aria-posinset=\"1\" data-aria-level=\"1\"><span data-contrast=\"auto\">Combining <\/span><b><span data-contrast=\"auto\">client-side SDK telemetry<\/span><\/b><span data-contrast=\"auto\"> with <\/span><b><span data-contrast=\"auto\">server-side logs<\/span><\/b><span data-contrast=\"auto\"> for a complete diagnostic picture.<\/span><span data-ccp-props=\"{}\">\u00a0<\/span><\/li>\n<li aria-setsize=\"-1\" data-leveltext=\"\uf0b7\" data-font=\"Symbol\" data-listid=\"4\" data-list-defn-props=\"{&quot;335552541&quot;:1,&quot;335559685&quot;:720,&quot;335559991&quot;:360,&quot;469769226&quot;:&quot;Symbol&quot;,&quot;469769242&quot;:[8226],&quot;469777803&quot;:&quot;left&quot;,&quot;469777804&quot;:&quot;\uf0b7&quot;,&quot;469777815&quot;:&quot;multilevel&quot;}\" data-aria-posinset=\"1\" data-aria-level=\"1\"><span data-contrast=\"auto\">Supporting secure data handling while maintaining tenant boundaries.<\/span><span data-ccp-props=\"{}\">\u00a0<\/span><\/li>\n<\/ul>\n<h3 aria-level=\"2\"><span data-contrast=\"none\">Azure Cosmos DB SRE Agent Scenario<\/span><span data-ccp-props=\"{&quot;134245418&quot;:true,&quot;134245529&quot;:true,&quot;335559738&quot;:160,&quot;335559739&quot;:80}\">\u00a0<\/span><\/h3>\n<p><span data-contrast=\"auto\">Integrating Azure SRE Agent with your Azure Cosmos DB resource can leverage diagnostics to help identify issues or areas for improvement. Some examples are:<\/span><span data-ccp-props=\"{}\">\u00a0<\/span><\/p>\n<ul>\n<li><strong><span class=\"TextRun SCXW237154059 BCX8\" lang=\"EN-US\" xml:lang=\"EN-US\" data-contrast=\"auto\"><span class=\"NormalTextRun SCXW237154059 BCX8\">Cost Optimization<\/span><\/span><\/strong><span class=\"TextRun SCXW237154059 BCX8\" lang=\"EN-US\" xml:lang=\"EN-US\" data-contrast=\"auto\"><span class=\"NormalTextRun SCXW237154059 BCX8\">:<\/span><span class=\"NormalTextRun SCXW237154059 BCX8\"> Using Azure SRE Agent <\/span><span class=\"NormalTextRun SCXW237154059 BCX8\">to <\/span><span class=\"NormalTextRun SCXW237154059 BCX8\">identify<\/span> <span class=\"NormalTextRun SCXW237154059 BCX8\">how best to reduce <\/span><span class=\"NormalTextRun ContextualSpellingAndGrammarErrorV2Themed SCXW237154059 BCX8\">cost<\/span> <span class=\"NormalTextRun SCXW237154059 BCX8\">in <\/span><span class=\"NormalTextRun SCXW237154059 BCX8\">your Azure Cosmos <\/span><span class=\"NormalTextRun SCXW237154059 BCX8\">DB account.<\/span><\/span><\/li>\n<\/ul>\n<p><a href=\"https:\/\/devblogs.microsoft.com\/cosmosdb\/wp-content\/uploads\/sites\/52\/2025\/11\/Cost_sre.png\"><img decoding=\"async\" class=\"wp-image-11178 aligncenter\" src=\"https:\/\/devblogs.microsoft.com\/cosmosdb\/wp-content\/uploads\/sites\/52\/2025\/11\/Cost_sre.png\" alt=\"Screen shot of using SRE Agen for Cost analysis\" width=\"568\" height=\"366\" srcset=\"https:\/\/devblogs.microsoft.com\/cosmosdb\/wp-content\/uploads\/sites\/52\/2025\/11\/Cost_sre.png 624w, https:\/\/devblogs.microsoft.com\/cosmosdb\/wp-content\/uploads\/sites\/52\/2025\/11\/Cost_sre-300x193.png 300w\" sizes=\"(max-width: 568px) 100vw, 568px\" \/><\/a><\/p>\n<ul>\n<li><strong><span class=\"TextRun SCXW239095184 BCX8\" lang=\"EN-US\" xml:lang=\"EN-US\" data-contrast=\"auto\"><span class=\"NormalTextRun SCXW239095184 BCX8\">Throttling<\/span><\/span><\/strong><span class=\"TextRun SCXW239095184 BCX8\" lang=\"EN-US\" xml:lang=\"EN-US\" data-contrast=\"auto\"><span class=\"NormalTextRun SCXW239095184 BCX8\">: <\/span><span class=\"NormalTextRun SCXW239095184 BCX8\">The Azure Cosmos DB SRE agent <\/span><span class=\"NormalTextRun SCXW239095184 BCX8\">identifies<\/span><span class=\"NormalTextRun SCXW239095184 BCX8\"> throttling causes and provides actionable diagnostics so teams can respond proactively.<\/span><\/span><span class=\"EOP SCXW239095184 BCX8\" data-ccp-props=\"{}\">\u00a0<\/span><\/li>\n<\/ul>\n<p><a href=\"https:\/\/devblogs.microsoft.com\/cosmosdb\/wp-content\/uploads\/sites\/52\/2025\/11\/sre_2.png\"><img decoding=\"async\" class=\"wp-image-11180 size-full aligncenter\" src=\"https:\/\/devblogs.microsoft.com\/cosmosdb\/wp-content\/uploads\/sites\/52\/2025\/11\/sre_2.png\" alt=\"Screen shot of using SRE Agen for throttling analysis\" width=\"600\" height=\"273\" srcset=\"https:\/\/devblogs.microsoft.com\/cosmosdb\/wp-content\/uploads\/sites\/52\/2025\/11\/sre_2.png 600w, https:\/\/devblogs.microsoft.com\/cosmosdb\/wp-content\/uploads\/sites\/52\/2025\/11\/sre_2-300x137.png 300w\" sizes=\"(max-width: 600px) 100vw, 600px\" \/><\/a><\/p>\n<ul>\n<li><strong><span class=\"TextRun SCXW218581298 BCX8\" lang=\"EN-US\" xml:lang=\"EN-US\" data-contrast=\"auto\"><span class=\"NormalTextRun SCXW218581298 BCX8\">Improve performance<\/span><\/span><\/strong><span class=\"TextRun SCXW218581298 BCX8\" lang=\"EN-US\" xml:lang=\"EN-US\" data-contrast=\"auto\"><span class=\"NormalTextRun SCXW218581298 BCX8\">: <\/span><span class=\"NormalTextRun SCXW218581298 BCX8\">Integrate the <\/span><span class=\"NormalTextRun SCXW218581298 BCX8\">Azure Cosmos DB SRE agent with app insights to<\/span> <span class=\"NormalTextRun SCXW218581298 BCX8\">monitor<\/span><span class=\"NormalTextRun SCXW218581298 BCX8\"> query patterns and <\/span><span class=\"NormalTextRun SCXW218581298 BCX8\">recommend<\/span><span class=\"NormalTextRun SCXW218581298 BCX8\"> optimizations, <\/span><span class=\"NormalTextRun SCXW218581298 BCX8\">leveraging<\/span><span class=\"NormalTextRun SCXW218581298 BCX8\"> telemetry to fine-tune configurations for consistent, high-performance workloads.<\/span><\/span><\/li>\n<\/ul>\n<p><a href=\"https:\/\/devblogs.microsoft.com\/cosmosdb\/wp-content\/uploads\/sites\/52\/2025\/11\/perf_sre.png\"><img decoding=\"async\" class=\"wp-image-11179 aligncenter\" src=\"https:\/\/devblogs.microsoft.com\/cosmosdb\/wp-content\/uploads\/sites\/52\/2025\/11\/perf_sre.png\" alt=\"Screen shot of using SRE Agen for perf analysis\" width=\"758\" height=\"350\" srcset=\"https:\/\/devblogs.microsoft.com\/cosmosdb\/wp-content\/uploads\/sites\/52\/2025\/11\/perf_sre.png 780w, https:\/\/devblogs.microsoft.com\/cosmosdb\/wp-content\/uploads\/sites\/52\/2025\/11\/perf_sre-300x138.png 300w, https:\/\/devblogs.microsoft.com\/cosmosdb\/wp-content\/uploads\/sites\/52\/2025\/11\/perf_sre-768x354.png 768w\" sizes=\"(max-width: 758px) 100vw, 758px\" \/><\/a><\/p>\n<p>&nbsp;<\/p>\n<p><b><span data-contrast=\"auto\">Ready to get started?<\/span><\/b> <a href=\"https:\/\/learn.microsoft.com\/azure\/sre-agent\/usage\"><span data-contrast=\"none\">Provision the SRE Agent<\/span><\/a><span data-contrast=\"auto\"> and unlock smarter diagnostics for your Azure Cosmos DB applications<\/span><span data-ccp-props=\"{}\">\u00a0<\/span><\/p>\n<h2><b><span data-contrast=\"auto\">\u2b50<\/span><\/b><b><span data-contrast=\"none\">Leave a review<\/span><\/b><span data-contrast=\"none\">\u202f<\/span><span data-ccp-props=\"{}\">\u00a0<\/span><\/h2>\n<p><span data-contrast=\"auto\">Tell us about your Azure Cosmos DB experience! Leave a review on\u202fPeerSpot\u202fand\u202fwe\u2019ll\u202fgift\u202fyou $50.\u202f<\/span><a href=\"https:\/\/peerspotdotcom.my.site.com\/proReviews\/?SalesOpportunityProduct=00kPy000004TKXJIA4&amp;productPeerspotNumber=30881&amp;CalendlyAccount=peerspot&amp;CalendlyFormLink=peerspot-product-reviews-ps-gc-vi-sf-50&amp;giftCard=50\"><span data-contrast=\"none\">Get started here<\/span><\/a><span data-contrast=\"auto\">.\u202f<\/span><span data-ccp-props=\"{&quot;134233117&quot;:false,&quot;134233118&quot;:false,&quot;201341983&quot;:0,&quot;335559738&quot;:0,&quot;335559739&quot;:0,&quot;335559740&quot;:240}\">\u00a0<\/span><\/p>\n<h2><b><span data-contrast=\"auto\">\u2601\ufe0f<\/span><\/b><b><span data-contrast=\"none\">About Azure Cosmos DB<\/span><\/b><span data-contrast=\"none\">\u202f<\/span><span data-ccp-props=\"{&quot;134233117&quot;:false,&quot;134233118&quot;:false,&quot;201341983&quot;:0,&quot;335559738&quot;:0,&quot;335559739&quot;:0,&quot;335559740&quot;:240}\">\u00a0<\/span><\/h2>\n<p><span data-contrast=\"auto\">Azure Cosmos DB is a fully managed and serverless NoSQL and vector database for modern app development, including AI applications. With its SLA-backed speed and availability as well as instant dynamic scalability, it is ideal for real-time NoSQL and MongoDB applications that require high performance and distributed computing over massive volumes of NoSQL and vector data.\u202f<\/span><span data-ccp-props=\"{&quot;134233117&quot;:false,&quot;134233118&quot;:false,&quot;201341983&quot;:0,&quot;335559738&quot;:0,&quot;335559739&quot;:0,&quot;335559740&quot;:240}\">\u00a0<\/span><\/p>\n<p><span data-contrast=\"auto\">To stay in the loop on Azure Cosmos DB updates, follow us on\u202f<\/span><a href=\"https:\/\/twitter.com\/AzureCosmosDB\"><span data-contrast=\"none\">X<\/span><\/a><span data-contrast=\"auto\">,\u202f<\/span><a href=\"https:\/\/aka.ms\/AzureCosmosDBYouTube\"><span data-contrast=\"none\">YouTube<\/span><\/a><span data-contrast=\"auto\">, and\u202f<\/span><a href=\"https:\/\/www.linkedin.com\/company\/azure-cosmos-db\/\"><span data-contrast=\"none\">LinkedIn<\/span><\/a><span data-contrast=\"auto\">.\u202f<\/span><span data-ccp-props=\"{&quot;134233117&quot;:false,&quot;134233118&quot;:false,&quot;201341983&quot;:0,&quot;335559738&quot;:0,&quot;335559739&quot;:0,&quot;335559740&quot;:240}\">\u00a0<\/span><\/p>\n","protected":false},"excerpt":{"rendered":"<p>We\u2019re excited to announce the Azure Cosmos DB SRE Agent built on Azure SRE Agent; a new capability designed to simplify troubleshooting and improve reliability for your applications running on Azure Cosmos DB. Some key features of Azure Cosmos DB SRE Agent are:\u00a0 Sub-Agent Architecture: Specialized, delegated agents that help Azure Cosmos DB SDK analysis [&hellip;]<\/p>\n","protected":false},"author":72078,"featured_media":11326,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[1610,14,643],"tags":[],"class_list":["post-11177","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-ai","category-core-sql-api","category-java-sdk"],"acf":[],"blog_post_summary":"<p>We\u2019re excited to announce the Azure Cosmos DB SRE Agent built on Azure SRE Agent; a new capability designed to simplify troubleshooting and improve reliability for your applications running on Azure Cosmos DB. Some key features of Azure Cosmos DB SRE Agent are:\u00a0 Sub-Agent Architecture: Specialized, delegated agents that help Azure Cosmos DB SDK analysis [&hellip;]<\/p>\n","_links":{"self":[{"href":"https:\/\/devblogs.microsoft.com\/cosmosdb\/wp-json\/wp\/v2\/posts\/11177","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/devblogs.microsoft.com\/cosmosdb\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/devblogs.microsoft.com\/cosmosdb\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/cosmosdb\/wp-json\/wp\/v2\/users\/72078"}],"replies":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/cosmosdb\/wp-json\/wp\/v2\/comments?post=11177"}],"version-history":[{"count":0,"href":"https:\/\/devblogs.microsoft.com\/cosmosdb\/wp-json\/wp\/v2\/posts\/11177\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/cosmosdb\/wp-json\/wp\/v2\/media\/11326"}],"wp:attachment":[{"href":"https:\/\/devblogs.microsoft.com\/cosmosdb\/wp-json\/wp\/v2\/media?parent=11177"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/cosmosdb\/wp-json\/wp\/v2\/categories?post=11177"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/cosmosdb\/wp-json\/wp\/v2\/tags?post=11177"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}