Logging
Edge outputs structured logs to stdout:Log Levels
Configure the log level in your config file or via environment variable:TERO_LOG_LEVEL:
Health Checks
Edge exposes a health endpoint for load balancer and orchestrator integration:200 OK when Edge is healthy and ready to process requests.
Kubernetes Probes
Probes can begin as soon as the process starts:Metrics
Edge serves its own operational metrics in Prometheus format:/metrics traffic Edge filters and forwards to your upstream.
Graceful Shutdown
Edge handles SIGINT and SIGTERM for graceful shutdown:- Stops accepting new connections
- Waits for in-flight requests to complete
- Exits cleanly
Kubernetes Termination
Edge exits as soon as in-flight requests drain. A short grace period is sufficient:Resource Requirements
Recommended minimums:Memory Scaling
Memory usage scales with:- Number of policies: Each policy consumes memory for its compiled matchers
- Regex complexity: Hyperscan databases for complex patterns
- Request body sizes: Buffered during processing
Kubernetes Resources
Next Steps
Configuration
Full configuration reference
Architecture
Understand Edge internals