Files
cozystack/packages/system/monitoring/tests
Yan Bondarenko 7bda2bdbc0 fix(monitoring): select the vmalert Service the operator creates
The VMServiceScrape selected app.kubernetes.io/instance=vmalert, while the
chart names the VMAlert vmalert-<first metricsStorages name> and the
operator puts that name into the instance label of its Service. The scrape
matched nothing, so the metrics of vmalert itself were never collected.

The instance stays in the selector so the scrape keeps pointing at the one
VMAlert this release renders.

Assisted-by: LLM
Signed-off-by: Yan Bondarenko <202671653+yankawai@users.noreply.github.com>
2026-10-25 16:30:14 +03:00
..