惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

N
Netflix TechBlog - Medium
Blog — PlanetScale
Blog — PlanetScale
月光博客
月光博客
freeCodeCamp Programming Tutorials: Python, JavaScript, Git & More
CTFtime.org: upcoming CTF events
CTFtime.org: upcoming CTF events
爱范儿
爱范儿
量子位
博客园 - 聂微东
Engineering at Meta
Engineering at Meta
WordPress大学
WordPress大学
GbyAI
GbyAI
MyScale Blog
MyScale Blog
IT之家
IT之家
P
Proofpoint News Feed
M
MIT News - Artificial intelligence
The Cloudflare Blog
H
Hackread – Cybersecurity News, Data Breaches, AI and More
Hugging Face - Blog
Hugging Face - Blog
The Register - Security
The Register - Security
Microsoft Security Blog
Microsoft Security Blog
博客园_首页
MongoDB | Blog
MongoDB | Blog
F
Fortinet All Blogs
博客园 - 三生石上(FineUI控件)
Y
Y Combinator Blog
雷峰网
雷峰网
V
Visual Studio Blog
酷 壳 – CoolShell
酷 壳 – CoolShell
Last Week in AI
Last Week in AI
博客园 - 叶小钗
D
DataBreaches.Net
B
Blog
B
Blog RSS Feed
大猫的无限游戏
大猫的无限游戏
aimingoo的专栏
aimingoo的专栏
让小产品的独立变现更简单 - ezindie.com
让小产品的独立变现更简单 - ezindie.com
The GitHub Blog
The GitHub Blog
云风的 BLOG
云风的 BLOG
Recent Announcements
Recent Announcements
阮一峰的网络日志
阮一峰的网络日志
小众软件
小众软件
腾讯CDC
T
Threat Research - Cisco Blogs
SecWiki News
SecWiki News
Martin Fowler
Martin Fowler
D
Docker
Cisco Talos Blog
Cisco Talos Blog
T
Tenable Blog
Webroot Blog
Webroot Blog
宝玉的分享
宝玉的分享

Datadog | The Monitor blog

Introducing our open source AI-native SAST Instrument and monitor Boomi integration flows with OpenTelemetry and Datadog Not all index scans are equal: How we cut query latency by over 99% Platform engineering metrics: What to measure and what to ignore Integrate Recorded Future threat intelligence with Datadog Cloud SIEM CI/CD security: threat modeling using a MITRE-style threat matrix CI/CD security: How to secure your GitHub ecosystem Ingress NGINX is EOL: A practical guide for migrating to Kubernetes Gateway API Operating agentic AI with Amazon Bedrock AgentCore and Datadog LLM Observability: Lessons from NTT DATA Introducing the Datadog Code Security MCP Capture and analyze custom heatmaps in Session Replay Understand session replays faster with AI summaries and smart chapters Monitor ClickHouse query performance with Datadog Database Monitoring How we designed empathetic alert sounds for on-call engineers Search and act across Datadog to resolve issues faster with Bits Assistant Measure the business impact of every product change with Datadog Experiments Analyzing round trip query latency Configuring JavaScript caches for better performance Introducing Bits AI Dev Agent for Code Security Datadog achieves ISO 42001 certification for responsible AI Monitor Nutanix clusters, hosts, and VMs with Datadog Monitor Juniper Mist in Datadog A new Host Map for modern infrastructure Annotate traces to improve LLM quality with Datadog LLM Observability What’s new in Cloud SIEM: AI-powered investigations, enhanced threat intelligence, and scalable security operations Explore Kubernetes with native OpenTelemetry data Monitor Oracle Fusion Cloud Applications with Datadog Announcing the Datadog Terraform provider v4.0.0 Scaling Kubernetes workloads on custom metrics How to design cloud environments for AI-powered threat analysis Monitor Aruba Central in Datadog How we centralize and remediate risks with Datadog Case Management Accelerate incident response with Datadog and ServiceNow Monitor your application and network load balancer logs Understanding Karpenter architecture for Kubernetes autoscaling Tools for collecting metrics and logs from Karpenter Monitor Karpenter with Datadog What your product data is actually saying Key metrics for monitoring Karpenter Securing Datadog’s platform in the AI age: The role of observability data Four ways engineering teams use the Datadog MCP Server to power AI agents Approaching your observability migration with the right mindset Meet the new Bits AI SRE: Deeper reasoning, twice as fast Key learnings from the 2026 State of DevSecOps study Use plain English to query your multi-cloud infrastructure in Resource Catalog Simplifying troubleshooting across the user journey with Datadog Synthetic Monitoring Protect your OCI resources with Datadog Cloud Security This Month in Datadog - February 2026 Amazon EC2 security: How misconfigured and public AMIs expand your cloud attack surface Enable end-to-end visibility into your Java apps with a single command Measure and improve mobile app startup performance with Datadog RUM Evaluating our AI Guard application to improve quality and control cost Identify untested code across every level of your codebase Make use of guardrail metrics and stop babysitting your releases Monitor Versa Networks SD-WAN performance in Datadog Improve performance and reliability with APM Recommendations Remediate transitive vulnerabilities faster with Datadog Software Composition Analysis Generate audit-ready vulnerability and compliance reports with Datadog Sheets Monitor Fortinet FortiManager performance in Datadog Improve test coverage across codebases with Datadog Code Coverage Move fast, don’t break things: Consistent testing standards at scale Enrich logs with ServiceNow CMDB context before routing to any SIEM or logging tool Monitor Lustre with Datadog Make faster, better product decisions with Datadog Product Analytics Surface and remediate runtime posture issues with Workload Protection Findings Protect agentic AI applications with Datadog AI Guard How to optimize JavaScript code with CSS Trace Google Pub/Sub workloads in Cloud Run with Datadog Detect human names in logs with ML in Sensitive Data Scanner How we cut our NLQ agent debugging time from hours to minutes with LLM Observability Debug PostgreSQL query latency faster with EXPLAIN ANALYZE in Datadog Database Monitoring Datadog acquires Propolis Unify and correlate frontend and backend data with retention filters Scale compliance across global frameworks with Datadog Cloud Security Monitor Arista VeloCloud SD-WAN performance with Datadog Building reliable dashboard agents with Datadog LLM Observability Simplify log collection and aggregation for MSSPs with Datadog Observability Pipelines Mitigation for Node.js denial-of-service vulnerability affecting Datadog APM Automate flaky test fixes with the Bits AI Dev Agent and Test Optimization How we built an AI SRE agent that investigates like a team of engineers Datadog integrations 2025 recap: Observability for AI, security, and hybrid cloud Design effective executive dashboards with Datadog Implement dbt data quality checks with dbt-expectations Bring faster visibility into AWS Lambda functions with remote instrumentation Troubleshoot faster with the GitLab Source Code integration in Datadog How Cambia Health Solutions saved $30,000 monthly with Cloud Cost Management and the Datadog Resource Catalog Normalize any logs for Cloud SIEM with Datadog's OCSF processor Optimizing Datadog at scale: Cost-efficient observability at Zendesk Detect, diagnose, and resolve network issues easily with CNM Network Health Connect engineering errors to user impact in early-stage products Cilium configuration for Kubernetes operations at scale Designing feedback loops for progressive delivery Ship features faster and safer with Datadog Feature Flags Choosing the right OpenTelemetry Collector distribution Route your monitor alerts with Datadog monitor notification rules Automate Cloud SIEM investigations with Bits AI Security Analyst Cloud threat detection: How to identify risky activity across control and data planes Collecting Kafka performance metrics Monitoring Kafka with Datadog Monitoring Kafka performance metrics
Monitor the Azure Cosmos DB integrated cache with Datadog
2021-12-07 · via Datadog | The Monitor blog

Azure Cosmos DB is a fully managed NoSQL database that scales automatically with load and supports multiple APIs. This makes it easy to incorporate with your applications while removing the need to maintain your own database servers. Using the Cosmos DB integrated cache can help reduce costs and improve performance for Azure Cosmos DB.

The Cosmos DB integrated cache is a read-through, write-through cache that customers can place between their application and Azure Cosmos DB without needing to change their application business logic. Since Cosmos DB integrated cache hits do not consume request units (RUs), the integrated cache can offer substantial savings over using Azure Cosmos DB alone.

Datadog’s Azure Cosmos DB integration now includes metrics that can help you track the health and performance of your integrated cache and dedicated gateway. Once you enable the Azure integration, you can clone and customize the out-of-the-box Azure Cosmos DB dashboard to get deep insight into your entire storage layer.

The out-of-the-box dashboard for Azure Cosmos DB includes integrated cache metrics, and you can clone and customize it as shown here.
The out-of-the-box dashboard for Azure Cosmos DB includes integrated cache metrics, and you can clone and customize it as shown here.
The out-of-the-box dashboard for Azure Cosmos DB includes integrated cache metrics, and you can clone and customize it as shown here.

Optimize your cache hit rate

The Cosmos DB integrated cache is logically organized into an item cache, which stores items by ID and partition key, and a query cache where each key is the text of a query and each value is the result set. For both the item cache and the query cache, you can track the cache hit rate to detect when Azure Cosmos DB reads tend to miss the integrated cache and go straight to the database—adding latency and RUs. You can then use related metrics to determine a course of action.

Datadog’s Azure Cosmos DB integration helps you track the hit rate for the item cache (azure.cosmosdb.integrated_cache_item_hit_rate) and query cache (azure.cosmosdb.integrated_cache_query_hit_rate). If these hit rates are too low (e.g., below 0.7–0.8), you can examine the number of items and queries evicted from the cache due to expiration (azure.cosmosdb.integrated_cache_item_expiration_count and azure.cosmosdb.integrated_cache_query_expiration_count), which happens when a cache key becomes older than the value of your MaxIntegratedCacheStaleness setting (the default is five minutes). If keys are frequently expiring due to MaxIntegratedCacheStaleness, and your application’s clients can tolerate older data, consider raising the MaxIntegratedCacheStaleness value to improve the cache hit rate.

A dashboard showing hit rate metrics for the Cosmos DB integrated cache.

You may also be able to improve your cache hit rate by scaling up your dedicated gateway, which will increase the amount of memory available for caching. This allows more keys to populate the cache before it needs to start evicting keys.

Rightsize your dedicated gateway cluster

Azure gives customers control over the compute resources used by the Cosmos DB integrated cache by running the cache on a dedicated gateway. The dedicated gateway is a cluster of nodes that users can configure to scale as needed.

Rightsizing your dedicated gateway allows you to ensure that the integrated cache can process requests without running into bottlenecks. If the query and item cache hit rate metrics are low, and many items are getting evicted (azure.cosmosdb.integrated_cache_evicted_entries_size), you may need to increase the size of your dedicated gateway nodes.

In addition to scaling your gateway nodes vertically, you can also add more nodes to your dedicated gateway cluster. If the throughput of requests to the dedicated gateway (azure.cosmosdb.dedicated_gateway_requests) is lower than it needs to be to accommodate traffic from your application, you may need to add more nodes in order to increase the volume of requests that your dedicated gateway cluster can handle.

A dashboard showing Azure Cosmos DB dedicated gateway request throughput and memory utilization.

Evaluating the benefits of the Azure Cosmos DB integrated cache

The Azure Cosmos DB integrated cache can help optimize the cost of running some workloads, but not all types of workloads will see improvements. In general, read-heavy workloads are better candidates than write-heavy workloads, since the benefits of the integrated cache are entirely scoped to reads. Furthermore, workloads that need to execute many repeated point reads and queries that consume a large number of request units are more likely to see the most significant improvements after adopting the integrated cache, since they can achieve a high cache hit rate.

Datadog’s Azure Cosmos DB integration can help you evaluate the cost benefits of using the Cosmos DB integrated cache. Once you’ve provisioned a dedicated gateway and updated your connection string, Datadog’s Azure Cosmo DB dashboard can help determine the associated cost savings by tracking changes in the total RU consumption (azure.cosmosdb.total_request_units). Repeated point reads and queries won’t use any RUs, so if you can achieve a high cache hit rate, you’ll observe a substantial drop in RU consumption. In the example below, you can see a significant reduction in the number of RUs consumed, indicating that this particular workload is probably a good candidate for the integrated cache.

A graph showing drop in Azure Cosmos DB request units consumed after deployment of the integrated cache.

If the drop in RU consumption allows you to reduce your provisioned throughput, the integrated cache is likely saving money. In order to calculate the precise benefits of adopting the integrated cache for your workload, you should compare the cost savings of reducing your Azure Cosmos DB provisioned throughput to the cost of provisioning dedicated gateway nodes.

Azure Cosmos DB diagnostic logs can also help you assess your application’s repeated query volume and total RUs spent on reads. You can also configure your logs to include full query text, which will enable you to analyze trends, including specific queries’ RU consumption and the number of repeated identical queries. Our embedded Azure integration provides a single-click process to send diagnostic logs to Datadog, where you can visualize, analyze, and correlate them with Azure Cosmos DB metrics and other data from your stack to get comprehensive insights.

Monitor your Azure Cosmos DB account

Datadog’s Azure Cosmos DB integration gives you full visibility into the integrated cache, helping you optimize your savings and read latency. You can also use APM and Log Management alongside this integration to get even deeper visibility into the interaction between your applications and Azure Cosmos DB. Datadog integrates with all Azure services, so you can easily monitor your entire cloud environment.

Not yet a Datadog customer? Sign up for a free trial to get all of your Azure metrics and logs flowing into Datadog in just minutes.