The GitHub Actions job "CI" on 
rocketmq-dashboard.git/fix/alert-name-collision-prometheus-export-1404 has 
failed.
Run started by GitHub user lizhimins (triggered by lizhimins).

Head commit for run:
4a0e7c2b83aa00d434b69b04d3328c66df6af657 / Yxq <[email protected]>
[ISSUE #1404] Deduplicate alert names in Prometheus YAML export

The alertName() method strips non-alphanumeric characters from rule
names, causing collisions when two rules normalize to the same name
(e.g. 'Broker Down!' and 'Broker_Down' both become 'BrokerDown').
Prometheus rejects rule files with duplicate alert names.

This fix:
- Tracks used alert names per group during YAML export
- Appends _2, _3, etc. suffixes to resolve collisions
- Adds ensureUniqueAlertName() helper method

Fixes #1404

Report URL: 
https://github.com/apache/rocketmq-dashboard/actions/runs/31372869890

With regards,
GitHub Actions via GitBox

Reply via email to