Skip to content

Latest commit

 

History

History
43 lines (30 loc) · 1.3 KB

README.md

File metadata and controls

43 lines (30 loc) · 1.3 KB

Build Status

Prometheus Pagespeed Exporter role

An Ansible role for installing Prometheus Pagespeed Exporter on a Ubuntu box. This role is based on https://github.com/jobscore/pagespeed_exporter

Requirements

Pagespeed api key.

Role Variables

prometheus_pagespeed_port: The port in which the exporter will expose the metrics. Default to 9271
prometheus_pagespeed_version: Version of the exporter. Default to 2.1.2
prometheus_pagespeed_api_key: Pagespeed api key
prometheus_pagespeed_targets: Comma separated list of targets to inspect. Required

Example Playbook

Including an example of how to use your role (for instance, with variables passed in as parameters) is always nice for users too:

- hosts: servers
  roles:
    - role: jobscore.prometheus_passenger_exporter
      prometheus_pagespeed_api_key: <api_key>
      prometheus_pagespeed_targets: https://google.com

License

MIT

Author Information

This role was created by GlauberrBatista while working for JobScore Inc.