惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

Apple Machine Learning Research
Apple Machine Learning Research
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
G
Google Developers Blog
博客园 - 司徒正美
J
Java Code Geeks
aimingoo的专栏
aimingoo的专栏
A
About on SuperTechFans
博客园 - 三生石上(FineUI控件)
WordPress大学
WordPress大学
T
The Blog of Author Tim Ferriss
D
Docker
大猫的无限游戏
大猫的无限游戏
D
DataBreaches.Net
腾讯CDC
V
Visual Studio Blog
freeCodeCamp Programming Tutorials: Python, JavaScript, Git & More
C
Check Point Blog
M
MIT News - Artificial intelligence
Jina AI
Jina AI
I
InfoQ
雷峰网
雷峰网
The Cloudflare Blog
美团技术团队
Engineering at Meta
Engineering at Meta

DEV Community

Authentication Security Deep Dive: From Brute Force to Salted Hashing (With Java Examples) Why AI Systems Don’t Fail — They Drift Spilling beans for how i learn for exam😁"Reinforcement Learning Cheat Sheet" I Replaced Chrome with Safari for AI Browser Automation. Here's What Broke (and What Finally Worked) How Python Borrows Other People's Work The $40 Architecture: Processing 1 Billion API Requests with 99.99% Uptime Vibe Coding: A Workflow Guide (From Zero to SaaS) Most webhook security guides protect the wrong side. The scary part is delivery. Headless CMS for TanStack Start: Build a Blog with Cosmic EU Age Verification App "Hacked in 2 Minutes" — What Actually Happened Comfy Cloud’s delete function does not actually remove files Running AI Models on GPU Cloud Servers: A Beginner Guide Event-driven media intelligence with AWS Step Functions and Bedrock I scored 500 AI prompts across 8 quality dimensions — here's what broke How to Call Google Gemini API from Next.js (Free Tier, No Backend Needed) The Portal Protocol: Reclaiming Human Connection in the Age of AI How to Fix Your Team's Scattered Knowledge Problem With a Self-Hosted Forum Intro to tc Cloud Functors: A Graph-First Mental Model for the Modern Cloud Designing Multi-Tenant Backends With Both Ownership and Team Access I Built a Neumorphic CSS Library with 77+ Components — Here's What I Learned PostgreSQL Performance Optimization: Why Connection Pooling Is Critical at Scale Cómo construí un SaaS multi-rubro para gestionar expensas en Argentina con FastAPI + Vue 3 🚀 I Built an Ethical Hacking Scanner Tool – Open Source Project I Replaced /usage and /context in Claude Code With a Single Statusline A Pythonic Way to Handle Emails (IMAP/SMTP) with Auto-Discovery and AI-Ready Design I Collected 8.9 Million Polymarket Price Points — Here's What I Found About How Markets Really Move EcoTrack AI — Carbon Footprint Tracker & Dashboard Everyone's Using AI. No One Agrees How. 5 self-hosted ebook managers worth trying in 2026 Building Your First AI Agent with LangChain: From Chatbot to Autonomous Assistant
Why Setting Up Observability Takes Forever (And What To D...
Jordan · 2026-06-16 · via DEV Community

Everyone talks about observability like it is a solved problem. Pick a stack, wire it up, done. In practice, every team I have seen attempt this discovers the same thing: observability becomes its own project. A week becomes a month. The stack itself needs babysitting. And at some point you realise half the job is keeping the monitoring alive rather than actually using it.

This is not a tooling problem. It is a platform problem. And until you treat it that way, you will keep having the same fights.

The Real Reasons It Takes So Long

Cardinality kills you before you notice:

Prometheus is the default metrics choice for good reason. It is powerful, well supported, and the ecosystem around it is mature. It is also extremely sensitive to cardinality, and most teams find this out the hard way.

One bad label choice, one team emitting high cardinality identifiers like request IDs or user IDs as metric labels, and you are tuning memory instead of building features. The problem compounds because cardinality issues are invisible until they are not. Everything looks fine until Prometheus OOMs at 2am.

The fix is not a Prometheus configuration change. It is treating high cardinality labels as a platform policy problem. If teams can emit arbitrary labels without guardrails, you will be fighting this forever. Recording rules and metric aggregation at the collector layer before data hits Prometheus buys significant headroom. But this requires a platform decision, not a per-team one.

Log volume costs spiral without intervention

The instinct is to keep everything. The reality is that keeping everything in hot storage is expensive, and teams only discover how expensive when the bill arrives.

The pattern that works is tiered retention with aggressive filtering at the collector level before anything hits storage. Drop debug logs in production at the OTel collector, not at query time. Most teams do it the wrong way around, paying for storage they never query and then making panicked retention cuts that they regret during the next incident.

Deciding what to keep, at what tier, for how long, is not a decision individual teams should be making independently. It is a platform decision with cost, compliance, and operational implications.

The OTel collector YAML problem

OpenTelemetry is the right long term bet. The collector is genuinely powerful. The configuration is also deeply unpleasant until you have been through it a few times.

Receivers, processors, exporters, pipelines, the YAML surface area is large and the blast radius of a misconfiguration is real. The mistake most platform teams make is letting every team write their own collector configuration. You end up with as many collector configs as you have teams, each slightly different, each with its own quirks, none of them easy to maintain at scale.

Treat the collector config as a platform concern. Own the base configuration. Template it. Let teams extend it within defined guardrails. This is the difference between an observability platform and a collection of observability configurations that happen to exist in the same organisation.

Nobody owns the stack

The deeper problem underneath all of these is ownership. Observability stacks assembled from open source components do not own themselves. Somebody has to be responsible for the Prometheus upgrade, the Loki retention policy, the Grafana dashboard standards, the OTel collector base config.

In most organisations nobody explicitly owns this. It grows organically, maintained by whoever has time, which means it is maintained by nobody consistently. The result is a stack that works until it does not, and when it does not, the blame is diffuse and the fix is slow.

What a Sane Stack Looks Like in 2026

For teams starting fresh or looking to reduce the operational burden of what they already have, here is what I would recommend based on what I have seen work in practice.

Metrics: Consider VictoriaMetrics instead of vanilla Prometheus if cardinality is already causing problems. It is drop-in compatible with the Prometheus ecosystem, significantly more memory efficient at scale, and requires less tuning. For smaller deployments Prometheus is still fine, just go in with cardinality guardrails from day one.

Logs: Loki with aggressive retention policies and collector-level filtering. Accept that you will not keep everything and make that decision deliberately rather than reactively.

Traces: Tempo. It integrates cleanly with the rest of the Grafana ecosystem and the operational overhead is reasonable.

Frontend: Grafana as the unified query and visualisation layer across all three signals. The cross-signal correlation capability is where the real value is, being able to jump from a metric spike to the relevant logs to the relevant traces without switching tools.

Collector: OpenTelemetry Collector as the single ingestion layer. Own the base config at the platform level.

The Shift That Actually Fixes It

The teams I have seen get observability right treat it as a product they build and maintain for their engineering organisation, not a set of tools they install and hope for the best.

That means a dedicated owner or team. A roadmap. An adoption process that brings engineering teams onto the platform rather than letting everyone build their own. Standards for what good looks like. And a feedback loop with the teams consuming the platform so you know what is actually useful versus what is just noise on a dashboard nobody looks at.

Observability taking forever to set up is a symptom. The underlying condition is treating it as an infrastructure task rather than a platform capability. Fix the ownership model and the tooling problems become manageable.

I cover observability as a platform discipline in depth in The Comprehensive Guide to Platform Engineering, including reference architectures, retention strategy, and how to build the business case for treating observability as a first class platform investment.