How Datadog uses Datadog to gain visibility into the Datadog user experience
Datadog's product designers used the company's own Real User Monitoring and Logs to make three data-backed UI decisions. They measured which monospace fonts users actually loaded, via the CSS Font Loading API, and then served Roboto Mono. They logged interactions with the DraggablePane component and found that almost no one used its minimize and maximize buttons, so those were replaced with a double-click on the handle. They also logged invalid custom time-frame inputs in DateRangePicker; adding support for patterns like "last 2 weeks" cut the parse error rate from about 10% to 5–6%.
Related posts
- DRUIDS, the design system that powers Datadog
Datadog Engineering easyNoviceDRUIDS (Datadog Reusable User Interface Design System) was started in 2018 to keep UX patterns consistent as Datadog grew into dozens of products, and its docs site is now public. Adoption across hundreds of designers and front-end developers depends on making the system easy to understand, implement and contribute to. Supporting tooling includes Cmd+K search, an in-app "Loupe" that highlights components with links to GitHub, Figma and VS Code, editable playgrounds and a sandbox treating React/TypeScript/CSS code as the source of truth, API tables auto-generated from component source, contribution guidelines, and a CLI that scaffolds new components.
- OpenTelemetry for JavaScript Observability at Zalando
Zalando Engineering mediumAdeptZalando built thin OpenTelemetry-based observability SDKs for Node.js and the browser, sharing a common API package so isomorphic apps can be instrumented consistently. The Node.js SDK autoconfigures from Kubernetes environment variables and ships default runtime metrics (CPU, memory, GC, event loop lag) plus opt-in HTTP/Express instrumentation. The browser SDK was trimmed to about 30 KB by cherry-picking packages and lazy-loading the rest. It exports telemetry via sendBeacon through the Skipper edge proxy, gated on GDPR consent, and is exposed to frontend developers through Rendering Engine renderer APIs. Key lessons include avoiding OpenTelemetry context (Zone.js in browsers, and migration friction from OpenTracing) in favour of passing spans manually, and defining custom histogram buckets so Core Web Vitals such as LCP and CLS get meaningful percentiles.
- How GitHub Actions renders large-scale logs
GitHub Engineering mediumAdeptGitHub Actions replaced a third-party virtualization library with a custom one to render job logs of up to 50k lines smoothly, including on mobile. Usage data showed 99.51% of jobs have fewer than 50k lines, so the team dropped data virtualization and kept only UI virtualization, truncating oversized logs behind a download link. The custom library estimates line heights instead of measuring them and uses relative rather than absolute positioning, so imprecise estimates don't clip lines. It keeps a single scrollable area with non-virtualized sticky step headers and adds or removes DOM nodes in clusters of 50 lines to limit mutations during fast scrolling.
- How we improved availability through iterative simplification
GitHub Engineering mediumAdeptGitHub cut timeouts in its Rails monolith with small, measured changes found through Datadog metrics, Splunk logs and custom MySQL slow-query monitors. Each change was validated with Scientist experiments or rolled out gradually behind Flipper feature flags. Reordering a Command Palette query to look up a user's contributions before filtering by org removed a large IN clause and was 80-90% faster, and batching access checks added another 20-80% and 30-40%. Skipping unneeded authorization filters on a busy redirect endpoint cut tail latency and timeouts. Not every idea paid off: moving sorting into the application was 40-80% slower, so that experiment was dropped.
- How we brought Datadog’s data visualization to iOS: A focus on performance
Datadog Engineering mediumAdeptDatadog built DogGraphs, an internal SwiftUI graphing library constrained to iOS 14 (no Canvas), with a result-builder API that type-checks graph compositions at compile time. Profiling with _printChanges() and Xcode Instruments showed that layers observing a shared EnvironmentObject coordinate system caused twice the expected body evaluations (339 vs 113 for a 113-line chart). Moving coordinate-system reduction into the @resultBuilder via TupleGraphContent fixed that. For charts with thousands of bars, a Batch content type groups shapes by fill and stroke style and draws each group as a single Path, which removes the rendering hangs. The post also explains SwiftUI's diffing order: memcmp for POD views, then Equatable, then reflection.