Agoda
Senior Software Development Engineer
Oct 2025–Present

OpenTelemetry Rollout Safety

Canaries and rollback after a telemetry incident on thousands of hosts.

Problem

An OpenTelemetry collector rollout without staged validation degraded telemetry across thousands of hosts before it was caught, exposing the lack of safety gates in the rollout path.

Technical work

Introduced canary rollout stages, readiness gates tied to collector health signals, and automatic rollback triggers, so a bad OpenTelemetry configuration is caught and reverted on a small subset of hosts before fleet-wide exposure. Later rebuilt the collector rollout for a fleet of 12,000-15,000 Linux and Windows hosts. Catalogued 100+ past failures into 20-30 categories. The rebuild has 433 passing unit tests and 195 passing Linux lab scenarios. The new collector pipeline reached production in November 2026.

Impact

Hardened the rollout path against a repeat of the thousands-of-hosts incident, giving the team a bounded blast radius and a fast automatic rollback for future telemetry changes.

Stack

  • OpenTelemetry
  • Ansible
  • GitLab CI
  • Linux
  • Windows