Varnish Cache Monitoring

Real-Time
Varnish Analytics

Monitor your Varnish Cache performance. Track hit ratios, backend health, and optimize your HTTP accelerator with beautiful real-time dashboards.

Metrics That Matter

Track the performance indicators that directly impact your site speed and cache efficiency.

Cache Hit Ratio

Track the percentage of requests served from cache. The most important metric for cache performance.

varnish.cache.hit_ratio

Cache Misses

Monitor requests that bypass cache and hit your backend. Identify optimization opportunities.

varnish.cache.miss

Backend Health

Track backend connections and request success rates. Ensure your origin servers stay healthy.

varnish.backend.*

Thread Pool

Monitor worker thread counts and cached objects. Keep your Varnish running at peak efficiency.

varnish.threads

How Varnish Monitoring Works

Three simple steps to complete visibility into your cache layer.

1

Install Agent

Run one command. The agent auto-discovers running Varnish instances.

2

Grant Access

Add the agent user to the varnish group for shared memory access.

3

View Metrics

Cache metrics appear in your dashboard within 60 seconds.

Enable Varnish Monitoring
# Add agent user to varnish group
sudo usermod -aG varnish nginx

# Restart agent to apply
sudo systemctl restart amplify-agent

The varnish shared memory file is readable by the varnish group. This grants the agent permission to collect metrics.

Full Web Stack Monitoring

Not just Varnish. Monitor your entire stack.

GetPageSpeed Amplify monitors NGINX, Varnish, PHP-FPM, MySQL, and system metrics—all in one dashboard.

NGINX Varnish PHP-FPM MySQL System
Get Started with GitHub