Beyond the Spark UI: Building Agent-Native Observability at OpenAI
summary
OpenAI turns Spark JSON event logs into queryable state by parsing logs into Delta tables, snapshotting the driver KV store to S3 and serving it with a custom Rust history server (Prost + Tokio + Axum) so cold loads drop from minutes to seconds—P90 about 10× and P99 30× faster. A Flink-to-Kafka parser is replaced by snapshot reads and later migrated to GreptimeDB, and agents use MCP tools and bounded skills to run deterministic debug checks for skew, spills, shuffles, GC, and UDF hotspots.
AI-written summary · about
