HTTP latency template
Fixes to switch template