Description
pagespeed_exporter is a Prometheus exporter for Google PageSpeed Online metrics. It queries the PageSpeed Insights API for the pages you choose and exposes the results as Prometheus metrics, so you can graph page speed over time and alert on it. It also reports Chrome User Experience Report (CrUX) metrics, which are real-user measurements from Chrome browsers. CrUX data is only available for URLs and origins with enough traffic. The CrUX metrics come in two prefixes: one for a specific page and one for the whole origin. For each Core Web Vital, the exporter gives the 75th percentile value, the share of users in the fast, average and slow categories, and Google's thresholds. The Core Web Vitals covered include Largest Contentful Paint, Interaction to Next Paint and Cumulative Layout Shift, along with First Contentful Paint. The README includes an example you can start with docker-compose. It runs Grafana with a PageSpeed dashboard that loads data after the first scrape, and it assumes you fetch all PageSpeed categories. Links to Lighthouse and PageSpeed documentation explain the metrics. The source is public on GitHub under the foomo organization. It suits teams that already run Prometheus and want to track site speed.…
Highlights
- Prometheus metrics from PageSpeed Insights
- Real-user CrUX metrics for Core Web Vitals
- Example Grafana dashboard with docker-compose
- Page and origin metric prefixes
Ratings & Reviews
No ratings yet
Be the first to rate Pagespeed Exporter.
People also visit

Sitespeed.io
sitespeed.io is an open-source tool for comprehensive web performance analysis
Request Metrics
The easy way to track your Core Web Vitals and boost website performance
TheFastestWeb
Submit your site and we'll track your speed score every day, for free

ruslanlap/pagespeed-insights-mcp
Google PageSpeed Insights, CrUX and Lighthouse analysis: page comparison
Pagespeed Exporter FAQ
What does the exporter do?
It fetches Google PageSpeed Online results for your URLs and exposes them as Prometheus metrics.
What are the CrUX metrics?
Real-user measurements from Chrome. They include the 75th percentile, category ratios and thresholds for Core Web Vitals, and only appear for URLs or origins with enough traffic.
Can I try it quickly?
Yes. The README shows how to start an example with docker-compose, which includes a Grafana dashboard at localhost:3000.
Where is the source?
The code is public on GitHub under the foomo organization.
What are the best Pagespeed Exporter alternatives?
Popular alternatives to Pagespeed Exporter include Sitespeed.io, SpeedVitals and Core Web Vitals History. See all Pagespeed Exporter alternatives



