AI search engine and MCP server for bots and agents. One Rust binary indexes code, docs, logs, JSONL/CSV and PDFs for BM25 full-text, vector and hybrid search, code search without grep, agent memory and RAG. Elasticsearch-compatible API; Corpus Hub serves hundreds of reference memory corpora.
Rust agent-memoryai-agentsbm25claude-codeclicode-searchcursordatabaseelasticsearchfull-text-searchhybrid-searchjsonllocal-firstmcpmcp-servermodel-context-protocolragrustsearch-enginevector-search
<!DOCTYPE html>
<html lang="en" data-theme="day">
<head>
<!-- ga4:begin — generated by scripts/seo/seo_head.py · do not hand-edit -->
<!-- Google tag (gtag.js) -->
<script async src="https://www.googletagmanager.com/gtag/js?id=G-Z77ETCDJYL"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());
gtag('config', 'G-Z77ETCDJYL');
</script>
<!-- ga4:end -->
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>XERJ.ai — Use case: unified observability</title>
<meta name="description" content="Logs, metrics and traces in one engine with one query language and one bill, instead of Loki or Splunk plus Prometheus plus Tempo. Measured vs ES 8.13.">
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Big+Shoulders+Display:wght@400;700;800;900&family=Inter:wght@400;500;600;700&family=IBM+Plex+Sans:wght@400;500;600;700&family=JetBrains+Mono:wght@400;500;700&display=swap" rel="stylesheet">
<link rel="icon" href="data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'><rect width='100' height='100' fill='%230b0b0d'/><text x='50' y='68' font-size='60' font-family='Big Shoulders Display,sans-serif' font-weight='900' fill='%23ffc400' text-anchor='middle'>X</text></svg>">
<script src="/theme.js"></script>
<link rel="stylesheet" href="/style.css?v=uc1023">
<!-- seo:begin — generated by scripts/seo/fix_heads.py · do not hand-edit -->
<link rel="canonical" href="https://xerj.org/use-cases/unified-observability">
<meta property="og:site_name" content="XERJ.ai">
<meta property="og:type" content="website">
<meta property="og:title" content="XERJ.ai — Use case: unified observability">
<meta property="og:description" content="Logs, metrics and traces in one engine with one query language and one bill, instead of Loki or Splunk plus Prometheus plus Tempo. Measured vs ES 8.13.">
<meta property="og:url" content="https://xerj.org/use-cases/unified-observability">
<meta property="og:image" content="https://xerj.org/og/xerj-card.png">
<meta property="og:image:width" content="1200">
<meta property="og:image:height" content="630">
<meta property="og:image:alt" content="XERJ.ai — the search engine built for AI agents">
<meta property="og:locale" content="en_US">
<meta name="twitter:card" content="summary_large_image">
<meta name="twitter:title" content="XERJ.ai — Use case: unified observability">
<meta name="twitter:description" content="Logs, metrics and traces in one engine with one query language and one bill, instead of Loki or Splunk plus Prometheus plus Tempo. Measured vs ES 8.13.">
<meta name="twitter:image" content="https://xerj.org/og/xerj-card.png">
<script type="application/ld+json">
{
"@context": "https://schema.org",
"@type": "Organization",
"@id": "https://xerj.org/#organization",
"name": "XERJ",
"alternateName": "XERJ.ai",
"url": "https://xerj.org/",
"logo": "https://xerj.org/brandbook/xerj-mark.svg",
"description": "A new way for AI to search for data: one local Rust binary that indexes your code, docs, specs and logs, plus Corpus Hub packs, and returns cited answers.",
"sameAs": [
"https://github.com/xerj-org/xerj",
"https://x.com/xerj_org"
]
}
</script>
<script type="application/ld+json">
{
"@context": "https://schema.org",
"@type": "WebSite",
"@id": "https://xerj.org/#website",
"name": "XERJ.ai",
"url": "https://xerj.org/",
"inLanguage": "en",
"publisher": {
"@id": "https://xerj.org/#organization"
}
}
</script>
<script type="application/ld+json">
{
"@context": "https://schema.org",
"@type": "WebPage",
"name": "XERJ.ai — Use case: unified observability",
"description": "Logs, metrics and traces in one engine with one query language and one bill, instead of Loki or Splunk plus Prometheus plus Tempo. Measured vs ES 8.13.",
"url": "https://xerj.org/use-cases/unified-observability",
"image": "https://xerj.org/og/xerj-card.png",
"inLanguage": "en",
"dateModified": "2026-10-24",
"isPartOf": {
"@id": "https://xerj.org/#website"
},
"mainEntityOfPage": {
"@type": "WebPage",
"@id": "https://xerj.org/use-cases/unified-observability"
}
}
</script>
<script type="application/ld+json">
{
"@context": "https://schema.org",
"@type": "BreadcrumbList",
"itemListElement": [
{
"@type": "ListItem",
"position": 1,
"name": "Home",
"item": "https://xerj.org/"
},
{
"@type": "ListItem",
"position": 2,
"name": "Use cases",
"item": "https://xerj.org/use-cases"
},
{
"@type": "ListItem",
"position": 3,
"name": "Unified observability"
}
]
}
</script>
<!-- seo:end -->
</head>
<body>
<!-- nav -->
<nav class="nav" aria-label="Primary">
<a href="/" class="brand">XERJ</a>
<a href="/product">PRODUCT</a>
<a href="/use-cases" class="active">USE CASES</a>
<a href="/answers/">ANSWERS</a>
<a href="/benchmarks/">BENCHMARKS</a>
<a href="/blog/">BLOG</a>
<span class="spacer"></span>
<a href="/for-agents">FOR AGENTS</a>
<a href="/docs/">DOCS</a>
<a href="/playground">DASHBOARDS</a>
<a href="https://hub.xerj.org" rel="external">HUB</a>
<a class="nav-stars" href="https://github.com/xerj-org/xerj" rel="external" title="XERJ on GitHub" aria-label="XERJ on GitHub, 14,225 stars"><svg viewBox="0 0 16 16" width="14" height="14" aria-hidden="true"><path d="M8 0C3.58 0 0 3.58 0 8c0 3.54 2.29 6.53 5.47 7.59.4.07.55-.17.55-.38 0-.19-.01-.82-.01-1.49-2.01.37-2.53-.49-2.69-.94-.09-.23-.48-.94-.82-1.13-.28-.15-.68-.52-.01-.53.63-.01 1.08.58 1.23.82.72 1.21 1.87.87 2.33.66.07-.52.28-.87.51-1.07-1.78-.2-3.64-.89-3.64-3.95 0-.87.31-1.59.82-2.15-.08-.2-.36-1.02.08-2.12 0 0 .67-.21 2.2.82.64-.18 1.32-.27 2-.27.68 0 1.36.09 2 .27 1.53-1.04 2.2-.82 2.2-.82.44 1.1.16 1.92.08 2.12.51.56.82 1.27.82 2.15 0 3.07-1.87 3.75-3.65 3.95.29.25.54.73.54 1.48 0 1.07-.01 1.93-.01 2.2 0 .21.15.46.55.38A8.013 8.013 0 0016 8c0-4.42-3.58-8-8-8z"/></svg><span class="nav-stars-n" data-gh-stars="14225">★ 14.2k</span></a>
<a href="https://x.com/xerj_org" rel="external" title="XERJ on X" style="display:inline-flex;align-items:center"><svg width="15" height="15" viewBox="0 0 24 24" fill="currentColor" aria-hidden="true"><path d="M18.244 2.25h3.308l-7.227 8.26 8.502 11.24H16.17l-5.214-6.817L4.99 21.75H1.68l7.73-8.835L1.254 2.25H8.08l4.713 6.231zm-1.161 17.52h1.833L7.084 4.126H5.117z"/></svg></a>
<a href="https://discord.com/invite/yetXFusXfs" rel="external" title="XERJ on Discord" style="display:inline-flex;align-items:center"><svg width="15" height="15" viewBox="0 0 24 24" fill="currentColor" aria-hidden="true"><path d="M20.317 4.37a19.79 19.79 0 00-4.885-1.515.074.074 0 00-.079.037c-.21.375-.444.864-.608 1.25a18.27 18.27 0 00-5.487 0 12.64 12.64 0 00-.617-1.25.077.077 0 00-.079-.037A19.74 19.74 0 003.677 4.37a.07.07 0 00-.032.027C.533 9.046-.32 13.58.099 18.057a.082.082 0 00.031.057 19.9 19.9 0 005.993 3.03.078.078 0 00.084-.028c.462-.63.874-1.295 1.226-1.994a.076.076 0 00-.041-.106 13.1 13.1 0 01-1.872-.892.077.077 0 01-.008-.128 10.2 10.2 0 00.372-.292.074.074 0 01.077-.01c3.928 1.793 8.18 1.793 12.062 0a.074.074 0 01.078.01c.12.098.246.198.373.292a.077.077 0 01-.006.127 12.3 12.3 0 01-1.873.892.077.077 0 00-.041.107c.36.698.772 1.362 1.225 1.993a.076.076 0 00.084.028 19.84 19.84 0 006.002-3.03.077.077 0 00.032-.054c.5-5.177-.838-9.674-3.549-13.66a.061.061 0 00-.031-.03zM8.02 15.33c-1.183 0-2.157-1.085-2.157-2.419 0-1.333.956-2.419 2.157-2.419 1.21 0 2.176 1.096 2.157 2.42 0 1.333-.956 2.418-2.157 2.418zm7.975 0c-1.183 0-2.157-1.085-2.157-2.419 0-1.333.955-2.419 2.157-2.419 1.21 0 2.176 1.096 2.157 2.42 0 1.333-.946 2.418-2.157 2.418z"/></svg></a>
<span class="theme">
<button type="button" data-theme="day" class="active">DAY</button>
<span class="dash">·</span>
<button type="button" data-theme="night">NIGHT</button>
</span>
</nav>
<nav class="uc-subnav" aria-label="Use cases">
<a href="/use-cases">ALL USE CASES</a>
<a href="/use-cases/zero-token-ai-search">ZERO-TOKEN SEARCH</a>
<a href="/use-cases/ai-search-retrieval">AI SEARCH</a>
<a href="/use-cases/second-brain">SECOND BRAIN · MCP</a>
<a href="/use-cases/semantic-analytics">SEMANTIC ANALYTICS</a>
<a href="/use-cases/code-security-audit">AI SECURITY REVIEW</a>
<a href="/use-cases/security-analytics">SECURITY ANALYTICS</a>
<a href="/use-cases/operational-intelligence">OPERATIONAL INTELLIGENCE</a>
<a href="/use-cases/unified-observability" class="active">OBSERVABILITY</a>
<a href="/use-cases/elasticsearch-replacement">ES REPLACEMENT</a>
</nav>
<div class="uc-hero">
<h1 class="uc-eyebrow">Use case: unified observability</h1>
<p class="uc-display">UNIFIED<br><span class="accent">OBSERVABILITY.</span></p>
<p class="uc-lead">Your observability stack has three separate storage backends: Loki or Splunk for logs, Prometheus for metrics, Tempo or Jaeger for traces. Three query languages, three retention policies, three scaling stories. XERJ stores all three signal types in one engine with one query language and one bill.</p>
</div>
<div class="prompt-card answer-first" id="short-answer" style="max-width:820px;margin:0 0 var(--sp-8);">
<span class="prompt-label">SHORT ANSWER · UPDATED 2026-10-24</span>
<p>XERJ stores logs, metrics and traces in one engine with one query language and one retention policy. It replaces separate stores such as Loki or Splunk, Prometheus, and Tempo or Jaeger. The measurements below compare it with Elasticsearch 8.13.</p>
</div>
<!-- Hero chart -->
<section class="scene-section" style="border-top:0; padding-top:0;">
<div class="viz-block">
<div class="kicker"><span>SIGNAL VOLUME · LOGS + METRICS + TRACES · 24H</span></div>
<div class="flowband-wrap">
<svg class="chart flowband-svg" viewBox="0 0 1200 16" preserveAspectRatio="none" style="width:100%; height:16px; overflow:visible; display:block;">
<line x1="0.0" y1="2" x2="0.0" y2="14" stroke="currentColor" stroke-width="1" stroke-opacity="0.4"/><line x1="0.0" y1="8" x2="654.5" y2="8" stroke="currentColor" stroke-width="2" stroke-opacity="1.00"/><line x1="654.5" y1="2" x2="654.5" y2="14" stroke="currentColor" stroke-width="1" stroke-opacity="0.4"/><line x1="654.5" y1="8" x2="981.8" y2="8" stroke="currentColor" stroke-width="2" stroke-opacity="0.84"/><line x1="981.8" y1="2" x2="981.8" y2="14" stroke="currentColor" stroke-width="1" stroke-opacity="0.4"/><line x1="981.8" y1="8" x2="1200.0" y2="8" stroke="currentColor" stroke-width="2" stroke-opacity="0.68"/><line x1="1200.0" y1="2" x2="1200.0" y2="14" stroke="currentColor" stroke-width="1" stroke-opacity="0.4"/>
</svg>
<div class="flowband-labels" style="display:flex; width:100%; margin-top:8px;">
<div class="fb-seg" style="flex:840000 0 0; min-width:0; opacity:1.00;">
<div class="fb-label">LOGS</div>
<div class="fb-value">840K events/day · 54.5%</div>
</div>
<div class="fb-seg" style="flex:420000 0 0; min-width:0; opacity:0.84;">
<div class="fb-label">METRICS</div>
<div class="fb-value">420K events/day · 27.3%</div>
</div>
<div class="fb-seg" style="flex:280000 0 0; min-width:0; opacity:0.68;">
<div class="fb-label">TRACES</div>
<div class="fb-value">280K events/day · 18.2%</div>
</div></div>
</div>
</div>
</section>
<div class="pain-solve">
<div class="pain">
<h3>THE THREE-SYSTEM PROBLEM</h3>
<ul><li><strong>Three systems means triple the ops.</strong> Prometheus needs compactors, Loki needs ingesters, Tempo needs compactors + ingesters. Each has its own storage, its own scaling model, its own failure modes.</li><li><strong>Correlation is manual.</strong> "Show me the trace for the log that fired the alert that breached the metric threshold" requires copy-pasting IDs across three UIs.</li><li><strong>Splunk pricing is unpredictable.</strong> Ingest-based pricing penalizes verbosity. Teams suppress logs to control cost, which defeats the purpose of observability.</li><li><strong>No unified retention.</strong> Metrics keep 15 days, logs keep 30, traces keep 7 — each configured differently, each with its own pruning bugs.</li></ul>
</div>
<div class="solve">
<h3>THE XERJ ANSWER</h3>
<ul><li><strong>One store for all three signals.</strong> Logs, metrics, and traces are just documents with different schemas. XERJ stores them in one engine with one WAL, one compression pipeline, one retention policy.</li><li><strong>OTLP in, Prometheus out.</strong> Native OTLP log/trace ingest + a Prometheus-compatible <code>/v1/metrics</code> scrape endpoint. Drop-in for existing collectors.</li><li><strong>Unified queries.</strong> Correlate across signal types with one query language. "Show me logs where trace_id = X and service = Y" is one <code>_search</code> call.</li><li><strong>One retention number.</strong> <code>[logs] retention_days = 30</code> applies to everything. No per-signal configuration.</li></ul>
</div>
</div>
<div class="proof-row">
<div class="stat">
<div class="num">3→1</div>
<div class="label">SYSTEMS REPLACED</div>
<div class="ctx">Splunk + Prometheus + Tempo → one xerj binary</div>
</div>
<div class="stat">
<div class="num">1</div>
<div class="label">QUERY LANGUAGE</div>
<div class="ctx">ES-compatible DSL for logs, metrics, and traces</div>
</div>
<div class="stat">
<div class="num">2.4×</div>
<div class="label">FASTER DATE-HISTOGRAM</div>
<div class="ctx">p50 0.37 ms vs 0.88 ms · vs ES 8.13</div>
</div>
</div>
<section class="scene-section">
<div class="viz-block">
<div class="kicker"><span>REPRODUCIBLE · ES 8.13 · demo/playbooks/SCORECARD.md</span></div>
<div class="cmp-bars">
<div class="cmp-bars-head">
<span></span>
<span class="cmp-a">XERJ</span>
<span class="cmp-b">ES 8.13</span>
</div>
<div class="cmp-bars-row">
<span class="cmp-label">Range filter</span>
<span class="cmp-val cmp-a">
<span class="cmp-bar" style="width:25.9%;"></span>
<span class="cmp-num">1.34 ms</span>
</span>
<span class="cmp-val cmp-b">
<span class="cmp-bar" style="width:90.0%;"></span>
<span class="cmp-num">4.66 ms <span class="cmp-ratio">3.5×</span></span>
</span>
</div><div class="cmp-bars-row">
<span class="cmp-label">Terms + avg sub-agg</span>
<span class="cmp-val cmp-a">
<span class="cmp-bar" style="width:7.3%;"></span>
<span class="cmp-num">0.38 ms</span>
</span>
<span class="cmp-val cmp-b">
<span class="cmp-bar" style="width:22.4%;"></span>
<span class="cmp-num">1.16 ms <span class="cmp-ratio">3.1×</span></span>
</span>
</div><div class="cmp-bars-row">
<span class="cmp-label">Date-histogram agg</span>
<span class="cmp-val cmp-a">
<span class="cmp-bar" style="width:7.1%;"></span>
<span class="cmp-num">0.37 ms</span>
</span>
<span class="cmp-val cmp-b">
<span class="cmp-bar" style="width:17.0%;"></span>
<span class="cmp-num">0.88 ms <span class="cmp-ratio">2.4×</span></span>
</span>
</div><div class="cmp-bars-row">
<span class="cmp-label">Cardinality agg</span>
<span class="cmp-val cmp-a">
<span class="cmp-bar" style="width:22.2%;"></span>
<span class="cmp-num">1.15 ms</span>
</span>
<span class="cmp-val cmp-b">
<span class="cmp-bar" style="width:37.1%;"></span>
<span class="cmp-num">1.92 ms <span class="cmp-ratio">1.7×</span></span>
</span>
</div><div class="cmp-bars-row">
<span class="cmp-label">Avg aggregation</span>
<span class="cmp-val cmp-a">
<span class="cmp-bar" style="width:22.4%;"></span>
<span class="cmp-num">1.16 ms</span>
</span>
<span class="cmp-val cmp-b">
<span class="cmp-bar" style="width:43.1%;"></span>
<span class="cmp-num">2.23 ms <span class="cmp-ratio">1.9×</span></span>
</span>
</div><div class="cmp-bars-row">
<span class="cmp-label">Terms aggregation</span>
<span class="cmp-val cmp-a">
<span class="cmp-bar" style="width:25.9%;"></span>
<span class="cmp-num">1.34 ms</span>
</span>
<span class="cmp-val cmp-b">
<span class="cmp-bar" style="width:29.7%;"></span>
<span class="cmp-num">1.54 ms <span class="cmp-ratio">1.15×</span></span>
</span>
</div>
</div>
<p style="margin-top:14px; font-size:12px; letter-spacing:.04em; color:var(--z-mute); font-family:var(--font-data);">P50 · 1M-DOC LLM-TELEMETRY CORPUS · FULL 91-CELL MATRIX AT <a href="/benchmarks/">xerj.org/benchmarks →</a></p>
</div>
</section>
<section class="scene-section">
<h2 class="scene" style="font-size:var(--fs-56);">SEE IT <span class="accent">LIVE.</span></h2>
<p class="wide">The playbook walks the full recipe — schema, ingest command, queries, and the dashboard. The playground runs on seeded data; benchmarks were measured against Elasticsearch 8.13 on 2026-04-14.</p>
<div style="display:flex; gap:var(--sp-6); margin-top:var(--sp-6); flex-wrap:wrap;">
<a href="/docs/playbooks/observability" class="cta" style="font-size:var(--fs-20); padding:var(--sp-4) 0; border-bottom:0; flex:1; min-width:280px;">
<span>OPEN THE PLAYBOOK</span>
<span class="arrow">→</span>
</a>
<a href="/playground" class="cta" style="font-size:var(--fs-20); padding:var(--sp-4) 0; border-bottom:0; flex:1; min-width:280px;">
<span>OPEN THE PLAYGROUND</span>
<span class="arrow">→</span>
</a>
</div>
</section>
<section class="lead-capture" id="demo">
<div class="kicker"><span>READY?</span><span class="dash">·</span><span>REQUEST ACCESS</span></div>
<h3>RUN IT ON<br><span class="accent">YOUR DATA.</span></h3>
<p>Send us a representative OTLP payload (logs + traces) and a Prometheus scrape config. We'll benchmark ingest and show a unified query across all three signal types.</p>
<form class="lead-form" id="leadForm" action="#" method="post" novalidate>
<input type="email" name="email" placeholder="[email protected]" required aria-label="Work email" autocomplete="email" />
<button type="submit" class="demo">SEE THE DEMO <span class="arrow">→</span></button>
<span class="note">We only use this email to send you the binary. Ever.</span>
<span class="ok">✓ THANKS. CHECK YOUR INBOX WITHIN 24 HOURS.</span>
</form>
</section>
<!-- seo:footer-begin — generated by scripts/seo/fix_links.py · do not hand-edit -->
<nav class="footer-map" aria-label="Site map">
<div class="fm-col">
<span class="fm-h">PRODUCT</span>
<a href="/product">PRODUCT</a>
<a href="/architecture/">ARCHITECTURE</a>
<a href="/benchmarks/">BENCHMARKS</a>
<a href="/pricing/">PRICING</a>
<a href="/security/">SECURITY</a>
<a href="/playground">DASHBOARDS</a>
<a href="/demo/">REAL-DATA DEMO</a>
<a href="/aise-demo">PRODUCT TOUR</a>
</div>
<div class="fm-col">
<span class="fm-h">LEARN</span>
<a href="/answers/">ANSWERS</a>
<a href="/compare/">COMPARE</a>
<a href="/use-cases">USE CASES</a>
<a href="/case-studies">CASE STUDIES</a>
<a href="/industries/">INDUSTRIES</a>
<a href="/blog/">BLOG</a>
</div>
<div class="fm-col">
<span class="fm-h">SOLUTIONS</span>
<a href="/solutions/">SOLUTIONS</a>
<a href="/industries/finserv">FINANCIAL SERVICES</a>
<a href="/industries/public-sector">PUBLIC SECTOR</a>
<a href="/industries/healthcare">HEALTHCARE</a>
<a href="/industries/retail">RETAIL</a>
<a href="/use-cases/code-security-audit">AI CODE-SECURITY AUDIT</a>
<a href="/use-cases/semantic-analytics">SEMANTIC ANALYTICS</a>
<a href="/resources/">SALES KIT</a>
</div>
<div class="fm-col">
<span class="fm-h">DOCS</span>
<a href="/docs/">DOCUMENTATION</a>
<a href="/docs/quickstart">QUICKSTART</a>
<a href="/docs/install">INSTALL</a>
<a href="/docs/migration-from-es">MIGRATE FROM ELASTICSEARCH</a>
<a href="/docs/recipes/">RECIPES</a>
<a href="/docs/agents/">DOCS FOR AI</a>
<a href="/for-agents">FOR AI AGENTS</a>
<a href="/agent-search/">AGENTIC SEARCH DEMO</a>
<a href="/llms.txt">LLMS.TXT</a>
<a href="https://github.com/xerj-org/xerj" rel="external">GITHUB</a>
</div>
</nav>
<!-- seo:footer-end -->
<footer class="footer">
<span>XERJ.AI · USE CASES · V0.1</span>
<span>SEARCH FOR THE AGENT ERA</span>
<span><a href="/">HOME</a> · <a href="/use-cases">ALL USE CASES</a> · <a href="/docs/">DOCS</a> · <a href="/playground">DASHBOARDS</a> · <a href="/llms.txt">LLMS.TXT</a></span>
</footer>
<script>
(function () {
const root = document.documentElement;
const form = document.getElementById('leadForm');
if (form) {
form.addEventListener('submit', (e) => {
e.preventDefault();
const email = form.querySelector('input[type=email]').value.trim();
if (!email || !email.includes('@')) return;
console.log('[xerj lead]', email);
form.classList.add('sent');
});
}
})();
</script>
</body>
</html>