jobscore.prometheus_pagespeed_exporter
Prometheus Pagespeed Exporter Role
This is an Ansible role for setting up the Prometheus Pagespeed Exporter on an Ubuntu server. It is based on the project found at jobscore/pagespeed_exporter.
Requirements
You will need a Pagespeed API key to use this role.
Role Variables
Here are the variables you can customize:
prometheus_pagespeed_port
: This is the port where the exporter will show metrics. The default is 9271.prometheus_pagespeed_version
: This is the version of the exporter. The default is 2.1.2.prometheus_pagespeed_api_key
: Your Pagespeed API key.prometheus_pagespeed_targets
: A list of targets (websites) to check, separated by commas. This is required.
Example Playbook
Here’s an example of how to use this role in a playbook:
- hosts: servers
roles:
- role: jobscore.prometheus_passenger_exporter
prometheus_pagespeed_api_key: <api_key>
prometheus_pagespeed_targets: https://google.com
License
This role is licensed under the MIT license.
Author Information
This role was created by GlauberrBatista while working at JobScore Inc.
Informazioni sul progetto
An Ansible role for installing Prometheus Pagespeed Exporter on a Ubuntu box
Installa
ansible-galaxy install jobscore.prometheus_pagespeed_exporter
Licenza
mit
Download
5.9k
Proprietario