|
|
@@ -47,6 +47,7 @@ func main() {
|
|
|
rate = flag.Int("rate", 10, "target alerts/sec")
|
|
|
mode = flag.String("mode", "normal", "profile: normal|burst")
|
|
|
dedupePct = flag.Int("dedupe-pct", 30, "percent sharing a dedupe_key (normal)")
|
|
|
+ dedupeKey = flag.String("dedupe-key", "", "force a specific dedupe_key on every alert (overrides --dedupe-pct; useful for M6 ×N smoke tests)")
|
|
|
metrics = flag.String("metrics", "", "Prometheus metrics listen addr (empty to disable)")
|
|
|
timeout = flag.Duration("duration", 30*time.Second, "max run time")
|
|
|
)
|