Did you find this article helpful? Further Reading Datadog Platform Datasheet Learn about the key components, capabilities, and features of the Datadog platform. Laurent Bernaille On March 8, 2023, Datadog experienced an outage that affected all services across multiple regions.…
Did you find this article helpful? Further Reading Datadog Platform Datasheet Learn about the key components, capabilities, and features of the Datadog platform. Laura de Vesine In March, Datadog experienced a global outage. It was the first of its kind and called for a massive…
Datadog’s March 8, 2023 global outage tested an incident-response process designed for large-scale failures. The company’s monitoring, on-call structure, training, and blameless culture enabled a coordinated response, but the incident also exposed challenges in diagnosing and managing a rapidly evolving, global outage. Datadog’s central lesson is that effective response depends less on rigid runbooks than on preparation, clear ownership, autonomous decision-making, and continuous learning.
## Datadog’s Incident Response Model
- Datadog follows a “you build it, you own it” operating model.
- Teams instrument their services extensively and configure monitors to detect problems around the clock.
- Independent, out-of-band monitoring checks Datadog’s APIs from outside its infrastructure, ensuring that monitoring still works if Datadog itself becomes unavailable.
- Slack channels are automatically created for incidents to provide shared situational awareness and enable additional engineers to contribute.
## Handling High-Severity Incidents
- Senior engineers rotate on call for incidents involving substantial customer impact or multiple teams.
- The first senior responder becomes the incident commander and retains overall responsibility.
- A communications lead may manage internal updates and coordination.
- For the most serious incidents, an engineering executive and customer-support manager join to provide leadership, business context, and customer-facing communication.
- The incident commander remains accountable for coordinating the overall response.
## Preparation, Training, and Postmortems
- Datadog uses a relatively low threshold for declaring incidents, giving engineers frequent practice with its response process.
- Engineers complete incident-response training before joining an on-call rotation and repeat refresher training every six months.
- Training covers on-call responsibilities, response roles, and blameless investigation practices.
- Every high-severity incident receives a detailed postmortem focused on preventing recurrence.
- Automation prompts responders to begin postmortems while the incident is still fresh.
## Autonomy and a Blameless Culture
- Because large systems change constantly, detailed recovery procedures can quickly become outdated.
- Datadog therefore gives engineers authority to choose the best response based on their knowledge of the affected services.
- The company treats failures as weaknesses in systems rather than evidence of individual fault.
- Blamelessness is intended to encourage creativity, honesty, and effective decision-making under pressure.
## The March 8 Outage
- A systemd upgrade began around 06:00 UTC and ultimately triggered the outage.
- Monitoring detected the problem within three minutes, and engineering teams were paged shortly afterward.
- A high-severity incident was declared at 06:18, with an incident commander joining five minutes later.
- The first public status update was posted at 06:31, and the outage was officially diagnosed as global at 06:32.
- By 07:20, responders identified a Kubernetes failure and unhealthy intake systems as central problems.
- Engineers confirmed by 08:00 that the Kubernetes failure was not spreading to additional or newly provisioned nodes.
- A working mitigation for the EU1 region was found by 08:30.
- Most US1 compute capacity recovered automatically by 11:00, while teams began organizing a longer recovery effort.
- At 11:36, unattended upgrades were identified as the triggering event.
- Compute capacity in EU1—the first step toward recovery—was restored by 12:05.
## Practical Lessons
Datadog’s experience demonstrates the value of independent monitoring, practiced incident roles, rapid communication, and empowered responders. Organizations operating complex systems should regularly rehearse incident management, invest in resilient observability outside the primary platform, and use blameless postmortems to turn major outages into improvements.
Repeated high-startup-latency pages in Datadog’s usage estimation service were caused by several independent bottlenecks rather than application changes. The investigation eventually identified four issues: CPU-throttled Envoy sidecars, a Linux kernel bug affecting ENA transmit queues, insufficient EC2 network bandwidth, and requests routed to terminating cache pods. Fixing each layer progressively reduced remote-cache p99 latency from roughly one second to its normal level of about 100 ms.
## Service Architecture and the Original Symptoms
- The service consists of router, counter, and aggregator applications.
- At startup, `counter` loads data from a remote cache into a local cache.
- While the local cache is populating, request processing is slower and backlog grows.
- Normal p99 remote-cache latency was approximately 100 ms, but it exceeded one second during deployments.
- Scaling the remote cache did not help, indicating that the cache itself was not underprovisioned.
## CPU-Throttled Envoy Sidecars
- Requests to the remote cache passed through an Envoy sidecar that batched queries into packets.
- When `counter` restarted, Envoy reached its two-core CPU limit and was throttled.
- Delayed request and response processing caused retries, TCP retransmits, and increased remote-cache latency.
- Increasing Envoy’s CPU allocation eliminated the issue in staging and reduced production latency, but did not fully resolve rollout spikes.
## Linux Kernel and ENA Transmit-Queue Bug
- Investigation of system and network metrics revealed a Linux kernel bug affecting AWS Elastic Network Adapter traffic.
- The kernel mapped all outbound traffic to the first transmit queue instead of distributing it across eight queues.
- This limited throughput and caused retransmits during high-traffic periods such as deployments.
- A hotfix distributed traffic across all eight queues.
- The change removed non-rollout latency spikes but rollout latency still fluctuated between 200 and 600 ms.
## EC2 Network Bandwidth Limits
- ENA metrics showed that instances exceeded AWS inbound and outbound bandwidth allowances.
- AWS dropped packets at the hypervisor when those limits were exceeded, causing retransmissions and slower cache requests.
- Migrating to network-optimized EC2 instance types with higher bandwidth allowances largely restored p99 latency to around 100 ms.
- Occasional one-second spikes continued despite the improvement.
## Requests Sent to Terminating Cache Pods
- Remaining spikes correlated with remote-cache pods that were shutting down.
- Clients continued sending requests to terminating pods, leading to one-second timeouts and retries.
- The cache’s graceful-shutdown behavior did not adequately wait for Envoy clients’ in-flight requests.
- The team added a `preStop` hook that sets an `XXX_MAINTENANCE_MODE` key to notify clients before termination and began coordinating shutdown with outstanding requests.
The incident demonstrates the importance of tracing latency across the entire request path, from application startup through proxies, kernel networking, hardware interfaces, cloud bandwidth limits, and pod lifecycle behavior. Layered system metrics and component-level investigation were necessary to eliminate alert fatigue and restore reliable deployment behavior.
Datadog announces that Gartner has named it a Leader in the 2026 Magic Quadrant for Observability Platforms. The provided content primarily consists of Datadog’s product navigation rather than the full blog post, so it does not include Gartner’s evaluation criteria, Datadog’s specific strengths, or comparative analysis.
## Gartner Recognition
- Datadog is identified as a **Leader** in Gartner’s **Magic Quadrant for Observability Platforms 2026**.
- The announcement links to a Gartner-related resource hosted by Datadog.
- No details are provided in the supplied text about:
- Gartner’s assessment of Datadog’s execution or vision
- The other vendors evaluated
- Specific capabilities that led to the ranking
- Any limitations or cautions noted by Gartner
## Datadog’s Observability Offering
The surrounding navigation shows that Datadog positions observability as part of a broad platform covering:
- Infrastructure and cloud monitoring
- Application performance monitoring and profiling
- Logs, metrics, databases, and data pipelines
- Real user, synthetic, and mobile monitoring
- Security and cloud protection
- CI/CD and software delivery
- Incident response, service management, and automation
- AI-powered investigation and agent observability
The supplied content does not explain how these products are integrated or how they support the Leader designation.
Overall, the material communicates Datadog’s recognition as a Gartner observability-platform Leader, but the full article or report is needed for a meaningful technical summary.
Did you find this article helpful? Further Reading Datadog Platform Datasheet Learn about the key components, capabilities, and features of the Datadog platform. Laurent Bernaille On March 8, 2023, Datadog experienced an outage that affected all services across multiple regions.…
Datadog’s March 8, 2023 outage was caused by an unexpected interaction between Ubuntu 22.04, systemd-networkd, and an automated security patch. A systemd change introduced behavior that flushed unfamiliar IP routing rules whenever systemd-networkd restarted; a CVE patch triggered that restart across many hosts. Because the patch was installed automatically and outside Datadog’s carefully staged deployment process, infrastructure across regions and cloud providers was affected simultaneously.
## A Systemd Behavior Change
- systemd v248 introduced a systemd-networkd startup behavior that removed IP rules it did not recognize.
- systemd v249 added the `ManageForeignRoutingPolicyRules` setting, which could disable this behavior, but the default configuration continued managing foreign rules.
- These changes were backported to older systemd releases.
- Ubuntu 20.04 used systemd v245, which did not flush IP rules during a systemd-networkd restart.
- Ubuntu 22.04, adopted progressively by Datadog beginning in November 2022, used systemd v249 with the behavior enabled.
Initially, the change caused no visible problems because systemd-networkd generally started only when new hosts were created, before Datadog’s custom routing rules existed.
## The Security Patch That Triggered the Problem
- On March 7, 2023, Ubuntu released systemd patch `249.11-0ubuntu3.7` for a CVE.
- Installing the patch restarted all systemd components, including systemd-networkd.
- That restart caused systemd-networkd to flush routing policy rules on affected Ubuntu 22.04 hosts.
- Ubuntu 20.04 hosts received a similar patch but were not affected because systemd v245 did not exhibit the problematic restart behavior.
## Unattended Upgrades Created Broad Exposure
Datadog used Ubuntu’s default unattended-upgrade configuration:
- Package metadata was downloaded twice daily using `apt-daily.timer`, with randomized delays of up to 12 hours.
- Upgrades ran daily using `apt-daily-upgrade.timer`, between 06:00 and 07:00 UTC.
- Only security updates and required dependencies were automatically installed.
- Regular updates from the `-updates` repository were excluded.
This meant many hosts automatically installed the systemd security patch during the same daily upgrade window. Not every host was affected: more than 90% of the fleet used Ubuntu 22.04, and some nodes had not yet downloaded the patch when their upgrade ran.
## Conflict with Datadog’s Deployment Process
- Datadog normally updates nodes by replacing them automatically rather than relying on unattended upgrades.
- Its standard process validates changes on experimental clusters, then progressively deploys them through staging and production.
- Deployments are normally limited to selected clusters, availability zones, and regions before expanding.
- The unattended systemd patch bypassed this process because it was installed directly on existing hosts.
- As a result, a low-level networking change propagated across otherwise isolated regions and cloud providers at nearly the same time.
Datadog’s experience demonstrates that even security-only automated updates can introduce coordinated infrastructure risk. Critical system packages should be tested and rolled out through the same staged process as other production changes, or their automated upgrades should be carefully constrained and monitored.
Did you find this article helpful? Further Reading Datadog Platform Datasheet Learn about the key components, capabilities, and features of the Datadog platform. Cormac Flynn Users expect web applications to be fast and responsive, with smooth scrolling and almost instantaneous…
Datadog rebuilt its dashboard scheduler to improve responsiveness while distributing network and rendering work more efficiently. The legacy system helped, but had grown into a complex set of roughly 20 interdependent heuristics that were difficult to maintain and poorly separated query scheduling from rendering. A simpler, general-purpose approach reduced request spikes, improved fetching performance, and created a foundation for browser-aware task scheduling.
## Limitations of the Original Scheduler
- A periodic updater determined when widgets should request fresh data based on factors such as time range and browser focus.
- Query tasks for visible widgets ran immediately; offscreen queries were delayed using heuristics such as pending-query counts and historical fetch durations.
- Render tasks similarly prioritized visible widgets and delayed offscreen work.
- The system improved performance over an unscheduled baseline by reducing main-thread work and flattening query traffic.
- Over time, it accumulated around 20 parameters and interlinked rules.
- Query and render concerns were mixed together:
- Queries could be delayed because too many render tasks were pending.
- Renders could be delayed based on data size even when browser resources were available.
- The dashboard-specific implementation could not easily be reused across Datadog’s increasingly generalized widget framework.
## A General-Purpose Scheduling Strategy
- Datadog separated query scheduling from render scheduling so each could be developed, tested, and rolled out independently.
- The team evaluated existing heuristics across dashboards of different sizes and under different browser conditions.
- Several rules were removed without harming performance:
- Unfocused or occluded tabs did not need special delays because the periodic updater and browser already throttle them.
- The redesign aimed to preserve two goals:
- Keep query execution distributed over time.
- Prioritize widgets visible to the user.
- The new system was progressively deployed, first to dashboards and then to the shared data-fetching framework used across Datadog.
## Simpler Query Scheduling
The new query algorithm uses a small set of straightforward rules:
- Fetches for visible widgets run immediately.
- Non-visible queries are ranked and executed in fixed time windows, subject to a task limit.
- Query execution pauses when the number of pending fetches becomes too high.
- The chosen configuration uses:
- A 2,000-millisecond time window.
- A maximum of 10 tasks per window.
- FIFO-style ranking for offscreen queries, favoring earlier requests.
- The scheduler uses only about six parameters instead of the legacy system’s roughly 20.
- The simplified algorithm produced a better task distribution than the old scheduler.
- “429 Too many requests” errors dropped significantly, reducing retries and helping data arrive sooner.
## Browser-Aware Render Scheduling
- The old render scheduler did not account for the browser’s available CPU and memory resources.
- Datadog adopted the Browser Scheduling API to create prioritized tasks that the browser can schedule natively.
- Tasks can receive priorities such as:
- `user-blocking`
- `user-visible`
- `background`
- A `TaskController` assigns a priority signal to scheduled work.
- Priorities can later be changed for all tasks controlled by the same controller, and tasks can be aborted.
- The API was supported in Chromium and Firefox Nightly, with a polyfill for other browsers.
Datadog’s experience suggests that performance schedulers benefit from simple, independently testable rules: prioritize visible work, smooth network activity, and let the browser manage expensive rendering when possible.
The provided content does not include the blog post itself. It contains Datadog’s navigation menu and a promotional banner announcing its recognition as a Leader in the 2026 Gartner® Magic Quadrant™ for Observability Platforms, but no article text about “Husky.”
## Content Available
- The page links to Datadog products covering:
- Infrastructure and application monitoring
- Logs, databases, and data observability
- Security and digital experience
- Software delivery and service management
- AI and platform capabilities
- The banner promotes Datadog’s observability-platform recognition.
- No technical details, sections, architecture diagrams, implementation discussion, or conclusions from the Husky article are included.
Please provide the article text or a complete page extract for an accurate summary.
Husky, Datadog’s distributed, time-series-oriented event store, is optimized for large scans and aggregations rather than high-volume, low-latency point lookups. This makes exactly-once ingestion challenging, especially at Datadog’s multi-tenant scale. Datadog addresses the problem with deterministic, locality-aware routing that limits deduplication scope, improves storage efficiency, and supports autoscaling ingestion pipelines.
## Husky’s Ingestion Challenge
- Husky separates storage and compute, allowing each to scale independently.
- Its storage engine is designed primarily for large analytical scans and aggregations.
- It is not optimized for massive numbers of low-latency point lookups, complicating duplicate detection during ingestion.
- The ingestion system must guarantee that every event is stored exactly once while maintaining:
- Multi-tenant scalability
- Reasonable ingestion latency
- Controlled infrastructure and storage costs
## Routing Events to Storage Shards
- Datadog uses an upstream **Shard Router** to introduce locality into Kafka pipelines.
- Events are deterministically assigned to shards based on their tenant, timestamp, and event ID.
- Each tenant receives a list of shards rather than being permanently assigned to one shard.
- A deterministic choice from that list distributes the tenant’s events while keeping the number of active shards as small as practical.
- Downstream workers consume one or more shards and perform exactly-once ingestion into Husky.
## Benefits of Data Locality
- **Simpler deduplication**
- An event with the same timestamp and ID always reaches the same shard.
- Deduplication only needs to occur within that shard.
- Workers handle smaller sets of event IDs, making in-memory deduplication more efficient.
- **Lower storage costs and better performance**
- Each shard processes a relatively small set of tenants.
- Husky stores each tenant in a separate table and does not mix tenants within files.
- More tenants per writer produce more output files, increasing blob-storage costs and compaction work.
- Restricting tenant cardinality reduces file creation and improves writer and compactor efficiency.
## Challenges in Deterministic Routing
- **Changing shard assignments**
- Tenant traffic can increase by one or two orders of magnitude.
- Assignments may change when scaling a tenant across more shards or rebalancing traffic among existing shards.
- **Distributed router consensus**
- Every Shard Router node must make the same routing decision for a given event.
- Inconsistent decisions could send duplicates to different shards and undermine exactly-once ingestion.
- **Load balancing**
- Shards must receive roughly equal traffic so downstream ingestion workers remain balanced.
## Time-Bounded Shard Placements
- A simple deterministic mapping can select a shard using a hash of the event ID:
```text
shard = shards[hash(event_id) % num_shards]
```
- This approach is cheap and stateless when all routers know the same shard list.
- However, changing the shard list can cause the same event ID to map to a different shard, so assignment changes require additional coordination.
- The article introduces **time-bounded Shard Placements** to preserve consistent routing while allowing tenant assignments to evolve, though the supplied excerpt ends before explaining the mechanism in detail.
Datadog’s core recommendation is to combine deterministic, tenant-aware routing with carefully coordinated assignment changes. This narrows the scope of deduplication while reducing storage overhead and enabling balanced, scalable exactly-once ingestion.
Did you find this article helpful? Further Reading Datadog Platform Datasheet Learn about the key components, capabilities, and features of the Datadog platform. Remy Mathieu Our aspiration for the Datadog Agent is for it to process the maximum amount of data, very quickly, with…
The Datadog Agent needed to process more metrics without increasing CPU usage. Profiling showed that generating unique metric contexts—especially sorting and deduplicating tags—was a major bottleneck. Datadog improved throughput through specialized sorting paths, faster hashing, and a more efficient context-storage design.
## Identifying the Bottleneck
- Datadog uses Go’s CPU and memory profiling tools to optimize the Agent’s metrics pipeline.
- Profiles were captured while Agents processed large volumes of DogStatsD metrics, ensuring the results reflected real workload pressure.
- Flamegraphs showed that `addSample` and `trackContext` consumed the most CPU.
- Sorting-related functions, including `util.SortUniqInPlace` and `sort`, were significant contributors to that cost.
## How Metric Contexts Work
- Each received metric is assigned a metric context that uniquely identifies it in an in-memory hash table.
- The context must incorporate:
- The metric name
- Tags included in the DogStatsD message
- Container-generated tags
- The context is computed as a hash, so it must be fast while minimizing collisions.
- Tags must be consistently ordered so the same metric always produces the same context.
- The original implementation sorted tags and removed duplicates, making sorting a recurring CPU expense.
## Specialized Sorting
- Performance varied according to the number of tags attached to a metric.
- Datadog introduced specialized sorting paths based on tag count.
- This allowed common cases to use more efficient algorithms while retaining correct ordering and deduplication.
## Faster Hashing and Map Access
- Micro-benchmarks compared hash functions according to speed and uniqueness.
- Murmur3 performed best for Datadog’s requirements.
- Datadog also changed metric contexts from 128-bit to 64-bit hashes.
- A 64-bit hash still provided sufficient collision resistance for the use case and enabled Go runtime optimizations:
- `runtime.mapassign_fast64`
- `runtime.mapaccess2_fast64`
- These optimized map operations improved both context storage and metric sampling performance.
## Redesigning the Algorithm
- Sorting served two purposes: producing an ordered tag list and helping deduplicate tags.
- Because sorting was the largest bottleneck, Datadog began exploring a design that could address these responsibilities more efficiently rather than relying on a single general-purpose sort.
The practical lesson is to profile under realistic load, optimize the hottest paths, and combine targeted specialization, benchmark-driven implementation choices, and data-structure redesign to increase throughput without adding CPU capacity.
Datadog created DRUIDS in 2018 to provide consistent UX patterns across its rapidly expanding observability platform. The system succeeds only if designers and developers trust and use it, so its documentation and tooling are designed to be easy to understand, implement, and contribute to. Datadog’s approach connects design, source code, documentation, and development workflows into a shared source of truth.
## Easy to Understand
### Fast Navigation and Discovery
- The DRUIDS documentation supports Cmd+K (or Ctrl+K) quick navigation for finding components, patterns, icons, logos, and other resources.
- The “DRUIDS Loupe” lets Datadog employees inspect components directly on product pages.
- Hovering over an inspected component reveals links to its source code, Figma files, and documentation.
### Connected Documentation
- Component pages link to GitHub, Figma, and VS Code.
- JSDoc comments provide descriptions and links back to DRUIDS documentation inside VS Code.
- Figma also links back to relevant components and guidance.
- These connections minimize dead ends and keep supporting context close to where people are working.
## Easy to Implement
### Editable Playgrounds
- DRUIDS treats React, TypeScript, and CSS implementation as the source of truth because code defines the actual browser experience.
- Interactive playgrounds let users explore component props, test variations, and copy production-ready code.
- A Code Sandbox page allows multiple components to be combined into live prototypes.
- Stateful internal URLs make it easier to share ideas and reproduce bugs.
- The tools also help teams without dedicated frontend specialists build internal applications using familiar Datadog patterns.
### Auto-Generated API Documentation
- Each component includes an API table listing its props, allowed values, and descriptions.
- The tables are generated directly from source code rather than maintained separately.
- This prevents documentation from drifting away from the implementation across more than 150 components.
- Clear, meaningful prop names improve predictability for both designers and developers.
## Easy to Contribute Back
### Contribution Guidelines
- DRUIDS is intended to evolve as Datadog’s products and customer needs change.
- Internal contribution guidelines define expectations for core design, structure, prop naming, documentation, styling, responsiveness, accessibility, and testing.
- The guidelines aim to reinforce quality without making contributions burdensome or intimidating.
### CLI Tooling
- A command-line wizard generates the standard structure for new components, including code, tests, and documentation examples.
- For example, `yarn component button` creates the scaffolding for a button component.
- Automating boilerplate lets contributors focus on design, user experience, and performance.
Datadog’s central recommendation is to treat a design system as more than a component library: it should connect users, designers, and developers through consistent patterns, live examples, source-linked documentation, and lightweight contribution workflows.
The provided content does not include the blog post itself; it contains Datadog navigation links and a URL titled “Druids: The Design System That Powers Datadog.” As a result, the article’s arguments, implementation details, and conclusions cannot be reliably summarized without inventing information.
## Available Information
- The page appears to be a Datadog engineering blog post about **Druids**, Datadog’s design system.
- The surrounding navigation lists Datadog products across:
- Infrastructure and application monitoring
- Logs, security, and digital experience
- Software delivery and service management
- AI and platform capabilities
- No article sections, examples, technical architecture, or conclusions are included in the supplied text.
## Practical Conclusion
Please provide the article body or a working copy of the page content for an accurate section-by-section summary.