[ANSIBLE] Setup Prometheus to select all ServiceMonitors 70/126970/2
authorBartek Grzybowski <b.grzybowski@partner.samsung.com>
Fri, 4 Feb 2022 12:00:01 +0000 (13:00 +0100)
committerBartek Grzybowski <b.grzybowski@partner.samsung.com>
Wed, 9 Feb 2022 10:53:48 +0000 (10:53 +0000)
commit116e2d088f3535658b2c819211ef5dfb32870ab8
treeec21c1cb1adc420647f5217f1f84412a0e1d50d3
parent36c3b94aaab54e61417f11d9ef7eecb9b68b532a
[ANSIBLE] Setup Prometheus to select all ServiceMonitors

By default Prometheus selects only ServiceMonitors with a "release" label
set to "kube-prometheus-stack" which prevents correct discovery of Onap
monitoring targets. With these settings any ServiceMonitor with any
arbitrary label will be selected.

Change-Id: Icbb099a86779bc4df6333e71258504e18f3d1d09
Issue-ID: OOM-2924
Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
ansible/roles/kube-prometheus-stack/defaults/main.yml