Skip to content

Nyoroon/pagespeed_exporter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

pagespeed_exporter

Google PageSpeed metrics exporter for Prometheus.

Usage

  1. Install dependencies: $ pip install -r requiremets.txt
  2. Run $ python -m pagespeed_exporter

Example prometheus config

  - job_name: pagespeed
    metrics_path: /scrape
    scrape_interval: 300s
    scrape_timeout: 150s
    static_configs:
      - targets:
          - https://www.google.com
          - https://www.ya.ru
    relabel_configs:
      - source_labels: [__address__]
        target_label: __param_target
      - source_labels: [__param_target]
        target_label: instance
      - target_label: __address__
        replacement: localhost:9271

About

Google PageSpeed metrics exporter for Prometheus

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages