]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
pybind/mgr/prometheus: add file_sd_config command
authorJan Fajerski <jfajerski@suse.com>
Mon, 12 Mar 2018 13:35:11 +0000 (14:35 +0100)
committerJan Fajerski <jfajerski@suse.com>
Wed, 25 Apr 2018 12:24:32 +0000 (14:24 +0200)
commit2eb0b41407b2e0bff175b0105e748115a0d74aa4
treee2ecd2750d3ebd388647226ae1f7c2176cf63441
parent27e91a99f59b055ba32fd240a7f9ea1c014991fc
pybind/mgr/prometheus: add file_sd_config command

This command returns a valid list of static targets pointing to the mgr
prometheus modules for a cluster. The output can be stored in a
file and the file be listed under the file_sd_config stanza in the
prometheus configuration.

Signed-off-by: Jan Fajerski <jfajerski@suse.com>
qa/tasks/mgr/test_prometheus.py
src/pybind/mgr/prometheus/module.py