[ANSIBLE] Setup Prometheus to select all ServiceMonitors 80/126980/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 11:28:53 +0000 (11:28 +0000)
commit310164350fdfbc768e20635eb48a2fc4e6c22cc7
tree421f4317ad91a47a9f2281471a9d8ee54e020d6f
parentf19eb37d62f0866481c99c861e378c0e519c941f
[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