Platform Engineering · Observability & Security Operations
Observability Without Lock-In:
One Open Stack for Every Estate
Most enterprises do not have an observability problem. They have nine of them — one per platform, each with its own agent, its own query language and its own invoice. The fix is not another tool. It is one open seam that every estate feeds and every backend can read.
What this article argues
- Standardise the seam, not the vendor. OpenTelemetry is the only layer you should treat as non-negotiable. Everything downstream — store, dashboard, alerting, SIEM — becomes a replaceable implementation detail the moment your telemetry speaks OTLP.
- One pipeline carries operations and security. The same collector fleet that feeds your dashboards can fork a copy of the same events to detection and compliance. Two destinations, one agent footprint, one set of resource attributes.
- Choose your storage camp deliberately. Assembled best-of-breed buys you depth and costs you integration. A single columnar store buys you simplicity and costs you optionality. Both are defensible; drifting between them is not.
- Collection is a footprint decision, not a religion. Published benchmarks put the lightweight log shipper ahead of the general-purpose collector on CPU and memory by a wide margin. On dense nodes that difference is real money.
- Read the licence before the README. Several of the most popular components in this space are AGPLv3, some are MPL, some are GPLv2, and some have an enterprise directory inside an otherwise permissive repository.
- Profiling is the fourth signal, and it is still alpha. Plan for it, instrument around it, but do not build a compliance commitment on a specification with no committed general-availability date.
- Cardinality is the cost driver, not retention. Most runaway observability bills are a label someone added on a Tuesday, not a decision about how long to keep data.
- The platform is finished when a new service is observable by default. If onboarding still requires a ticket, you have bought tools, not built a platform.
Section 01The real problem is sprawl, not blindness
Walk into any enterprise that has been running for more than five years and ask a simple question: when a payment fails at 02:00, how many consoles does the on-call engineer open before they know whether the cause is the application, the platform or the network? The answer is almost never one. It is usually four, and at least one of those four is a console nobody has had training on since the person who installed it left.
This is the actual condition of enterprise observability. It is not that organisations cannot see their systems. It is that they can see them four times, in four incompatible ways, and the work of reconciling those four views is done by a human being under time pressure in the middle of the night. Every acquisition brought its own monitoring tool. Every cloud migration brought the provider’s native suite. Every security programme bought an agent. Every one of those decisions was locally rational and the aggregate is indefensible.
The cost shows up in three places, and only one of them appears on an invoice.
| Cost | How it presents | Who notices |
|---|---|---|
| Licence and ingest | Per-host, per-agent, per-GB and per-metric-series charges, multiplied across estates because the same host is often instrumented twice by two tools that will not share. | Finance, at renewal |
| Mean time to understand | The interval between “we have an alert” and “we know which layer is wrong” stretches because correlation is manual. This is the part of an outage that engineering can actually compress, and sprawl is what stops it. | Operations, during every incident |
| Portability | Proprietary agents and proprietary query languages mean the telemetry contract is owned by the vendor. Changing backend becomes a re-instrumentation project, which means it never happens, which means the next renewal is not a negotiation. | Architecture, three years too late |
The third one is the one that should worry an architect most, and it is the direct continuation of the argument I made about vendor-agnostic cloud design. Portability in compute and storage is useless if your ability to operate the workload is welded to a telemetry vendor. You can move the application to a new platform in a weekend and still be unable to move the thing that tells you whether the move worked.
The governing idea
Observability becomes portable at the moment instrumentation stops being a vendor’s product and becomes a protocol your code emits. Everything else in this article follows from that one move.
Section 02What vendor-agnostic means here
The phrase gets used loosely, so let me be precise about what it does and does not claim in an observability context.
It does not mean open source everywhere. Vendor-agnostic is a property of interfaces, not of licences. You can build a genuinely portable platform where the storage layer is a commercial service, provided the thing that writes to it speaks a standard protocol and can be pointed somewhere else on a Friday afternoon. Equally, you can assemble a stack entirely from open-source parts and still be locked in, because you wrote three hundred dashboards in one product’s query language and nobody will pay to rewrite them.
It does not mean lowest common denominator. The mistake architects make when they chase portability is designing to the intersection of every platform’s capabilities and ending up with something that is portable and also bad. The better move is to use the standard where the standard is good and accept a deliberate, documented, escapable dependency where it is not.
It means four specific, testable properties.
- The instrumentation is not owned by the backend. Application code and infrastructure agents emit a vendor-neutral format. No proprietary SDK in the critical path of your services.
- The identity of a thing is consistent everywhere. A host, a pod, a service and a team are named the same way in metrics, logs, traces and security events, because they inherit the same resource attributes from the same place.
- The pipeline is configurable, not recompiled. Adding a destination, dropping a noisy label, or forking a copy of security-relevant events to a second system is a config change reviewed in a pull request, not a project.
- The exit has been timed. Somebody has actually pointed a non-production estate at a different backend and measured how long it took. Until that has happened, portability is an assertion.
Portability is not the absence of dependency. It is the presence of a rehearsed, costed exit.
That last property is the one almost nobody has, and it is the only one that will matter on the day it matters. The rest of this article is a concrete stack that makes it cheap to satisfy.
Section 03The reference stack, in eight layers
Here is the whole recommendation in one table, so you can see where the argument lands before reading the reasoning. I have separated what I would insist on from what I would standardise on but trade away, and what I would treat as a deliberate, local choice.
| Layer | Recommendation | Why this one | Stance |
|---|---|---|---|
| 1. Instrumentation | OpenTelemetry SDKs and auto-instrumentation; eBPF zero-code agents where source changes are not possible | The only layer with genuine cross-industry consensus. It is what makes every other row replaceable. | Insist |
| 2. Collection | OpenTelemetry Collector as the gateway tier; a lightweight shipper on dense nodes; Grafana Alloy if you are already in that ecosystem | Decouples producers from stores, and is where filtering, redaction and cost control actually happen. | Insist |
| 3. Storage — metrics | Prometheus, with a long-term engine behind it once one server is no longer enough | PromQL is the closest thing to a portable metrics query language, and the remote-write ecosystem is deep. | Standardise |
| 3. Storage — logs & traces | Either the assembled route or a single columnar store — pick one camp and commit | Both work. Running half of each is how teams end up with two bills and no single view. | Choose |
| 4. Query & dashboards | Grafana for breadth of data sources; dashboards kept in Git, not in the database | Portability of dashboards comes from version control and provisioning, not from the tool. | Standardise |
| 5. Correlation | Consistent resource attributes, exemplars from metrics to traces, trace IDs in log lines, profiles correlated by trace ID | This is the layer that compresses time-to-understand. It is configuration discipline, not a purchase. | Insist |
| 6. Security telemetry | Kernel-level runtime detection on every node; a SIEM fed from the same collector tier | Security questions are observability questions asked with different intent. The collection should not be duplicated. | Insist |
| 7. Policy & posture | Admission policy as code, image and IaC scanning in the pipeline, benchmark auditing on a schedule | Prevention is cheaper than detection, and the findings belong in the same dashboards as everything else. | Standardise |
| 8. Management plane | A service catalogue as the system of record for ownership; SLOs generated from it; cost allocated against it | Without an ownership record, every alert needs a human to route it. This is what turns tools into a platform. | Standardise |
The ordering is not decorative. Layers one and two are where portability is won or lost, which is why they are the only rows marked “insist”. If you do those two well and get every other row wrong, you can fix the others incrementally. If you get those two wrong, nothing else you do is reversible.
Section 04Layer 1 — Instrumentation
OpenTelemetry has effectively settled the instrumentation question. It reached graduated status in the Cloud Native Computing Foundation during 2026, which in practical terms means the procurement objection — “what if this project stalls” — no longer holds. For an architect, graduation is not a badge; it is the removal of a risk line from a review document.
What matters more than the governance milestone is the semantic convention registry, because that is the part that makes telemetry from forty teams comparable. Without a convention, five teams instrument an HTTP status code five different ways and nobody can write one dashboard that works across all of them. Conventions have stabilised in waves rather than all at once: HTTP settled first, databases followed, and others are still in motion. The Kubernetes attributes processor — the component that stamps pod, namespace and workload identity onto every signal — became stable with semantic conventions version 1.42.0 in June 2026, which is the single most useful stabilisation for anyone running a container platform.
Check stability before you commit a contract to it
Not every part of the specification is stable, and the difference matters if you are writing an audit commitment or a vendor SLA against an attribute name. The generative-AI conventions are the clearest example: as of early December 2026 every gen_ai.* attribute, span, metric and event is still marked Development, and the conventions were moved out of the main repository in June 2026 into a separately versioned one, whose first standalone release in November 2026 arrived with a long list of breaking changes. Instrument your model calls by all means — but pin the version, expect renames, and do not put those attribute names into a contract.
Three ways in, in order of preference
Native SDK instrumentation is the best telemetry you will ever get, because the application knows things no external observer can infer: which customer, which tenant, which business operation, which retry attempt. Reserve the effort for the services where that context changes the answer.
Auto-instrumentation gets you request-level traces and standard metrics with no code change, injected at startup. For the long tail of internal services that nobody is actively developing, this is the correct answer and the effort is close to zero.
eBPF zero-code instrumentation is how you cover what you cannot change: vendor appliances, third-party binaries, legacy workloads whose build pipeline no longer exists. Kernel-level agents observe syscalls and network flows and synthesise spans without touching the workload. The trade-off is fidelity — you get the shape of the request but not the business meaning — and a dependency on kernel versions that you should confirm against your actual fleet rather than assume.
In a brownfield enterprise the realistic split is roughly: SDK instrumentation for the twenty services that earn revenue, auto-instrumentation for the next two hundred, eBPF for everything else and for the network path between them. Nobody instruments a brownfield estate by hand, and any plan that assumes they will is a plan that stops after the pilot.
Section 05Layer 2 — Collection and the pipeline
The collector tier is the most under-appreciated component in the stack and the one that will save you the most money. It is also the only place where you can enforce a rule across every producer at once.
Run it in two tiers. A node-local agent on every host or as a DaemonSet, whose only job is to pick signals up cheaply and forward them. A gateway tier of a few horizontally scaled instances, where the expensive work happens: enrichment, redaction, sampling, aggregation, routing and fan-out. Keeping transformation out of the node agent is what stops your observability platform from becoming the largest consumer of CPU on your own cluster.
What the gateway tier should be doing for you
- Attribute enrichment. Stamp environment, region, estate, business unit, data classification and owning team onto every signal centrally. Do this once here and you never have to trust forty teams to do it consistently.
- Redaction. Strip or hash personal data, tokens and authorisation headers before anything is persisted. This is the control that makes the difference between a log store you can keep for a year and one your privacy officer will ask you to delete.
- Cardinality defence. Drop the labels that explode series counts — request IDs, session IDs, full URL paths with identifiers in them. One accidental high-cardinality label can multiply a metrics bill by an order of magnitude in a day.
- Tail-based sampling. Decide what to keep after you have seen the whole trace, so you retain every error and every slow request and discard the overwhelming majority of healthy ones.
- Fan-out. Send the same event stream to the operational store and to the security store, with different filters and different retention, from one configuration.
Choosing the agent
Three projects dominate, and they are designed around different centres of gravity. The OpenTelemetry Collector maximises native coverage of all signals in one vendor-neutral binary. Vector, written in Rust and maintained under the Mozilla Public Licence by Datadog’s open-source team, maximises transformation depth. Fluent Bit minimises footprint and is a graduated CNCF project under Apache 2.0.
Footprint is not a rounding error at scale, and there is published benchmark data rather than vendor assertion to reason from. A Kubernetes log-collector benchmark published by VictoriaMetrics in March 2026 measured maximum throughput and resource use across these agents:
| Agent | Max throughput | CPU at 10k logs/sec | Mean memory at 10k logs/sec | Design centre |
|---|---|---|---|---|
| Fluent Bit | 31,300 logs/sec | 0.260 | 78.10 MiB | Smallest footprint |
| Vector | 25,000 logs/sec | 0.412 | 153.50 MiB | Deepest transformation |
| OpenTelemetry Collector | 20,500 logs/sec | 0.491 | 106.83 MiB | Broadest native signal coverage |
Read those numbers carefully, because the obvious conclusion is the wrong one. At ten thousand logs per second the Collector used roughly 1.9 times the CPU of Fluent Bit and Vector about 1.6 times — but the Collector is doing a categorically different job. It is the only one of the three that carries metrics, logs and traces natively in a single OTLP pipeline, and that generality is precisely what you are paying for. Fluent Bit leads on throughput and CPU because it is built for one task and does it superbly.
So the practical answer is not to pick a winner. It is to put the cheap specialist where density is high and the general-purpose collector where the thinking happens:
A topology that holds up
- High pod-density nodes, edge sites, constrained hardware: Fluent Bit as the log shipper, forwarding to the gateway in OTLP.
- Everywhere else, node tier: OpenTelemetry Collector, or Grafana Alloy if you are already committed to that ecosystem.
- Gateway tier, always: OpenTelemetry Collector. One place where every policy is expressed and every destination is declared.
- Heavy log reshaping, multi-destination routing with complex logic: Vector as an aggregator beside the gateway, not instead of it.
Grafana Alloy deserves a specific note because it is frequently mischaracterised as a competing standard. It is not: Alloy is a distribution of the OpenTelemetry Collector with built-in Prometheus pipelines, an expression-based configuration syntax, clustering for automatic workload distribution, and a built-in UI for visualising and debugging pipelines. It carries metrics, logs, traces and profiles. If your team is already fluent in the Grafana ecosystem, Alloy is a reasonable default for the node tier and costs you nothing in portability, because what it speaks on the wire is still OTLP. Version 1.21 was current in November 2026.
Section 06Layer 3 — Storage: the two camps
Open-source observability has split into two architectural camps, and recognising which one you are in is more important than which project you pick inside it.
The assembled camp — Prometheus, Grafana, Loki, Tempo, Jaeger, with the OpenTelemetry Collector in front — holds that each signal has different access patterns and deserves a purpose-built store. The unified camp — SigNoz, OpenObserve and similar — holds that the three-pillars separation is architecturally wrong and that one columnar store should hold everything.
The 2026 default in the assembled camp is well established: the OpenTelemetry Collector for instrumentation, Prometheus for metrics, Loki for logs, Tempo for traces and Grafana for dashboards, with VictoriaMetrics or Mimir added when a single Prometheus server is no longer enough. A representative set of versions, as tested on Ubuntu 26.04 in November 2026, is Prometheus 3.16, Grafana 13.3, Loki 3.7, Tempo 3.1, Alloy 1.21 and Pyrra 0.10 for service-level objectives. Prometheus itself is metrics-only, which is worth stating plainly because a surprising number of “we have Prometheus” conversations turn out to mean “we have no logs and no traces”.
| Dimension | Assembled (Prometheus + Grafana + Loki + Tempo) | Unified columnar store |
|---|---|---|
| Storage model | A separate store per signal, generally on object storage | One columnar engine for logs, metrics and traces |
| Query languages | PromQL, LogQL, TraceQL — three to learn, each strong in its domain | Usually SQL plus a query builder, with PromQL compatibility in some products |
| Operational surface | Four or more components to run, upgrade and capacity-plan | One deployment, plus the columnar database underneath it |
| Reported effort | Third-party estimates for a self-hosted assembled stack put initial setup at two to four weeks and ongoing maintenance around 0.1–0.2 FTE at modest scale | Comparable third-party estimates put a unified platform at roughly 0.2–0.4 FTE — fewer moving parts, but you now operate a columnar database |
| Known sharp edge | Integration and correlation are your job; the components do not automatically agree on identity | Columnar merge pressure under continuous small-batch inserts can surface as “too many parts” errors; the surrounding community is smaller |
| Ecosystem depth | The largest dashboard, plugin and runbook ecosystem in the space | Narrower plugin and community-dashboard coverage |
| Portability risk | Dashboards and alert rules written in product-specific languages; mitigate by keeping them in Git | Fewer languages to migrate, but a single product owns the whole query surface |
Those effort and cost figures come from third-party comparisons rather than from controlled measurement in your environment, and they should be read as order-of-magnitude guidance, not as a budget. Take them as a statement about relative shape: assembled trades integration work for depth; unified trades depth for fewer things to operate.
My recommendation, and the condition attached to it
For an enterprise running all three estates, with an existing platform team and an existing Prometheus footprint, I recommend the assembled stack. Three reasons, in order of weight. The ecosystem is deeper, which matters more than any benchmark when it is 02:00 and you need a dashboard for a component you have never debugged. PromQL is the nearest thing the industry has to a portable metrics language, and the remote-write interface means the metrics store behind it is itself replaceable. And on-premises and air-gapped deployment paths are better trodden, which is decisive if sovereignty or regulatory constraints put part of your estate outside a public cloud.
For a team of ten with no platform engineer, I recommend the unified route without hesitation. Operating four distributed systems to observe a dozen services is a bad trade, and the single-binary route gets you a working platform in an afternoon.
The condition
Whichever camp you choose, do not run half of each. The most expensive observability estates I have reviewed were not the ones that picked the wrong stack — they were the ones that picked both, kept both, and ended up with two ingest bills, two retention policies, two sets of dashboards and an unanswerable question about which one is authoritative during an incident.
One more note on metrics storage, because it is where scale bites first. Prometheus is excellent and will take you further than most people expect, but a single server is a single server. When you outgrow it the two mainstream open-source answers are Mimir and VictoriaMetrics; both present Prometheus-compatible interfaces, and VictoriaMetrics has extended into logs as well, with VictoriaLogs reaching general availability in the first quarter of 2026. The point of choosing a Prometheus-compatible engine is that the migration is an operational task, not a re-instrumentation project.
Section 07Layer 4 — Query, dashboards and SLOs
Grafana is the default visualisation layer and the reason is breadth: it reads from almost everything, which means it survives changes underneath it. The Grafana ecosystem now spans visualisation, logs, traces, scalable metrics, the Alloy collector, load testing, frontend observability and continuous profiling — and the project’s own positioning calls Prometheus the de facto standard for metrics-based observability in cloud-native environments, which tells you something useful about how interchangeable the layer below is meant to be.
But the portability of your dashboards has almost nothing to do with the tool and everything to do with where they live.
Three rules that make visualisation portable
- Dashboards are code. They live in Git, are provisioned at deploy time, and are never edited in the UI as the system of record. A dashboard that exists only in a database is a dashboard you will lose, and an asset you cannot migrate, review or diff.
- Alert rules belong with the service, not with the dashboard. Define them in the repository of the service they describe, so they are reviewed by the people who own the code and deleted when the service is decommissioned.
- One dashboard per user question, not per data source. The failure mode of self-service dashboards is four hundred of them and no answer to “is the checkout working”. Curate a small set of golden-signal dashboards per service, generated from a template.
Service-level objectives are the cheapest maturity you can buy
The single highest-leverage addition to an observability platform is not a new signal; it is an error budget. An SLO converts “the dashboard is a bit red” into “we have spent 40 per cent of this month’s budget in six hours”, which is a statement a business can act on and an engineer can be paged for without ambiguity. In the open-source stack this is a generator that turns an objective definition into Prometheus recording and alerting rules — Pyrra is the common choice, and multi-window burn-rate alerting is the pattern you want rather than threshold alerts on raw error rates.
Two or three objectives per user-facing service is plenty. Availability and latency for the request path, and freshness or correctness for anything that processes data asynchronously. Resist the urge to define an objective for everything; an error budget nobody watches is just another metric.
Section 08Layer 5 — Correlation and the fourth signal
This is the layer that actually shortens outages, and it is almost entirely free. Correlation is not a product you buy; it is four keys you agree to use consistently.
Three mechanisms do the work. Resource attributes applied identically everywhere mean a pod is called the same thing in a metric, a log line and a detection alert. Exemplars attach a sample trace ID to a metric data point, which is what lets you click from a latency histogram straight to a slow request instead of guessing which one it was. Trace-ID propagation into logs is the single highest-return configuration change available to most teams and takes an afternoon per language runtime.
Profiles: the fourth signal, and where it actually stands
Continuous profiling answers the question the other three signals cannot: not which call was slow, but which lines of code consumed the time. It belongs in the architecture, and the open-source options are genuinely good — Pyroscope and Parca both do always-on profiling using eBPF across multiple language runtimes with no application changes, which is a remarkable capability to have for free. Parca’s 0.28.0 release in May 2026 added support for the OpenTelemetry eBPF profiler, which is the direction of travel.
Do not over-commit here
The OpenTelemetry profiling signal is in public alpha. The data model shipped in OTLP protocol version 1.10.0 and the eBPF profiler works on Linux, both at alpha status. The next milestone is beta, and no general-availability date has been committed. The rollout is also shaped differently from the earlier signals: profiles arrived as a whole-system agent first, with SDK APIs still ahead rather than behind. Deploy it, get value from it, and keep it out of any commitment that has a date attached.
There is a wider eBPF tool class worth knowing, because it covers ground that instrumentation cannot reach. Network flow visibility — every connection, request and DNS query between services, with no application changes — comes from Hubble, the observability layer of Cilium; Cilium 1.19 shipped in February 2026 as a ten-year anniversary release with more than 2,900 commits. For application-level telemetry without code changes there is Pixie, created at Pixie Labs and contributed to the CNCF by New Relic. And there are integrated eBPF platforms — Coroot being the most complete open-source example — that bundle metrics, logs, traces, profiles, service maps, SLOs and cost monitoring into one product.
My advice on this class is narrow and specific: use eBPF tooling to fill gaps, not to replace the seam. A kernel-level agent that gives you a service map in an hour is genuinely valuable, and it is also a second telemetry path with its own schema. Keep it feeding the same collector tier, or accept that you have reintroduced exactly the sprawl this architecture exists to remove.
Section 09Layer 6 — Security on the same pipeline
This is the half of the request that most observability articles skip, and it is where the architecture earns its keep. A security event and an operational event are usually the same event, read with different intent. A process spawning a shell inside a container is an operational curiosity and a security incident depending on who is looking. Collecting it twice, with two agents, under two budgets, is a choice — and a bad one.
The design principle is simple: one collection fleet, two destinations, different filters and different retention. The gateway tier forks a copy of security-relevant signals to the detection and SIEM path, where retention is longer, immutability matters and the query patterns are investigative rather than dashboard-driven.
Runtime detection at the kernel
Falco is the default here, and the case is straightforward. It originated at Sysdig in 2016, was donated to the CNCF in 2018 and graduated in February 2024 — the first runtime security project to do so. It is Apache 2.0 licensed, it monitors syscalls at the kernel level, and it enriches what it sees with container runtime and Kubernetes metadata so an alert says “this pod, this namespace, this image” rather than “this PID”. Published figures put its overhead in the region of 1–3 per cent CPU, and its rule ecosystem is the largest in the category.
The limitation to plan around is that Falco detects; it does not block in line. It raises alerts, and blocking is achieved through integrations rather than natively. If in-kernel enforcement is a requirement — actually stopping the process rather than telling you about it — the alternative is Tetragon, which uses Linux Security Module hooks for in-line enforcement and is maintained within the Cilium ecosystem at CNCF incubating level; version 1.7 was current as of October 2026. Many estates run Falco for breadth of detection and Tetragon where enforcement is mandated. That is a defensible pairing, not an indecision.
SIEM: the retained, searchable, investigative store
Two open-source routes, and the choice is genuinely about what kind of team you have.
Wazuh is the most complete option out of the box and the most widely deployed open-source SIEM and XDR platform. It began as a fork of OSSEC and now covers log analysis, intrusion detection, vulnerability detection, file integrity monitoring and compliance reporting, with endpoint agents, a server and a dashboard. It is free software with no gated feature tier, licensed under GPLv2 with Apache 2.0 components. Its scale and adoption are not close: the project repository carried 17,600 stars as of 9 November 2026. The trade-off is resource appetite — its indexer is itself built on OpenSearch and gets heavy at volume — and limited interface customisation.
OpenSearch with the Security Analytics plugin is the better foundation if you want to build rather than buy a shape. It is Apache 2.0 throughout, developed under the OpenSearch Software Foundation within the Linux Foundation, and the Security Analytics plugin ships with every distribution using prepackaged open-source Sigma rules as its detection content. Version 3.10.1 was released on 24 November 2026. Native Sigma support is the real argument: detection content that is portable between SIEMs is the security equivalent of the OTLP seam. The cost is wiring — no built-in endpoint agent, far fewer out-of-the-box detections, and a much smaller community around the plugin specifically, which carried 114 repository stars on the same November date.
These are not mutually exclusive
Because the Wazuh indexer is OpenSearch, running both is common rather than contradictory: Wazuh for endpoint collection and its rule library, Security Analytics for Sigma-driven detection engineering on top. If you already run OpenSearch for logs, that is the cheaper path to a SIEM you can actually staff.
| Tool | Job | What it gives you | Maturity & licence |
|---|---|---|---|
| Falco | Runtime threat detection | Kernel syscall monitoring with Kubernetes and container metadata; the largest rule ecosystem in the category; alerts rather than in-line blocking | CNCF graduated Feb 2024 · Apache 2.0 |
| Tetragon | Runtime detection and enforcement | In-kernel blocking via LSM hooks for estates where detection alone is insufficient; native to the Cilium ecosystem | CNCF incubating |
| Trivy | Scanning, everywhere | One binary covering image CVEs, filesystems, Kubernetes manifests, IaC, secrets and SBOM generation, with no separate database to run | Widely adopted · open source |
| Kyverno | Admission policy as code | Policies as Kubernetes custom resources — no new language — with validation, mutation and generation | CNCF graduated 16 Mar 2026 · Apache 2.0 |
| OPA / Gatekeeper | Complex policy | Rego gives expressive power beyond YAML policies, at the cost of a real learning curve, and reaches beyond Kubernetes | CNCF graduated |
| Kubescape | Posture and compliance | Scans manifests and live clusters against recognised control sets including CIS benchmarks and MITRE ATT&CK mappings | CNCF project |
| kube-bench | Benchmark auditing | Checks a cluster against the CIS Kubernetes Benchmark; the reference implementation for that specific job | Open source |
| Wazuh | SIEM and XDR | Agents, server, indexer and dashboard with thousands of rules, file integrity monitoring and compliance reporting out of the box | GPLv2 with Apache 2.0 parts |
| OpenSearch Security Analytics | Detection engineering | Prepackaged Sigma rules, correlation and alerting on an Apache 2.0 search backend you may already be running for logs | Apache 2.0 |
Why putting these on one pipeline simplifies security specifically
Four concrete gains, each of which is normally paid for with an expensive product.
- Detections inherit business context. Because the gateway already stamps owning team, environment and data classification onto every signal, a runtime alert arrives knowing whether it fired against a regulated production workload or a developer sandbox. That single attribute is the difference between a triaged queue and an ignored one.
- Investigation does not require a second toolchain. The analyst pivots from a detection to the traces and logs of the same pod in the same interface, using the same identifiers, because both paths were enriched identically.
- Agent footprint stops multiplying. Runtime detection needs a kernel-level sensor and that is irreducible. The log collection behind it is not; it is the fleet you already run.
- Evidence becomes a by-product. Control frameworks — ISO/IEC 27001, NIST SP 800-53, and in this region the National Cybersecurity Authority’s essential and cloud control sets — all require logging, monitoring and event management. None of them requires a particular vendor. A pipeline with declared retention, declared redaction and declared routing produces that evidence as output rather than as a quarterly scramble.
Section 10Layer 7 — Policy, posture and supply chain
Detection is the expensive way to find out about a misconfiguration. Admission control is the cheap way, and the open-source position here firmed up considerably in 2026.
Kyverno moved to CNCF graduated status on 16 March 2026, completing a path that began with sandbox acceptance in November 2020 and incubation in July 2022. For a platform team the significance is procedural rather than technical: graduation requires a third-party security audit, a security and compliance assessment and a governance review, which removes the last standing objection a security review tends to raise. Its practical appeal is that policies are plain Kubernetes custom resources, so there is no new language to teach, and it mutates and generates resources as well as validating them — which means it can fix a missing label rather than merely reject the deployment.
OPA with Gatekeeper remains the right answer when policy logic genuinely exceeds what YAML can express, or when the same engine must cover decisions outside Kubernetes. The honest trade is that Rego is a real learning curve, and a policy language nobody on the team can read is a policy language that gets bypassed.
A sequencing rule that saves a lot of pain
Run every new policy in audit mode first, publish the violation count to the same dashboards as everything else, and only switch to enforcement once that count has been driven to zero by the owning teams. Policies that go straight to enforcement break deployments, and a platform team that breaks deployments loses the mandate it needs for everything else in this article.
On the supply-chain side, Trivy has become the pragmatic default because it collapses what used to be four tools into one binary: container image vulnerability scanning, filesystem scanning, Kubernetes manifest and infrastructure-as-code checks, secret detection and SBOM generation, with no separate vulnerability database to operate. A minimum viable open-source container security posture is genuinely just two things — Trivy in the build pipeline and Falco in production — and teams that start there get further than teams that spend a quarter evaluating platforms.
The part that matters architecturally is where the findings go. Scanner output that lives inside the scanner is a report; scanner output pushed into the same metrics store as everything else becomes a trend, an SLO and a conversation about whether the number is going down. Export the counts, dashboard them next to availability, and give them an owner.
Section 11Layer 8 — The management plane
Everything up to here produces signals. This layer answers the questions that signals cannot: who owns this, what does it depend on, what is it allowed to do, and what does it cost. Without it you have a very good monitoring estate and still no platform, because every alert ends with a human deciding who to call.
The system of record is a service catalogue. Backstage is the common open-source choice — created at Spotify, donated to the CNCF in 2020, with a plugin ecosystem now exceeding 250 community plugins. It is explicitly not a replacement for your deployment tooling, your service mesh or your policy engine; it is the index that tells a human or a machine which of those things applies to a given service. Note that published descriptions of its CNCF maturity level disagree, so if that status is material to your governance process, confirm it against the CNCF project page rather than a secondary source.
What you get from having a catalogue is mechanical and worth spelling out:
| Record in the catalogue | What it generates downstream |
|---|---|
| Owning team and escalation path | Alert routing without a human router; incident channels created automatically; ownership that survives reorganisation |
| Service tier and criticality | SLO targets, retention class, backup policy and on-call expectation, all derived rather than negotiated per service |
| Dependencies | Blast-radius analysis during an incident; a real answer to “what else breaks if this goes down” |
| Data classification | Redaction rules in the collector, retention in the log store, residency constraints on placement — enforced, not documented |
| Cost centre | Spend allocated per team and per service, including the observability platform’s own cost |
| Repository and pipeline | Scan results, policy violations and deployment frequency attached to the service rather than floating in a tool |
Cost allocation deserves its own sentence because it is the discipline that keeps the platform funded. In Kubernetes estates OpenCost is the usual open-source route to allocating infrastructure spend down to namespace, workload and team. Point it at the same catalogue, publish the numbers to the same Grafana, and the conversation about observability cost becomes a conversation teams have about their own services rather than a central budget argument.
And do measure the platform’s own consumption. An observability stack that cannot tell you what it costs per team, per signal and per gigabyte has no standing to ask anybody else to economise.
Section 12The architecture across three estates
The point of the whole design is that the three estates differ in deployment topology and in nothing else. Same schema, same query languages, same dashboards, same detection rules. Here is what actually changes.
| Concern | Public cloud | Private cloud | On-premises / edge |
|---|---|---|---|
| Node collection | DaemonSet collector; lightweight shipper on dense nodes | DaemonSet collector; eBPF agents for workloads you cannot modify | Host agent or sidecar, plus syslog and SNMP receivers for network and appliance estate |
| Gateway placement | In-region, one tier per region to keep egress local | In the management cluster | On site where links are thin; queue and forward with disk buffering |
| Object storage | Native service | S3-compatible storage you operate | S3-compatible appliance or local volumes with a defined retention ceiling |
| What crosses the boundary | Aggregated metrics and sampled traces, always. Raw logs only where classification and residency rules allow — this is the decision that regulators actually ask about, so make it explicitly and write it down. | ||
| Air-gapped operation | Not applicable | Local store, periodic one-way export of aggregates | Fully local stack; mirror registries and rule bundles; expect to carry updates in |
| Must be identical | Resource attribute schema, metric names, log format, trace propagation headers, dashboard definitions, alert rules, detection rules, SLO definitions. If any of these diverge per estate, you have three platforms wearing one name. | ||
Two practical notes from doing this in regulated environments.
Decide the data-crossing question first, not last. Whether raw log content may leave a jurisdiction or a facility is a legal and contractual question with an architectural consequence: it determines whether your log store is central with regional ingest, or regional with central aggregates only. Teams that defer it build the central design, discover the constraint at the compliance review and rebuild. Ask the question in week one, get the answer in writing, and design to it.
Air-gapped sites are a first-class case, not an exception. If any part of the estate cannot reach the internet, then every component must be installable from a mirrored registry, every detection rule bundle must be versionable and carried in, and the dashboard set must be provisioned from files. The useful side effect is that an architecture which satisfies an air-gapped site is automatically reproducible everywhere else — which is why I treat the most constrained site as the reference implementation rather than the edge case.
Section 13The licensing map
Open source is not one licence, and in this particular space the spread is wider than in most. The components an architect reaches for first are distributed under at least four meaningfully different regimes, and one of the most popular families is copyleft in a way that matters if you intend to offer the platform as a service to anyone outside your own legal entity.
| Component | Licence | What to think about |
|---|---|---|
| Prometheus | Apache 2.0 | Permissive. No practical constraint on internal or commercial use. |
| OpenTelemetry Collector | Apache 2.0 | Permissive, and the component you most want to be unencumbered since it sits in every path. |
| Fluent Bit | Apache 2.0 | Permissive; a CNCF graduated project, which is relevant to procurement as well as to risk. |
| Grafana OSS, Loki, Tempo, Mimir | AGPLv3 | Strong copyleft with a network clause. Internal use is normally straightforward; offering a modified version as a service to third parties is where obligations attach. Get this in front of counsel early rather than late. |
| Vector | MPL-2.0 | File-level copyleft, weaker than AGPL. Note that it is maintained by a commercial vendor’s open-source team — which is not a problem, but is a governance fact worth recording. |
| Falco | Apache 2.0 | Permissive, CNCF graduated. The least contentious component in your security layer. |
| Kyverno | Apache 2.0 | Permissive, CNCF graduated as of March 2026. |
| Wazuh | GPLv2, with Apache 2.0 components | Copyleft. Relevant if you distribute a derivative; generally not an obstacle to self-hosted internal use. |
| OpenSearch and Security Analytics | Apache 2.0 | Permissive throughout, governed under a Linux Foundation entity — a meaningful governance property if single-vendor control is a concern in your organisation. |
| SigNoz | MIT core, with an enterprise directory under a separate commercial licence | The core is permissive; be deliberate about which features live in the enterprise directory, because that boundary can move between releases. |
| OpenObserve | AGPL, with a commercial tier | Same AGPL considerations as the Grafana family, plus a volume-based commercial boundary to read carefully. |
Two things this table is not
It is not legal advice — I am an architect, not a lawyer, and licence obligations turn on facts about your organisation that I do not have. And it is not durable: licences in this sector have changed before and will change again. Confirm the current terms in each project’s own repository at the time you commit, and have the list reviewed by whoever owns open-source compliance where you work.
Section 14What it costs, honestly
The reason to be careful here is that “open source” gets quoted as “free” in business cases and then the business case fails in year two, which poisons the well for the next person who proposes it. The licence cost is zero. The total cost is not.
Where the money actually goes
- People. This is the dominant line. Third-party estimates for a self-hosted assembled stack suggest two to four weeks for initial setup and in the region of 0.1–0.2 full-time equivalents of ongoing maintenance at modest scale, with comparable estimates putting a unified platform at roughly 0.2–0.4 FTE. Treat those as shape rather than budget — and note that neither figure includes the instrumentation effort inside application teams, which is usually larger than the platform effort.
- Storage and compute. Object storage is cheap; the query layer that reads it is not. Published comparisons put a self-hosted assembled stack around the high hundreds of dollars a month for a terabyte of log retention at a few-hundred-microservice scale, and lower at twenty to fifty nodes. Columnar stores compress harder — one vendor-adjacent comparison claims five to ten times more compact than the assembled log and trace stores for the same data, which is plausible but is exactly the kind of number you should reproduce on your own data before quoting it to anyone.
- Cardinality, which is the real driver. Most runaway bills are not retention decisions; they are a label. One high-cardinality dimension added without review multiplies series count, which multiplies memory, which multiplies cost, and it happens in a day. Your gateway tier is the control. Use it.
- The exit rehearsal. Budget a few days a year to point a non-production estate at an alternative backend and time it. This is the line item that converts portability from a claim into a measurement, and it is the cheapest insurance in the architecture.
Where the saving is real
Not primarily in licence avoidance, though that can be substantial. The durable saving is in three things: you stop paying twice for the same host because two tools both want an agent on it; you stop paying the migration tax, because changing a backend is a config change rather than a re-instrumentation programme; and you compress mean time to understand, which is the only component of outage cost that engineering can directly act on.
Open source moves cost from the licence line to the payroll line. That is a good trade when you have the people and a bad one when you do not — and it is an architect’s job to say which, out loud, before the project starts.
Section 15A 90-day sequence
Order matters more than speed. The sequence below front-loads the two layers that make everything else reversible, and deliberately leaves storage choice until there is real data to decide with.
| Window | Deliverable | Done means |
|---|---|---|
| Days 1–10 | Attribute schema and data-crossing decision | A written, reviewed convention for resource attributes, and a written answer on whether raw log content may leave each jurisdiction or facility. Nothing else is built until both exist. |
| Days 11–25 | Gateway tier in one estate | A collector gateway running with enrichment, redaction and cardinality rules in version control, receiving OTLP from one real workload. |
| Days 26–40 | Metrics and logs for one critical service | Golden-signal dashboards provisioned from Git, not hand-built. One service, done properly, beats forty done partially. |
| Days 41–55 | Traces, exemplars and trace IDs in logs | An engineer can click from a latency spike to a trace to the log lines of that exact request. Demonstrate it in a review; this is the moment the platform becomes credible internally. |
| Days 56–65 | Two SLOs with burn-rate alerting | Availability and latency objectives generating Prometheus rules, with multi-window burn-rate alerts replacing at least one threshold alert that used to page people needlessly. |
| Days 66–75 | Runtime detection and the security fork | Kernel-level detection on every node in one estate, forking to the SIEM path from the same gateway, with alerts carrying owning team and environment. |
| Days 76–85 | Policy in audit mode, scanning in the pipeline | Admission policies running in audit with violation counts on a dashboard; image and IaC scanning in CI with results exported as metrics. |
| Days 86–90 | Catalogue, cost allocation and the exit rehearsal | Services registered with owners and tiers; platform cost allocated per team; one non-production estate pointed at an alternative backend, with the elapsed time written down. |
Three things are deliberately absent from that plan. There is no tool evaluation phase, because the shortlist in this article is the evaluation and a further quarter of comparison will not improve it. There is no big-bang migration, because the old tools stay running until the new path has proven itself on something that matters. And there is no attempt to onboard every service, because the measure of success at day 90 is not coverage — it is that onboarding the next service takes an hour and no tickets.
Section 16Seven ways this goes wrong
- Buying the stack before agreeing the schema. If resource attributes are not standardised first, you will have a technically correct platform in which nothing joins to anything, and the retrofit is painful because it means touching every producer.
- Letting the node agent do the thinking. Heavy transformation on every node turns your observability platform into the largest workload on the cluster. Transformation belongs in the gateway, where it scales independently and can be changed in one place.
- Running both storage camps. Two ingest paths, two retention policies, two sets of dashboards, and an unresolvable argument during an incident about which store is authoritative.
- Dashboards as the system of record. If the only copy of a dashboard is in the database, you cannot review it, diff it, migrate it or restore it. Dashboards in Git, provisioned on deploy — and the UI used for exploration, not for authorship.
- Treating eBPF tooling as a replacement rather than a supplement. A kernel-level platform that gives you a service map in an hour is genuinely good and is also a second schema. If it does not feed the same seam, you have rebuilt the sprawl with newer logos.
- Enforcing policy on day one. Admission policies that go straight to enforcement break deployments, and a platform team that breaks deployments loses the political capital it needs for every other layer. Audit, publish, drive to zero, then enforce.
- Never rehearsing the exit. The whole architecture is justified by reversibility. If nobody has ever pointed an estate at a different backend and timed it, reversibility is a belief rather than a property, and beliefs do not survive contract renewal.
Section 17The architect’s scorecard
Twelve questions. Each one should have a specific answer with a name and a date attached, not a direction of travel.
- Is there one written attribute convention, and is it enforced centrally?Not “we agreed on names” — is enrichment applied in the gateway so that compliance does not depend on forty teams remembering?
- Can an engineer get from a metric to a trace to a log line in under a minute?Exemplars enabled, trace IDs in log output, in every language runtime you actually run.
- Is any proprietary SDK in the critical path of a service?If yes, name the service and the removal date. If the date does not exist, the dependency is permanent.
- Which storage camp are you in, and is anything still in the other one?A half-migrated estate costs more than either destination and answers fewer questions than both.
- Do dashboards and alert rules live in version control?Pick a dashboard at random and show me its commit history. That is the test.
- Has the raw-log data-crossing question been answered in writing?By whom, when, and for which jurisdictions and facilities. “We assume it is fine” is not an answer a regulator accepts.
- Does every node run kernel-level runtime detection?Every node, including the ones added last week by an autoscaler in an estate nobody mentions in reviews.
- Do security alerts arrive with owning team and environment attached?If an analyst has to look up who owns a pod, the enrichment is not doing its job.
- Are admission policies in audit or enforcement, and who moved them?A policy that has been in audit for a year is a dashboard, not a control.
- What is the platform’s own cost, per team and per gigabyte?If you cannot answer this, you have no standing to ask anyone else to reduce their telemetry.
- Which label is your biggest cardinality risk, and who reviews new labels?There is always one. Name it and name the reviewer.
- When was the exit last rehearsed, and how long did it take?A date and a duration. Everything else in this list is preparation for this question.
If ten of those have specific answers, you have a platform. If four do, you have a monitoring estate with ambitions, which is a perfectly normal place to start — and the scorecard tells you exactly which three things to do next.
Section 18Questions I get asked
Is one open-source stack genuinely enough for public cloud, private cloud and on-premises at once?
Yes, and that is the main argument of this article. What changes between estates is topology — where the gateway sits, what object storage it writes to, what crosses a boundary. What must not change is the schema, the query languages, the dashboards, the alert rules and the detection content. If those are identical, you have one platform in three places. If they diverge, you have three platforms sharing a name and a budget.
Should I assemble the stack or run a single unified platform?
If you have a platform team, an existing Prometheus footprint and an on-premises or air-gapped estate, assemble it: the ecosystem depth and the portability of PromQL are worth the integration work. If you are a small team without a dedicated platform engineer, take the unified route — operating four distributed systems to observe a dozen services is the wrong trade. The one thing I would not do is run both.
Do I need to replace my commercial observability platform to do this?
No, and attempting it as a rip-and-replace is how these programmes die. Standardise instrumentation on OpenTelemetry and put the collector gateway in place while your existing platform keeps running — the gateway can forward to it as one destination among several. Once telemetry is flowing through a seam you control, replacing the backend becomes a decision you can take on commercial terms at a time of your choosing. That optionality is the deliverable, whether or not you ever exercise it.
How much overhead does kernel-level security monitoring add?
Published figures for the mainstream open-source runtime detection agent put it in the region of 1–3 per cent CPU, which is normally acceptable. Measure it on your own workloads and on your own kernel versions before committing, because overhead varies with syscall volume and your busiest service is unlikely to resemble a benchmark.
Can I rely on OpenTelemetry profiling and generative-AI conventions yet?
Treat both as useful and unfinished. Profiling is in public alpha, with the data model shipped in OTLP protocol 1.10.0, an alpha eBPF profiler on Linux, beta as the next milestone and no committed general-availability date. The generative-AI conventions were all still at Development status in early December 2026, moved to a separate repository in June 2026, and their first standalone release in November 2026 carried breaking changes. Use both; pin versions; keep neither in a contract or an audit commitment.
What is the single highest-return change if I only do one thing?
Put trace IDs into your log lines and turn on exemplars. It takes an afternoon per language runtime, costs nothing, requires no new component, and it is the change that most reliably turns a forty-minute investigation into a four-minute one.
Which layer is your weakest?
If the attribute schema has never been written down, or the exit has never been timed, that is where to start — not with a tool evaluation.