Management of the Prometheus.
Version added: 0.3.0
- Management of the Prometheus.
- https://prometheus.io/docs/prometheus/latest/management_api/
The below requirements are needed on the host that executes this module.
- requests
- name: reload prometheus config
community.missing_collection.prometheus_info:
scheme: 'http'
host: 'localhost'
port: '9090'
command: 'reload'
- name: quit/shutdown prometheus
community.missing_collection.prometheus_info:
scheme: 'http'
host: 'localhost'
port: '9090'
command: 'quit'
- Davinder Pal (@116davinder) <dpsangwal@gmail.com>