Varnish is a scalable web cache which improves site loading speed and content serving. New Relic’s monitoring tool enables real-time insights into cache performance, allowing users to maintain the value that Varnish promises.

What's included?

Varnish quickstart contains 1 dashboard. These interactive visualizations let you easily explore your data, understand context, and resolve problems faster.
Varnish observability quickstart contains 1 documentation reference. This is how you'll get your data into New Relic.
This quickstart doesn't include any alerts. Do you think it should?
You can edit this quickstart to add helpful components. View the repository and open a pull request.
View repo View repo

Varnish Cache and why should you monitor it?

Varnish is a web cache used for content delivery and website acceleration. Media delivery over the internet can often experience lags and slow downs related to heavy user traffic and high throughput volumes. Varnish helps to address these issues by offering CDNs, streaming servers, caches, and HTTP/API reverse proxies that speed up the user experience. Caches such as Varnish are sensitive to things like insertion hits and misses and backend interactions, so it’s important to monitor such metrics to ensure Varnish runs smoothly.

New Relic Varnish quickstart highlights

The New Relic Varnish quickstart provides a number of visual dashboards that display real-time insights into Varnish cache performance. These include:

  • Session connections and drops
  • Expired objects
  • Requests
  • Cache hits
  • Cache misses
  • Cache hits for misses and passes
  • Cache grace hits
  • And many more…

New Relic - The complete Varnish dashboard tool

New Relic enables cohesive Varnish monitoring. Varnish’s value is its ability to enhance the speed of backend requests and content serving; however, such value is negated by any performance issues that Varnish experiences. Having real-time insight into key Varnish metrics provided by New Relic is essential to keeping it running at peak capacity.

Dashboards, such as the ones on cache hits and misses, can help. Cache hits refer to successful requests to items in the Varnish cache. Conversely, cache misses are those requests which hit an empty cache and thus need to fetch data from the origin. Ideally, one should look to maximize cache hit rate, calculated as # of cache hits / total requests, and a hit rate of 95% or higher should be achievable. These two dashboards let you calculate this.

How to use this quickstart

  • Sign Up for a free New Relic account or Log In to your existing account.
  • Click the install button.
  • Install the quickstart to get started or improve how you monitor your environment. They're filled with pre-built resources like dashboards, instrumentation, and alerts.
New Relic
Jakub Kotkowiak
Need help? Visit our Support Center or check out our community forum, the Explorers Hub.