Skip to content

Ansible role for Pushgateway from Prometheus

License

Notifications You must be signed in to change notification settings

OSSHelp/ansible-pushgateway

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

pushgateway

Build Status

Role for pushgateway_exporer installation.

Usage (example)

    - role: pushgateway

Available parameters

Main

Param Default Description
pushgateway_exporter_setup full Setup mode. See OSSHelp KB article
pushgateway_params.listen_address 0.0.0.0:9091 Port to listen on.
pushgateway_params.log_level info Log level.
pushgateway_params.log_format logfmt Log format.

Persistence control

Param Default Description
pushgateway_persistence.enabled true Whether to enable saving metrics to file (to avoid loosing them on restarts).
pushgateway_persistence.interval 5m Interval of saving metrics to file.
pushgateway_persistence.dir /var/lib/pushgateway Directory, that will be created for metric files storage.
pushgateway_persistence.file persistent.metrics File name to dump metrics to.

FAQ

...

Useful links

TODO

...

License

GPL3

Author

OSSHelp Team, see https://oss.help