A good website — you know it when you see it, right? You never notice any load times, it's available whenever you need it, and, of course, errors are nowhere to be found. But measuring your site's performance is tricky, and improving it is even trickier.
Once you instrument your site, you can get insights about your site performance over time.
Capture performance data about your site
Before you can improve your site's performance, you need data to make informed decisions about what your site needs. New Relic monitoring always starts with an integration, or a piece of code that collects data from a relevant technology and reports it to New Relic.
<head>, very similar to Google Analytics or other scripts.
There are two basic ways to install the agent:
Analyze site performance
Once you've instrumented your site, you can overview your site's performance with different types of data.
- Core web vitals. These are metrics that give you insight into your site user experience. Low scores often indicate a poor experience, which can deteriorate your relationship with your end users.
- High latency. This can frustrate your users and cause them to stop using your site altogether.
- Benchmarks. Site performance can dip below acceptable levels without necessarily causing major errors. You can create service-level benchmarks to help track your sites performance, and identify issues before they become problems.
Ready to work through the rest of the tutorial?