Mermin Agent Architecture
What are Flow Traces?
network packet → Mermin → flow span (network flow) → flow trace (network connection)High-Level Architecture
┌─────────────────────────────────────────────┐
│ Kubernetes Cluster │
│ │
│ ┌──────────────┐ ┌──────────────┐ │
│ │ Node 1 │ │ Node 2 │ │
│ │ │ │ │ │
│ │ ┌────────┐ │ │ ┌────────┐ │ │
│ │ │ Mermin │ │ │ │ Mermin │ │ │
│ │ │ Agent │ │ │ │ Agent │ │ │
│ │ └───┬────┘ │ │ └───┬────┘ │ │
│ │ │ eBPF │ │ │ eBPF │ │
│ │ ↓ │ │ ↓ │ │
│ │ [Network] │ │ [Network] │ │
│ │ [Packets] │ │ [Packets] │ │
│ └──────────────┘ └──────────────┘ │
│ │ │ │
│ └────────────┬───────────┘ │
│ │ OTLP │
└──────────────────────┼──────────────────────┘
↓
┌─────────────────┐
│ OpenTelemetry │
│ Collector │
└────────┬────────┘
│
┌──────────────┼──────────────┐
↓ ↓ ↓
┌────────┐ ┌─────────┐ ┌────────┐
│Elastic │ │ Grafana │ │ Jaeger │
│ Stack │ │ Tempo │ │ │
└────────┘ └─────────┘ └────────┘Components
eBPF Programs
Flow Span Generation Engine
State Persistence
Kubernetes Integration
Informers
Flow Attribution
OTLP Exporter
Performance Characteristics
Resource Usage
Tunability
Failure Modes and Resilience
Agent Failure
Backend Unavailability
Comparison with Alternatives
vs. eBPF Observability Tools (Cilium Hubble, Pixie)
vs. NetFlow/IPFIX Exporters
vs. Packet Capture Tools (tcpdump, Wireshark)
vs. Service Mesh (Istio, Linkerd)
Next Steps
Join the Community
Last updated