Vibhu Pandey 8a01312967
feat(alertmanager): simplify and test e2e alertmanager (#7217)
* refactor(alertmanager): complete e2e testing and simplify

* fix(alertmanager): fix typo

* fix(alertmanager): set to true for prometheus
2025-03-05 10:01:02 +05:30

17 lines
298 B
Go

package alertmanagerbatcher
type Config struct {
// Capacity is the maximum number of alerts that can be buffered in the batcher.
Capacity int
// Size is the number of alerts to send in each batch.
Size int
}
func NewConfig() Config {
return Config{
Capacity: 10000,
Size: 64,
}
}