---
title: "Observability (hard)"
description: "Metrics, logs, traces, telemetry pipelines, dashboards"
url: "https://swe.quest/tags/observability?difficulty=hard"
---

# Observability (hard)

Topic in Reliability & operations: Metrics, logs, traces, telemetry pipelines, dashboards

By difficulty: [Easy](https://swe.quest/tags/observability.md?difficulty=easy) · [Medium](https://swe.quest/tags/observability.md?difficulty=medium) · [Hard](https://swe.quest/tags/observability.md?difficulty=hard)

Posts 1–21 of 21, page 1 of 1, newest first.

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

- [A resilient kernel log reporter](https://swe.quest/articles/a-resilient-kernel-log-reporter-6b71e14df313dc47.md): Jane Street Tech Blog · 2026-10-01 · Hard · 6 min read · Linux, Observability, Resilience, Debugging, Operating systems
  Jane Street built a kernel log shipper that keeps working when disk or network fail, so logs from the most interesting crashes still reach central storage.

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

- [How we made ClickStack 5x faster for ClickHouse observability](https://swe.quest/articles/how-we-made-clickstack-5x-faster-for-clickhouse-observability-ed934241e77977aa.md): ClickHouse · 2026-07-02 · Hard · 22 min read · Observability, Analytics & OLAP, Performance engineering, Query engines, Storage engines
  ClickStack's OpenTelemetry logs schema, inherited from the ClickHouse exporter for the OTel Collector, was reworked through a benchmark-driven process.

## 2026-02-13

- [pg\_stat\_ch: a PostgreSQL extension that exports every metric to ClickHouse](https://swe.quest/articles/pg-stat-ch-a-postgresql-extension-that-exports-every-metric-to-clickhouse-44a394f2889686fc.md): ClickHouse · 2026-02-13 · Hard · 16 min read · PostgreSQL, Observability, Performance engineering, Concurrency, Analytics & OLAP
  pg\_stat\_ch is an open-source (Apache 2.0) PostgreSQL 16–18 extension that captures every statement execution, including failed queries and DDL, as a fixed-size ~4.6KB event with 45 fields and streams it to ClickHouse for APM-style analysis.

## 2026-01-28

- [Diagnosing instability in production-scale agent reinforcement learning](https://swe.quest/articles/diagnosing-instability-in-production-scale-agent-reinforcement-learning-d64c85292b24dcc4.md): Engineering@Microsoft · 2026-01-28 · Hard · 6 min read · Model training, AI agents, Observability, LLMs
  Late-phase instability in on-policy RL for tool-using agents can come from variance amplification in tool-conditioned contexts.

## 2025-11-25

- [From OTel to Rotel: Petabyte-scale tracing with 4x greater throughput](https://swe.quest/articles/from-otel-to-rotel-petabyte-scale-tracing-with-4x-greater-throughput-0983bad6d6f660b5.md): ClickHouse · 2025-11-25 · Hard · 25 min read · Observability, Performance engineering, Rust, Stream processing, Analytics & OLAP
  Rotel, a Rust OpenTelemetry collector, sustained 3.7M trace spans/sec (462K per core) on an 8-vCPU gateway writing through Kafka into ClickHouse, versus 1.1M spans/sec (137K per core) for the OTel Collector on the same hardware.

## 2025-10-01

- [Inside Husky’s query engine: Real-time access to 100 trillion events](https://swe.quest/articles/inside-husky-s-query-engine-real-time-access-to-100-trillion-events-a64c982f47949261.md): Datadog Engineering · 2025-10-01 · Hard · 27 min read · Query engines, Storage engines, Search, Observability, Multi-tenancy
  Husky, Datadog's third-generation event store, serves interactive queries over more than 100 trillion events through four multi-tenant services: a planner that splits queries into time-based steps, orchestrators that fetch fragment metadata from FoundationDB and prune with zone maps, a metadata service, and readers that execute against fragments in blob storage.

## 2025-09-25

- [IO Activity Tagging](https://swe.quest/articles/io-activity-tagging-2c1c0aefff706db2.md): RocksDB Blog · 2025-09-25 · Hard · 2 min read · Storage engines, Observability, Performance engineering, C & C++
  RocksDB automatically tags every IO operation with an \`IOActivity\` enum value (flush, compaction, DB open, Get, MultiGet, iterator, checksum verification, entity reads and others) and propagates it through \`IOOptions\` to the file system.

## 2025-04-07

- [Building an Observability Solution with ClickHouse at Dash0](https://swe.quest/articles/building-an-observability-solution-with-clickhouse-at-dash0-f950ba66eb3161c6.md): ClickHouse · 2025-04-07 · Hard · 18 min read · Analytics & OLAP, Observability, Storage engines, Databases, Cost optimization
  Dash0 stores all OpenTelemetry metrics, logs and spans in ClickHouse, using PostgreSQL only for customer settings, so signals can be joined and correlated in one system.

## 2025-01-29

- [Husky: Efficient compaction at Datadog scale](https://swe.quest/articles/husky-efficient-compaction-at-datadog-scale-eba7e7c7e1831aee.md): Datadog Engineering · 2025-01-29 · Hard · 18 min read · Storage engines, Analytics & OLAP, Observability, Performance engineering, Distributed databases
  Husky, Datadog's observability event store layered over object storage, keeps query cost low by controlling fragment count and layout through streaming compaction.

## 2024-07-22

- [Bonree replaces ZooKeeper with ClickHouse Keeper for drastically improved performance and reduced costs](https://swe.quest/articles/bonree-replaces-zookeeper-with-clickhouse-keeper-for-drastically-improved-6eee02db0b20c225.md): ClickHouse · 2024-07-22 · Hard · 11 min read · Analytics & OLAP, Consensus, Distributed systems, Observability, Cost optimization
  Bonree migrated the coordination layer of its ClickHouse-based observability platform from five 3-node ZooKeeper clusters to a single ClickHouse Keeper cluster.

## 2024-05-20

- [.NET Continuous Profiler: Memory usage](https://swe.quest/articles/net-continuous-profiler-memory-usage-51d84deba820efcb.md): Datadog Engineering · 2024-05-20 · Hard · 9 min read · .NET, Memory management, Observability, Performance engineering, Runtimes & VMs
  Datadog's .NET continuous profiler measures memory in three ways.

## 2024-04-04

- [.NET Continuous Profiler: Exception and lock contention](https://swe.quest/articles/net-continuous-profiler-exception-and-lock-contention-93247ad1a6e667eb.md): Datadog Engineering · 2024-04-04 · Hard · 8 min read · .NET, Performance engineering, Observability, Concurrency, Runtimes & VMs
  Datadog's .NET continuous profiler captures thrown exceptions through ICorProfilerCallback::ExceptionThrown and reads each exception's \_message field by resolving System.Exception's ClassID from CoreLib metadata and computing the field offset with GetClassLayout.

## 2024-02-13

- [.NET Continuous Profiler: CPU and wall time profiling](https://swe.quest/articles/net-continuous-profiler-cpu-and-wall-time-profiling-5dcdacf43942cb04.md): Datadog Engineering · 2024-02-13 · Hard · 10 min read · .NET, Performance engineering, Runtimes & VMs, Observability, Linux
  Datadog's .NET continuous profiler samples managed threads every 10 ms instead of relying on ETW, perf or enter/leave hooks, which cost too much for 24/7 production use.

## 2024-01-09

- [.NET Continuous Profiler: Under the hood](https://swe.quest/articles/net-continuous-profiler-under-the-hood-46b61cbffdef64a4.md): Datadog Engineering · 2024-01-09 · Hard · 9 min read · .NET, Performance engineering, Observability, Runtimes & VMs
  Datadog's .NET continuous profiler runs in-process as native C++ and Rust code loaded through the CLR's ICorProfilerCallback interface.

## 2023-04-17

- [A fine-grained network traffic analysis with Millisampler](https://swe.quest/articles/a-fine-grained-network-traffic-analysis-with-millisampler-199069a4bdff3c38.md): Meta Engineering · 2023-04-17 · Hard · 4 min read · Networking, Observability, Linux, Datacenters, Performance engineering
  Millisampler is a lightweight eBPF-based tc filter deployed across Meta's server fleet that records fine-grained network traffic time series at 100μs, 1ms and 10ms granularities: ingress/egress bytes, ECN-marked bytes, retransmissions, in-region vs cross-region traffic, and active connection counts estimated with a 128-bit sketch.

## 2022-02-28

- [Profiling improvements in Go 1.18](https://swe.quest/articles/profiling-improvements-in-go-1-18-696a3ae4a6369181.md): Datadog Engineering · 2022-02-28 · Hard · 8 min read · Go, Performance engineering, Runtimes & VMs, Linux, Observability
  Go 1.18's Linux CPU profiler no longer underestimates CPU bursts on multi-core systems.

## 2021-06-02

- [How Facebook deals with PCIe faults to keep our data centers running reliably](https://swe.quest/articles/how-facebook-deals-with-pcie-faults-to-keep-our-data-centers-running-reliably-34bfc78629e7e71e.md): Meta Engineering · 2021-06-02 · Hard · 9 min read · Hardware, Datacenters, Observability, SRE
  Meta detects, diagnoses and remediates PCIe faults across millions of servers using PCIcrawler, MachineChecker, a log-parsing error service, FBAR auto-remediation and Scuba analysis.

## 2021-04-16

- [DIT — enabling de-identified data collection on WhatsApp](https://swe.quest/articles/dit-enabling-de-identified-data-collection-on-whatsapp-d2473df44a648273.md): Meta Engineering · 2021-04-16 · Hard · 8 min read · Privacy, Cryptography, Observability, Identity & auth
  WhatsApp's De-identified Telemetry (DIT) collects usage, reliability and performance data without linking it to a user.

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