I could not make sense of this work without research. After three years at CERN, back in Bilbao I decided to work on my own and keep researching and learning. I believe entrepreneurship is the ultimate professional challenge — and, at the same time, an expression of creativity and a claim to freedom.
Zetesis comes from the Greek ζήτησις, inquiry: find the cause before proposing the solution.
Observability answers three different questions: is the system failing, why did it fail, and where did it spend time or money? A single CPU graph cannot answer all three.
This article separates metrics, logs, and traces before showing how they converge. The only local context you need is pizarro, the platform cluster in Rome where much of the homelab's telemetry is centralized.
Three signals and one external check
Each signal describes the system from a different angle:
Metrics are numerical time series: memory usage, latency, error count, or active BGP sessions.
Logs are events with context: a pod failed to connect to PostgreSQL, or a router rejected a packet.
Traces follow a request through several services and show how long each segment took.
External probes check what a visitor experiences: whether a domain responds, returns errors, or presents a valid certificate.
Prometheus stores metrics, Loki gathers logs, and Tempo keeps traces. Grafana provides one place to query and relate all three. Alertmanager turns selected conditions into notifications.
Telemetry converges in one place
Every cluster and host produces information, but each one does not need a complete observability stack. Local agents collect signals and forward them to the central service.
Loading diagram...
Prometheus collects data from nodes, pods, PostgreSQL, proxies, and routers. Kubernetes logs leave through each container's standard output, and an agent forwards them to Loki. Routers send syslog. Instrumented applications send traces through OpenTelemetry.
Centralization gives investigations one starting point. It also means the central system must be monitored: if it stops receiving data, the absence of telemetry needs to be visible.
Metrics reveal trends and symptoms
A metric is useful when it answers an operational question. CPU usage alone says little; sustained saturation combined with rising latency can explain a degradation.
Prometheus obtains values from exporters, components that translate service state into queryable metrics. VyOS routers expose information such as the state of their routing sessions. Kubernetes provides node, pod, and controller metrics. Applications add request rates, errors, and latency.
Blackbox probes observe from outside. They periodically request public domains and check the status code, duration, and certificate. This detects a failure in the complete path—DNS, von-braun, Tailscale, Traefik, and application—even when each component appears healthy on its own.
Logs explain individual events
Logs preserve detail that does not fit into a numerical series. They let you search for service errors during a time window or read what happened in a pod before it restarted.
Each process writes to standard output without needing to know about Loki. The collector adds labels such as cluster, namespace, application, and pod before forwarding the event.
A useful log identifies the operation and its context without exposing secrets. A message that only says “something failed” does not help; one that prints every environment variable creates a security problem.
Traces follow a complete request
A trace assigns an identifier to an operation and propagates it between services. Each segment creates a span with its duration and result. This can reveal that a slow request did not spend five seconds in the web process; it was waiting for a query or an external model.
OpenTelemetry provides the format and delivery components. Tempo stores general traces. For AI features, Langfuse adds domain-specific information: model, agent, tokens, cost, and stages such as document retrieval or response generation.
AI spending is treated as another operational signal. A dashboard shows cost by model and agent, latency, time to first token, and errors. An application can remain available while costing much more than expected.
An alert should request an action
Alertmanager centralizes notifications for unavailable domains, 5xx responses, expiring certificates, lost connectivity, and resource exhaustion. The hard part is not creating many rules; it is preventing noise from teaching people to ignore them.
Each alert should say which condition broke, which part of the system it affects, and where to start looking. If it requires no action and represents no real risk, it probably belongs on a dashboard instead.
Investigating without jumping at random
A practical incident sequence is:
Use the probe to confirm whether the problem also exists from outside.
Check metrics to locate when it began and which component changed.
Read logs for that time window.
Open a trace when the request crosses several services.
Verify that the signal returns to normal after the fix.
Observability does not prevent failure. It reduces the time spent guessing where the failure is. Recovering when it affects data also requires tested backups, which are the subject of the final article.