---
title: "Datadog Engineering (medium)"
description: "Posts from Datadog Engineering on swe.quest."
url: "https://swe.quest/sources/datadog?difficulty=medium"
---

# Datadog Engineering (medium)

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

Posts 1–24 of 48, page 1 of 2, 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-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-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-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.

## 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.

## 2025-10-15

- [Failure is inevitable: Learning from a large outage, and building for reliability in depth at Datadog](https://swe.quest/articles/failure-is-inevitable-learning-from-a-large-outage-and-building-for-reliability-917bd748ed64f6fb.md): Datadog Engineering · 2025-10-15 · Medium · 12 min read · Resilience, Incidents & postmortems, SRE, Kubernetes, Chaos engineering
  A March 2023 unsupervised global update knocked out connectivity to 50–60% of Datadog's Kubernetes nodes, yet the platform appeared fully down because services were designed to stop rather than show partial data.

## 2025-09-18

- [From hand-tuned Go to self-optimizing code: Building BitsEvolve](https://swe.quest/articles/from-hand-tuned-go-to-self-optimizing-code-building-bitsevolve-65732e9f0f979e91.md): Datadog Engineering · 2025-09-18 · Medium · 17 min read · Performance engineering, Go, AI agents, Cost optimization, Compilers
  Datadog cut CPU in Go hot paths by removing compiler bounds checks in NormalizeTag (25% faster, 0.75% service CPU) and adding an ASCII fast path to NormalizeTagArbTagValue (90% faster, hundreds of thousands of dollars in projected annual savings), guided by production data showing nearly all inputs were ASCII.

## 2025-08-12

- [Scaling down to speed up: How we improved efficiency of live process metrics by 100x](https://swe.quest/articles/scaling-down-to-speed-up-how-we-improved-efficiency-of-live-process-metrics-by-db520ecc99ab0c49.md): Datadog Engineering · 2025-08-12 · Medium · 8 min read · Observability, Scaling, Cost optimization, Queues & messaging, System design
  Datadog cut real-time process and container metric traffic by about 100x by enabling 2-second live collection only on hosts whose processes a user is actually viewing (at most 50 per user), instead of on every host in the tenant.

## 2025-07-17

- [How Go 1.24’s Swiss Tables saved us hundreds of gigabytes](https://swe.quest/articles/how-go-1-24-s-swiss-tables-saved-us-hundreds-of-gigabytes-4fbf9a0f30e1e4c9.md): Datadog Engineering · 2025-07-17 · Medium · 17 min read · Go, Data structures, Memory management, Runtimes & VMs, Performance engineering
  Go 1.24's new map implementation, based on Swiss Tables and extendible hashing, cut roughly 500 MiB of live heap (about 1 GiB of RSS with GOGC=100) from a 3.5-million-entry routing cache map, enough to more than offset a separate Go 1.24 mallocgc memory regression.
- [How we tracked down a Go 1.24 memory regression across hundreds of pods](https://swe.quest/articles/how-we-tracked-down-a-go-1-24-memory-regression-across-hundreds-of-pods-bbf00972d141a71d.md): Datadog Engineering · 2025-07-17 · Medium · 9 min read · Go, Memory management, Debugging, Performance engineering, Runtimes & VMs
  Upgrading a data-processing service to Go 1.24 raised container memory by about 20% even though Go runtime metrics and heap profiles stayed flat.

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

Same list as RSS: [https://swe.quest/feed.xml?source=datadog&difficulty=medium](https://swe.quest/feed.xml?source=datadog&difficulty=medium). 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)
