---
title: "Datadog Engineering"
description: "Posts from Datadog Engineering on swe.quest."
url: "https://swe.quest/sources/datadog"
---

# Datadog Engineering

Posts from [Datadog Engineering](https://www.datadoghq.com/blog/engineering/), newest first.

Posts 1–24 of 70, page 1 of 3, newest first.

## 2026-11-19

- [How Datadog resolves evolving OpenTelemetry semantics at query time](https://swe.quest/articles/how-datadog-resolves-evolving-opentelemetry-semantics-at-query-time-1265063c6021457a.md): Datadog Engineering · 2026-11-19 · Medium · 8 min read · Observability, System design, Testing
  Datadog's Semantic Core is a knowledge graph that encodes equivalences between Datadog-native and OpenTelemetry metrics and span attributes, including deprecation chains across OTel convention versions.

## 2026-11-17

- [How we scaled metrics aggregation by moving durable state into storage](https://swe.quest/articles/how-we-scaled-metrics-aggregation-by-moving-durable-state-into-storage-09bea3fd544962da.md): Datadog Engineering · 2026-11-17 · Medium · 12 min read · Stream processing, Scaling, Observability, Storage engines, Distributed systems
  Datadog's metrics aggregation service, which merges DDSketch distributions to reduce tag dimensions, went through three generations as volume grew roughly 10× each time.

## 2026-11-05

- [How we continuously validate formal specifications in production](https://swe.quest/articles/how-we-continuously-validate-formal-specifications-in-production-8af79b473bcc3ebf.md): Datadog Engineering · 2026-11-05 · Hard · 16 min read · Formal methods, Testing, Distributed systems, Rust, Observability
  FETCh (Formal Execution Trace Checker) compiles TLA+ specifications into Rust runtime monitors that consume production telemetry and flag any state transition the spec forbids, catching drift between a formal model and the evolving implementation.

## 2026-10-20

- [Beyond container image signing: How we enforce software supply chain policies at Datadog](https://swe.quest/articles/beyond-container-image-signing-how-we-enforce-software-supply-chain-policies-at-d64b1021536fc3d9.md): Datadog Engineering · 2026-10-20 · Medium · 15 min read · Supply chain security, Deployment, Identity & auth, Containers
  Turnstile is Datadog's internal system for extending container image signing into full supply chain policy enforcement.

## 2026-10-01

- [How we extended Apache DataFusion to execute one query across many machines](https://swe.quest/articles/how-we-extended-apache-datafusion-to-execute-one-query-across-many-machines-6519f2d407c939dd.md): Datadog Engineering · 2026-10-01 · Hard · 12 min read · Query engines, Distributed databases, Rust, Analytics & OLAP, Open source
  Datadog built Distributed DataFusion, an open source Rust framework that extends Apache DataFusion's physical execution model so a single interactive query can run across many machines while keeping latency roughly flat as data grows.

## 2026-09-30

- [How we built an async-aware Python profiler](https://swe.quest/articles/how-we-built-an-async-aware-python-profiler-fed39ce25f0b2b85.md): Datadog Engineering · 2026-09-30 · Hard · 18 min read · Python, Performance engineering, Concurrency, Observability, Runtimes & VMs
  Datadog's Python profiler now reconstructs parent-child relationships between asyncio tasks so flame graphs show "stacked stacks": the logical application path rather than independent per-task stacks.

## 2026-09-01

- [Making Rust observability reliable at scale with OpenTelemetry](https://swe.quest/articles/making-rust-observability-reliable-at-scale-with-opentelemetry-93edfa18e478ae5a.md): Datadog Engineering · 2026-09-01 · Medium · 10 min read · Observability, Rust, Open source
  Datadog built dd-trace-rs, an opinionated Rust tracer on top of the OpenTelemetry Rust SDK, to fix fragmented traces, inconsistent sampling and context loss across Rust services.

## 2026-08-19

- [20× the CI traffic without getting slower: How we rebuilt Git serving at Datadog](https://swe.quest/articles/20-the-ci-traffic-without-getting-slower-how-we-rebuilt-git-serving-at-datadog-9f7156670a81ca53.md): Datadog Engineering · 2026-08-19 · Medium · 13 min read · Version control, CI/CD, Scaling, Caching, Replication
  Datadog replaced CI fetches from a replicated Gitaly/Praefect cluster with gitretriever, a fleet of independent Git mirrors that poll GitHub per changed ref and fan packfiles out to autoscaled relays over a gRPC signaling stream plus HTTP.

## 2026-08-11

- [How we improved APM Java startup by encoding a prefix trie as a JVM constant](https://swe.quest/articles/how-we-improved-apm-java-startup-by-encoding-a-prefix-trie-as-a-jvm-constant-ef8ab81cb4120a77.md): Datadog Engineering · 2026-08-11 · Hard · 11 min read · Java & JVM, Data structures, Performance engineering, Observability, Runtimes & VMs
  Datadog's Java APM agent filters uninteresting classes by name during JVM startup using ClassNameTrie, a prefix trie encoded entirely in a single string constant and loaded with one ldc instruction.

## 2026-07-22

- [Unbiased Java CPU profiling with JFR in JDK 25](https://swe.quest/articles/unbiased-java-cpu-profiling-with-jfr-in-jdk-25-9bdec8ca98b4801c.md): Datadog Engineering · 2026-07-22 · Medium · 10 min read · Java & JVM, Performance engineering, Observability, Runtimes & VMs
  JDK 25 adds an experimental JFR CPU-time sampling event (CPUTimeSample) that gives unbiased CPU profiles without relying on the unsupported HotSpot AsyncGetCallTrace API.

## 2026-07-01

- [How we measure data completeness at scale](https://swe.quest/articles/how-we-measure-data-completeness-at-scale-1fbada4ceb0e9c2d.md): Datadog Engineering · 2026-07-01 · Medium · 16 min read · Data pipelines, Observability, Distributed systems, Resilience, System design
  Datadog measures ingestion data completeness per customer by splitting pipelines into segments and recording create and acknowledgment events keyed by unique payload IDs in 60-second time buckets.

## 2026-06-23

- [How we migrated a live routing system using AI-assisted refactoring](https://swe.quest/articles/how-we-migrated-a-live-routing-system-using-ai-assisted-refactoring-db938ac15eae4cef.md): Datadog Engineering · 2026-06-23 · Medium · 13 min read · Refactoring & migrations, AI for coding, PostgreSQL, Schema migrations, Testing
  Datadog migrated Stream Router, the control plane that tells metrics producers and queriers which Kafka cluster, topic and partitions to use, from a FoundationDB key-value model to a relational schema.

## 2026-06-04

- [When failover isn’t safe: Building high-availability PostgreSQL on Kubernetes](https://swe.quest/articles/when-failover-isn-t-safe-building-high-availability-postgresql-on-kubernetes-ee0014d4b5265bb2.md): Datadog Engineering · 2026-06-04 · Medium · 22 min read · PostgreSQL, Replication, Kubernetes, Resilience, Chaos engineering
  A staging gameday simulating zonal network latency left Datadog's Kubernetes-hosted PostgreSQL clusters stuck: with asynchronous replication, every standby exceeded Patroni's maximum\_lag\_on\_failover, so no failover candidate could be promoted safely.

## 2026-06-02

- [From single pull requests to full software packages: Detecting malicious code at scale](https://swe.quest/articles/from-single-pull-requests-to-full-software-packages-detecting-malicious-code-at-717a58a001a046a1.md): Datadog Engineering · 2026-06-02 · Medium · 12 min read · Supply chain security, Threat detection, AI agents, LLMs, Cost optimization
  Datadog extended BewAIre, its LLM-based malicious code detector, from pull requests to full dependency packages by stacking a cheap filter model in front of an agentic investigation model.

## 2026-04-21

- [Steganography at scale: Embedding share URLs in Datadog widget screenshots](https://swe.quest/articles/steganography-at-scale-embedding-share-urls-in-datadog-widget-screenshots-c180eafbb38c64ee.md): Datadog Engineering · 2026-04-21 · Medium · 20 min read · Frontend, Caching, Observability, Algorithms
  Datadog embeds an 8-byte snapshot ID invisibly into the 1 px border of every dashboard widget so screenshots can be resolved back to the full widget context (queries, time range, template variables), with definitions cached in Redis for one hour keyed by org ID plus widget ID.

## 2026-04-07

- [How we built a real-world evaluation platform for autonomous SRE agents at scale](https://swe.quest/articles/how-we-built-a-real-world-evaluation-platform-for-autonomous-sre-agents-at-scale-6a8c2348a0fba679.md): Datadog Engineering · 2026-04-07 · Medium · 15 min read · Evaluation, AI agents, SRE, Observability
  Datadog built a replayable offline evaluation platform for Bits Investigation, its autonomous SRE agent, after discovering that feature changes improving one investigation type silently regressed others.

## 2026-03-23

- [When upserts don’t update but still write: Debugging Postgres performance at scale](https://swe.quest/articles/when-upserts-don-t-update-but-still-write-debugging-postgres-performance-at-cd64ef72ac9ca8ec.md): Datadog Engineering · 2026-03-23 · Medium · 11 min read · PostgreSQL, Performance engineering, Storage engines, Debugging, SQL
  A Postgres \`INSERT ... ON CONFLICT DO UPDATE ... WHERE\` upsert still locks the conflicting row even when the WHERE clause blocks the update.

## 2026-03-09

- [When an AI agent came knocking: Catching malicious contributions in Datadog’s open source repos](https://swe.quest/articles/when-an-ai-agent-came-knocking-catching-malicious-contributions-in-datadog-s-efd5d1e84be0c443.md): Datadog Engineering · 2026-03-09 · Medium · 16 min read · Supply chain security, CI/CD, Threat detection, AI agents, Open source
  An AI agent called hackerbot-claw targeted Datadog's public repositories in late February 2026.

## 2026-03-04

- [Designing MCP tools for agents: Lessons from building Datadog’s MCP server](https://swe.quest/articles/designing-mcp-tools-for-agents-lessons-from-building-datadog-s-mcp-server-d09621598f568627.md): Datadog Engineering · 2026-03-04 · Medium · 8 min read · AI agents, API design, LLMs, Observability
  Thin API wrappers make poor MCP tools: agents flood their context windows, blow token budgets on oversized records, and infer trends from raw samples.

## 2026-02-18

- [How we reduced the size of our Agent Go binaries by up to 77%](https://swe.quest/articles/how-we-reduced-the-size-of-our-agent-go-binaries-by-up-to-77-01b71ba25e3ec4b1.md): Datadog Engineering · 2026-02-18 · Medium · 14 min read · Go, Build systems, Compilers, Performance engineering
  Datadog cut its Agent's Go binary sizes by up to 77% between versions 7.60.0 and 7.68.0 without removing features.

## 2026-01-07

- [Hardening eBPF for runtime security: Lessons from Datadog Workload Protection](https://swe.quest/articles/hardening-ebpf-for-runtime-security-lessons-from-datadog-workload-protection-d7f876ff0025b179.md): Datadog Engineering · 2026-01-07 · Hard · 34 min read · Linux, Threat detection, Security, Operating systems, Performance engineering
  Five years of running Datadog Workload Protection, an eBPF-based runtime security agent supporting kernels from 4.15 to 6.18, distilled into six production lessons.

## 2025-11-18

- [Scaling real-time file monitoring with eBPF: How we filtered billions of kernel events per minute](https://swe.quest/articles/scaling-real-time-file-monitoring-with-ebpf-how-we-filtered-billions-of-kernel-2f88f92ad0613fab.md): Datadog Engineering · 2025-11-18 · Medium · 9 min read · Linux, Threat detection, Performance engineering, Scaling
  Datadog built file integrity monitoring on eBPF to capture file changes with process and container context, which periodic scans, inotify and auditd could not provide at scale.

## 2025-11-04

- [Replication redefined: How we built a low-latency, multi-tenant data replication platform](https://swe.quest/articles/replication-redefined-how-we-built-a-low-latency-multi-tenant-data-replication-467db62624b6c7cc.md): Datadog Engineering · 2025-11-04 · Medium · 10 min read · Event-driven architecture, Replication, PostgreSQL, Queues & messaging, Schema migrations
  Datadog grew a single Postgres-to-search replication pipeline into a multi-tenant CDC platform built on Debezium, Kafka, and Kafka Connect.

## 2025-10-21

- [Detecting malicious pull requests at scale with LLMs](https://swe.quest/articles/detecting-malicious-pull-requests-at-scale-with-llms-18b7d45442154d44.md): Datadog Engineering · 2025-10-21 · Medium · 12 min read · Supply chain security, Threat detection, LLMs, Code review, Evaluation
  Datadog's SDLC Security team built BewAIre, an LLM-based reviewer that classifies the diff of every merged PR (nearly 10,000 a week) as benign or malicious, with a written rationale emitted as a security signal for real-time triage.

[Next page](https://swe.quest/sources/datadog.md?page=2)

Same list as RSS: [https://swe.quest/feed.xml?source=datadog](https://swe.quest/feed.xml?source=datadog). Lists take `?page=`, `?per=12|24|48|96` and, on the home page, `?tag=` (up to 3), `?source=`, `?difficulty=easy|medium|hard` and `?search=`.

Browse: [Latest posts](https://swe.quest/index.md) · [Topics](https://swe.quest/tags.md) · [Sources](https://swe.quest/sources.md) · [Topic map](https://swe.quest/map.md) · [Site guide (llms.txt)](https://swe.quest/llms.txt)
