Google PageSpeed Insights for prometheus.io
Go to file
chris edc1a652c1 fix PAGESPEED_TEST_URI env parameter handling. 2016-08-02 15:17:20 +02:00
Dockerfile initial commit. 2016-07-30 14:23:02 +02:00
README.md initial commit. 2016-07-30 14:23:02 +02:00
pagespeed.conf initial commit. 2016-07-30 14:23:02 +02:00
pagespeed.py fix PAGESPEED_TEST_URI env parameter handling. 2016-08-02 15:17:20 +02:00

README.md

pagespeed_exporter for providing Google PageSpeed Insights as metrics

Requirements

Software:

* Python3
* APScheduler
* requests

Google PageSpeed API key. See here on how to get a server API key for googles platform.

Configuration

The exporter is currently able to check one URI, buffer the results and serve them as metrics.

Configuration is done via pagespeed.conf, see example file for documentation and defaults. All config values can be overriden with environment variables given the same names.

N.B.: Google caches it's results itself for 30 seconds, so a shorter fetch interval would be useless.