Blog institucional

Data Infrastructure Observability: What You Can't Fix If You Can't See It

Data Infrastructure Observability: What You Can't Fix If You Can't See It

Most infrastructure failures don't arrive as an alarm. They arrive as a question nobody can answer: why is this analysis returning different numbers than last week?

By the time that question gets asked, something in the pipeline has already been wrong for hours — or days. The data kept flowing. The system kept running. But somewhere between the source and the output, a silent degradation occurred that no dashboard flagged, no alert caught, and no log made obvious.

This is the real infrastructure problem in large-scale public data environments. Not availability. Observability.

The Difference Between Running and Working

Infrastructure teams are good at knowing when a system is down. They have uptime metrics, health checks, restart policies. The tooling for "is it running?" is mature and well-understood.

The tooling for "is it working correctly?" is not.

In public data infrastructure — environments that process signals from the open web at scale — "working" is not a binary state. A pipeline can ingest at normal throughput while silently degrading the quality of what it processes. Sources can shift their structure without breaking the connection. Parsing layers can start producing malformed fields that pass validation because the schema hasn't been updated to reflect the real-world change. Deduplication logic can drift when upstream sources start syndicating content differently.

None of these failures look like failures from the outside. The system is up. The data is flowing. The numbers, however, are wrong.

What Observability Actually Requires in TDM Environments

Text and Data Mining (TDM) pipelines operating under the framework of Art. 4 of Directive (EU) 2019/790 process publicly available content — not stored copies, not redistributed material, but derived analysis. That distinction matters legally, but it also matters technically: the input is live, dynamic, and structurally heterogeneous.

Observing that kind of pipeline requires instrumentation at layers most teams underinstrument:

Content structure drift. Sources evolve. The HTML layout that your extraction layer was calibrated against six months ago may no longer match the current output. A well-instrumented system detects this by tracking field population rates over time — if a field that historically returned values in 94% of records suddenly drops to 61%, that's a signal, not noise.

Volume anomalies per source cluster. Aggregate volume metrics hide source-level problems. A source that goes quiet contributes zero records to the total — which is invisible if you're only watching the sum. Per-cluster volume tracking with rolling baselines is the minimum viable instrumentation for any environment covering thousands of sources.

Latency distribution, not just average latency. Average latency is nearly useless as an observability metric in heterogeneous pipelines. What matters is the tail: the p95 and p99 latency per pipeline stage. A stage that processes 95% of records in under two seconds but takes 40 seconds for the remaining 5% will average just fine — and cause silent backpressure that degrades everything downstream.

Deduplication effectiveness over time. If your deduplication rate spikes or collapses without a corresponding change in upstream behavior, something has changed in the content ecosystem you're observing. That change is itself a signal worth investigating.

The Instrumentation Gap Most Teams Ignore

There is a class of failure that sits between infrastructure observability and data quality monitoring. It's not a server problem. It's not a data cleanliness problem. It's a semantic drift problem.

The pipeline is healthy. The data is clean by every schema rule. But the meaning of the data has shifted because the real-world phenomenon it tracks has shifted — and the system has no way to detect that.

This happens in public data environments when the coverage mix changes. If a monitoring pipeline was calibrated against a certain distribution of source types — and that distribution shifts because some source clusters become more active while others go quiet — the outputs will reflect a different slice of the public conversation than intended. The numbers will still be internally consistent. They just won't mean what the analyst assumes they mean.

Detecting this requires observability at the semantic layer: tracking not just what comes in, but where it comes from and whether that origin distribution matches historical baselines. This is not a standard feature of off-the-shelf monitoring stacks. It has to be built deliberately.

Actionable Instrumentation: Where to Start

If you're building or auditing observability in a public data infrastructure stack, prioritize in this order:

  1. Per-source volume tracking with rolling 7-day and 30-day baselines. Flag any source cluster that deviates more than 30% from its baseline without a known cause.

  2. Field population rate tracking per extraction layer. For every structured field your pipeline produces, track the percentage of records where that field is populated. Alert when it drops more than 15 points over 48 hours.

  3. Latency percentiles (p50, p95, p99) per pipeline stage. Not averages. Review these daily, not in response to incidents.

  4. Deduplication rate trend. A sudden change in how often your system identifies duplicate content is one of the earliest signals that something has changed upstream — either in the sources or in how you're observing them.

  5. Source origin distribution audit. Weekly or biweekly, review whether the mix of source clusters contributing to your output has shifted. If it has, flag it for analyst review before the next reporting cycle.

None of these require exotic tooling. Most can be implemented with time-series metrics storage and basic alerting thresholds. What they require is the deliberate decision to instrument at this level — which most teams defer until after a visible failure.

The Cost of Deferral

Observability debt accumulates quietly. Every week that passes without proper instrumentation is a week where silent degradations compound. By the time a failure surfaces — usually when an analyst or client notices that something doesn't add up — the root cause is buried under weeks of unlogged state changes.

In public data infrastructure, where the input is inherently dynamic and the environment is outside your direct control, observability is not a nice-to-have. It is the mechanism by which you distinguish between a system that is running and a system that is working.

At TrawlingWeb, the architecture for processing the public internet at scale is built around this distinction. The question is never just whether the pipeline is up. The question is whether what it produces can be trusted — and that question requires instrumentation to answer.

If your current monitoring stack can't answer it, that's the infrastructure problem worth solving first.

← Volver al blog Hablar con el equipo