Skip to content

In development. Expect rough edges and changes. The source code is not public yet.

ClickHouse 57 min read Research mediumAdept

Can LLMs replace on call SREs today?

LLMs were tested on autonomous root cause analysis of production incidents and fell short of replacing on-call SREs. ClickHouse gave Claude Sonnet 4, OpenAI o3, GPT-4.1 and Gemini 2.5 Pro (plus GPT-5) access to OpenTelemetry demo telemetry stored in ClickHouse via an MCP server and LibreChat, injected four anomalies with feature flags (payment failures for gold-tier users, a recommendation cache memory leak, a product catalog error and a payment cache leak), and compared each model against a manual ClickStack investigation on accuracy, guidance needed, token usage and time. Some models found simple root causes from a naive prompt, while others chased irrelevant latency signals or needed explicit hints. The recommendation is to use LLMs as assistants for summarizing, drafting updates and suggesting next steps, with engineers in control and backed by a fast, searchable observability stack.

Assumes: OpenTelemetry traces, logs and metricsroot cause analysis basics

Related posts

  • Your AI SRE needs better observability, not bigger models.

    ClickHouse mediumAdept

    AI SRE copilots fail at root cause analysis mainly because of their data, not their models: legacy inverted-index observability stacks keep only 7-14 days of logs, drop high-cardinality fields like request and user IDs, answer queries slowly, and often charge per query. ClickHouse's own tests found an agent issues 6-27 queries per investigation and that even GPT-5 could not reliably find root causes without better context. The proposed fix is a columnar OLAP substrate with months of full-fidelity telemetry, sparse primary indexes, fast vectorized queries and standard SQL that LLMs already know. The reference architecture adds OpenTelemetry ingestion, logs, metrics and traces in MergeTree tables, and context tables for deployments and feature flags, with humans approving every action instead of auto-remediation.

  • Dead Ends or Data Goldmines? Investment Insights from Two Years of AI-Powered Postmortem Analysis

    Zalando Engineering mediumAdept

    Zalando built a multi-stage LLM pipeline (summarization, classification, analyzer digests, cross-incident patterns, investment opportunities) to mine thousands of postmortems for recurring failure patterns in its datastores: Postgres, DynamoDB, ElastiCache, S3 and Elasticsearch. They chose chained single-purpose prompts in a map-fold pattern over large-context models to avoid "lost in the middle" effects, cost and latency. Strict no-inference prompts and negative examples counter hallucinations and surface attribution errors. NotebookLM alone gave roughly a 3x speedup but hallucinated and lost context, and human curation at each stage remains essential for trust and accuracy.

  • Iterating Towards LLM Reliability with Evaluation Driven Development

    LangChain mediumAdept

    Dosu, an AI teammate that triages GitHub issues and answers code questions, uses evaluation driven development (EDD): ship a behavior with a few evals, monitor production for failure modes, add failing examples to offline eval datasets, iterate, and relaunch. As usage grew to thousands of repositories, manual log grepping stopped scaling, so the team adopted LangSmith via its `@traceable` SDK decorator to trace function inputs, rendered prompts and LLM outputs in one trace. They find failures by searching on explicit feedback, user sentiment, internal errors and response latency, which surfaced cases like very slow responses to huge log pastes. Next they plan to build eval datasets automatically from production traffic.

  • Building Investigations: what it takes to build an AI SRE

    incident.io mediumAdept

    Building a reliable AI SRE took incident.io two years, far longer than the first promising prototype suggested, and the hard work sat in four areas around the model. Accuracy is measured by backtesting against past incidents frozen in time, where the main difficulty is keeping future information (fix PRs, post-mortems, root-cause messages) from leaking into the inputs. The harness fans out across data sources and uses an adversarial agent to challenge each hypothesis; its findings data model went through five versions, from free-form essays to evidence-backed, discountable records written in waves. Heads-up messages must pass layered mechanical checks, 'vibe' checks and tone tuning, and are LLM-graded for novelty and accuracy. Telemetry queries are summarized and graphed for the agent, and a nightly 'Explore' process re-validates stored memories so they stay correct as the organization changes.

  • Detecting malicious pull requests at scale with LLMs

    Datadog Engineering mediumAdept

    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. Large diffs are recursively chunked at file markers, then newlines, then midpoints, and the most severe chunk verdict wins, with depth and chunk limits to bound cost. A hand-curated, weekly-updated dataset of real and simulated attacks, prompt-level false-positive exclusions, balanced accuracy as the metric, shadow-mode triage and red teaming cut false positives from over 10% to 0.03%. On the curated set it reached over 99.3% accuracy and caught the tj-actions and Nx s1ngularity malicious commits.

The quest for software engineering knowledge.

Look:
Layout: